On 5/08/2009, at 9:02 AM, Brian M. Curran wrote:

> Hi,
> I can't get a space between my nav bar and my header text. I  
> followed the book "Bullet Proof Web Design" to create the nav bar,  
> and got the header to sit below the nav bar only by adding the  
> clear: right; rule to the header text, as the book recommended.  
> Without this rule they were one on top of the other. Yes, the header  
> is now below the nav bar, but I'm trying to get a space in between  
> them.

#nav {
        float: none;
        overflow: auto;
        margin-bottom: 10px;
}

You don't need to float the nav, just contain the float inside it with  
overflow: auto (or any other float clearing method). As I've said  
before you don't need so many floats or clears in this design.
______________________________________________________________________
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