Tim Wolak wrote:
> <http://dev.howsmykiddriving.org>
> For some reason 5.5 throws everything to the left
IE 5.x doesn't support centering with auto margins.
Add...
body {text-align: center;}
#pagewrap {text-align: left;}
...and 5.5 will apply centering.
> and 6 throws my images in the right div all the way to the bottom...
>
> Can anyone tell me any as to why IE is doing this and what I can do
> to fix it?
Cause: float vs. regular 'hasLayout' bugs in IE - it simply can't make
the float rise past the content.
Solution: float some more, to avoid the bugs.
> Also how do I make my content area auto expand for the amount of
> content that is on each page?
Long answer: establish a new block formatting context...
<http://www.w3.org/TR/CSS21/visuren.html#block-formatting>
Short answer: float the relevant elements and do not declare height on them.
You can study the whole package here...
<http://www.gunlaug.no/tos/alien/tw/test_09_0208.html>
<http://www.gunlaug.no/tos/alien/tw/test_09_0208_files/style000.css>
regards
Georg
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/