Keith LaFrenier wrote:
> [...]

> I cleared both #maincontent and #sidebar containers with the #footer,
>  but  If I don't specifiy a height for the #sidebar then #maincontent
>  gets knocked out of the flow of the document.  I've tried using 
> %height and no height specified without any luck.

For vertical expansion only 'min-height' will work - 'height' doesn't
allow vertical expansion, and to only add 'min-height' isn't enough for
your original source-code and CSS.

> I'm using IE7 and Firefox 3 browsers for verification and both pages
>  were W3C validated.

Source-code validity doesn't look good...
<http://validator.w3.org/check?uri=http%3A%2F%2Fwww.pavetosuccess.org%2Fpave%2Ffaqs.html&charset=%28detect+automatically%29&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.591>
...and it contains a few critical errors with misplaced end-tags for
containers.

> Can anyone scan the code for any glaring errors and/or provide 
> suggestions for fixing?  I'm thinking the mock up design was sliced 
> incorrectly, but it's more likely that I'm a beginner.

> www.pavetosuccess.org/pave/faqs.html

We're normally placing most decorative "slices" as background-images so
we don't have to repeat them on every page, but apart from that you're
not too far off.
Better to adjust the area taken up by "slices" - or the containers that
hold them - than to adjust the regular content-containers positions though.

Based on a cleaned-up version of your source-code I've restyled it as an
"all float" layout - a more robust and flexible method, just to give you
a starting point...

HTML:
<http://www.gunlaug.no/tos/alien/kl/test_08_1001.html>

CSS:
<http://www.gunlaug.no/tos/alien/kl/test_08_1001_files/pave2000.css>

For more info on a few details used, see:
<http://www.gunlaug.no/tos/moa_16.html>

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/

Reply via email to