You are here: Re: css with <ul> « HTML « IT news, forums, messages
Re: css with <ul>

Posted by Els on 01/30/06 18:30

Bruno wrote:

>> The bullets are probably to the left of the list, outside your view.
>> Try li{list-style:inside;}
>
> Great! it works!

Please show your gratitude by replying below the message parts you are
replying to ;-)

> But another effect occured: now all list items, even sub - list Items begin
> at the same vertical line. What I am really looking for is the following:

That's because you said ul{margin-left:0;}.

> normally, the list starts some milimeters to the right of the left edge. I
> want it to start just at the left edge (of a cell). Sub list items should be
> inserted a little bit to the right. How can I do this?

What you want is for instance:
ul{margin-left:0;}
ul ul{margin-left:10px;}

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Jethro Tull - Baker St. Muse

 

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

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