You are here: Re: Margins, background problem... « HTML « IT news, forums, messages
Re: Margins, background problem...

Posted by dorayme on 03/06/06 08:38

In article <dugirr$q4v$1@phys-news4.kolumbus.fi>,
"Wrm" <nomailstodragon@north.invalid> wrote:

> "dorayme" <doraymeRidThis@optusnet.com.au> kirjoitti
> viestiss:doraymeRidThis-59DE0E.16464706032006@news-vip.optusnet.com.au...
> <snip>
> >white space below and above the inline list
>
> I suggest you should use FireFox and it's DOM Inspector when you are
> searching reasons for weird spaces etc.
>
> try
>
> ul
> {
> margin: 0;
> padding: 0;
> }
>
> to get rid of space below and above that inline list.
>
> <snip>

Yes, this certainly works as a solution. ie. instead of my

#navStrip ul {
....
margin-left: 0;
padding-left: 0;
....

}

better is

#navStrip ul {
....
margin: 0;
padding: 0;
....

}

It is more elegant than either of my solutions, well done, Wrm.

There is a learning curve prob about DOM! I am still puzzled as
to what exactly in terms of elements, background and stuff, this
setting of margin and padding addresses. What was the margin of
what by default before? I WANT to peer into the WHOLE TRUTH with
clarity.

--
dorayme

 

Navigation:

[Reply to this 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

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