SuzyUK

msg:1188141 | 1:59 am on Jan 17, 2003 (gmt 0) |
Divs are not tables! (think foundations rather than houses) there is no need to think about them in the same vein..why would a "stack" of divs take longer to render than a table? The div in the middle will render then the one outside that will render then the one outside that will render then the one outside will render....etc have you anything on your page yet? a table is entirely different not one bit of that will render until the whole outer thing has been built! (never mind the nests! (or walls)) Suzy
|
pageoneresults

msg:1188142 | 3:15 am on Jan 17, 2003 (gmt 0) |
It's amazing what one can do with just one div and a plethora of css styling. I've been finding myself doing this more frequently where main content is concerned. Much cleaner code when working with <div>s and css. Alot easier to manage too! P.S. Instead of stacking <div>s, you organize them. ;)
|
Craig_F

msg:1188143 | 1:02 pm on Jan 17, 2003 (gmt 0) |
ok, so here's what I probably should have asked -- I'm using a good bit of CSS, but still have many stacked tables. Instead of setting the alignment to center within each table I was going to wrap all of them in one <div align="center">. Would that div wrap defeat the purpose of the stacked tables? I'm very interested to learn more on how to use <div>, but I'm concerned about browser compatibility. Anyone know what I need to worry about there?
|
SuzyUK

msg:1188144 | 1:11 pm on Jan 17, 2003 (gmt 0) |
Ahh...Craig_F..there are actually issues with using CSS to center tables This Link explains the solution [catcode.com] then you would still need to give each of you tables, within the stack, the centered class Note: what you describe will work in IE but not others so be sure and view the page link in another browser so you see the problem Suzy <added> forget to say wrapping all the tables in one div shouldn't cause any problems if they're all to be centered</added>
|
|