#1 rule if you want CSS to work properly - USE A PROPER DOCTYPE - you have NONE on your pages.
#2 rule - if you float an element (except images), you MUST define a WIDTH, something you have not done.
It's not 'working' for you because you haven't mastered it yet.
Best not to put your navigation in divs.. use an unordered list instead, that is, after all, what the nav is - a list.
Your #wrapper is not 'containing' anything because you have not CLEARED your floats. You can add overflow: auto to #wrapper to clear the floats. I would also recommend setting #wrapper to position: relative.
You might also want to read thru this: www.cssslicingguide.com
Your method or creating the boxes with the glow is overly complicated too. Create a vertically narrow repeating background that is the width of your box, including the glow, and then put the rounded top and bottom on as part of the header and footer - much simpler and it WILL stretch vertically.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
Last edited by LadynRed; 12-18-2008 at 11:06 AM..
|