Subject: [css-d] Can't find source of block-level error

> http://blog.kim.thewei.com/
>
> I could use some help with this. I've managed to totally confuse
> myself. My sidebar won't snap into place to the right of my
> narrowcolumn, and my page won't validate. I can't figure out what's
> going on.
> Thanks  . . .
>                  Kimi Wei
>               201.475.1854
>           http://thewei.com

03/18/2008

Kim:

A couple of things. It appears that you have the nav sidebar nested within 
the .narrowcolumn. And you will also have to declare an explicit width on 
the .narrowcolumn, other wise it will expand and fill the entire width of 
#content, and not allow anything to float next to it. It has to be narrower 
than width of #content - .navigation.

You are not validating because you appear to be missing a closing </div> tag 
(or an extra one!).  Which may also be why the nav and .narrowcontent float 
isn't working!!! Try sticking a </div> tag either right before <div 
class="navigation"> OR one right before the closing </body> tag. Then 
revalidate. Your page may look wonky but it may get a green light by the 
validator.

IMO, you should add a comment right before the nav div so it is easier to 
find.

Best Regards,

Peter
www.fatpawdesign.com
works in IE8! 

______________________________________________________________________
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