You are here: Re: Lists with multiple styles « HTML « IT news, forums, messages
Re: Lists with multiple styles

Posted by Bubu on 11/21/06 17:02

> Yes? Your problem with that is exactly what? Apart from the issue of
> inventing better class names, maybe.
>
> You can even do things without class attributes for <li> elements if
> you are willing to accept the situation that old browsers like IE 6
> won't apply all of your styles. You can say, for example,
> .ulclass li:first-child+ li + li { font-weight: bold; }
> to make the third item in the list bolded.
>

My problem is in the third li, in other words my class use a background
image (for ul and for li)
For the third li I need to use a different background image, but when I
apply the class to the third li and open in firefox, I see the third
element with my third class surrounded by the ul class.

Bubu

 

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

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