Reply to Re: Design Comments and positioning problems

Your name:

Reply:


Posted by Marc on 09/25/05 23:57

Toby Inkster wrote:
> You set
>
> #menu UL {
> margin-left: 55px;
> }
>
> but you forgot the NUMBER ONE rule when playing with margins or paddings
> for lists.
>
> The number one rule is: always EXPLICITLY set:
>
> * margin-left for UL (or OL)
> * padding-left for UL (or OL)
> * margin-left for LI
> * padding-left for LI
>
> Don't rely on the browser defaults for any of these values, as different
> browsers have wildly different defaults for each of them.

Meaning I need to set the margin-left the same for '#menu li'? Will
that not mean in IE and FF there'll be a margin of 110px?

Marc

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация