Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- Warning: Deprecated HTML Tags and Attributes


mivox - 12:30 am on Apr 9, 2002 (gmt 0)


CSS allows you to set bgcolor and background images for divs...

I'm finding that most of what you'd normally use tables for can be accomplished with divs, the upper-leftmost of them being absolutely positioned, and the others in the "table area" being relatively positioned to that one. (Just redesigned my essay/blog/rant site with divs & CSS instead of <table>s and <font>s... It seems to function well in NN, IE and Opera, but it DOES use align="center" in some of the div tags...)

Relative positioning among divs seems to default to whatever div comes immediately previous in the actual page code, which leaves a lot of interesting room to experiment with page content optimization positioning vs. page content visual positioning. (could easily cause a WHOPPER of a headache if you tried to get too tricky)

<added>(I'm now getting a vague idea about replacing "center" with 100% width divs that have varying amounts of margin or padding... Like instead of an 80% width centered div, could you have a 100% width div with 10% margins?)</added>


Thread source:: http://www.webmasterworld.com/html/1979.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com