1
Alright, I am reading up on
's and 's, and am wondering what the best approach would be to accomplish this goal:
In the past, I have relied on tables to organize my pages, but after reading up on DIV's, and my already overriding preference to use CSS, I have decided to make the switch. Instead of converting (which I am leary of), I want to start fresh on a new theme.
Here is what I want to start with.
For my theme, I have a main table (which will now be a div, no problem there) and inside of it I usually have multiple tables.
My confusion lays around arraying objects in a horizontal line. Now, I understand that DIV's are block elements, whereas SPAN's sit inline. Keeping this in mind, this is what I would do with tables for my top piece:
I would have a table, with let's say 3 data cells (columns). The 1st and 3rd (or left and right) will be fixed width of let's say 200 pixels, and the middle is set to 100% to accomodate users with larger resolutions.
Now, with DIV's, what would be the best way to accomplish this? With 3 DIV's that are absolutely positioned beside each other, or with SPAN's, or some other way?
Which ever way is best, if you could post example code, I would appreciate it!
Thanks!