> ul#NoBullet
> li#TickGreenSmall
> 3px left no-repeat;
>         }
>
> The webpage is a long one with several different styles of lists.
> So now, instead of defining a list with just the one ID= in the
> UL, I also have to define every line.
>
> Is there a more efficient way to combine [UL ID="NoBullet"] and
> [LI ID="SomeListStyleHere"]

How about

li{ ... overall settings  ...}

ul#greentick li{
  ... special settings...
}

That way you only apply the image to every LI inside the UL with the
ID greentick, and you can re-use all the settings of the others. The
only thing that probably changes is the padding on the left and the
background image.

Also, greentick is a bad choice for an ID. An ID should describe what
the element represents, not how it looks. Something like "benefits"
might be better.

--
Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to