Forum Moderators: not2easy

Message Too Old, No Replies

Creating 2 columns with CSS

So whats the added incentive over a table?

         

korkus2000

4:39 pm on Oct 31, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am starting a new design that I want to use CSS for layout, but concious of all ways to get the design done. I am currently working on making a small 2 column piece of a page and it seems that the CSS is a lot more than just a simple table would be.

I just want to have text to the left and text to the right in a small area of the page. So I could position divs and go through all the crossbrowser problems, but why not just use a small table? If I snuck it in nobody would really notice. I just don't see a bandwidth trade off.

Am I making it more complicated than it needs to be? Is it my table addiction?

Nick_W

4:44 pm on Oct 31, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member




<div id="left">
<div id="right">
blah blah
</div>
blah blah
</div>

Float the #right - right.

Unless I misread you?

Nick

korkus2000

4:47 pm on Oct 31, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ok so it is my addiction. Trying to make it too complicated.

Thanks Nick!

Nick_W

4:48 pm on Oct 31, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Don't forget to give that right column a width or it wont look right ;)

Nick

stuntdubl

5:26 pm on Oct 31, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It is hard to ween yourself from tables at first when you know how easy it is to use them.

My name is Todd, and I have been off tables for about four months now;)

It took me a while to comprehend how CSS-P works, but once you do there are extra added benefits like positioning your content to be higher in your code;)

Stick with it. If you need some tutorials on the subject feel free to sticky me.

If I snuck it in nobody would really notice.

Tables are just gateway code...next thing you know you'll be using <font> tags;)

Nick_W

5:28 pm on Oct 31, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Post them here TOdd. No web dev firms of course but we did have a recent charter tweak regarding linking ;)

Nick

Craig_F

6:16 pm on Oct 31, 2003 (gmt 0)

10+ Year Member



I've been thinking of switching myself, but what about compatiblity? I haven't been following...what are the biggest worries when going tableless?