It's all about the box model ...

I had the same issue ... I was so used to IE, and their way of thinking 
(i do like it better), but that is not what the spec says ...

You can read about it here:
http://www.w3.org/TR/REC-CSS2/box.html

In short ... your #nav is 55px too wide ... because you have a width of 
775px and then right+left padding that = 55px ...  I would love to tell 
you that it will be a smooth journey, but it wasn't ... but keep at it 
...

_db
http://nuff-respec.com





On Dec 6, 2006, at 4:40 PM, Michael Netherton wrote:

> I'm an old school coder. I've been writing sites for more than ten 
> years and
> I'm trying to get my head around CSS. As an old dog and I'm trying to 
> learn
> some new tricks, but this is turning out to be incredibly frustrating. 
> I'm
> reading Dan's book, Bulletproof Web Design, and I'm trying to duplicate
> these examples so I may learn the ropes. However, I'm not having a 
> great
> deal of success.
>
> I just don't understand why this is not working. I would be incredibly
> grateful if anyone were to take a look and explain what the heck I'm 
> doing
> wrong. My first attempt at css is found here: http://www.mocap (dot)
> com/default2.asp  [sorry to post a url that has to be edited, but I 
> don't
> want the SE's to pick it up]
>
> I could have our new site up and done by now in tables, but I don't 
> want to
> bloat the code when it should be able to be done with CSS.
>
> Sincerely,
>
> Michael Netherton
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7 information -- http://css-discuss.incutio.com/?page=IE7
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to