Previous Message
Next Message

horizontal LI with graphical bullets - where I find solution?

Sent by Zoe M. Gillenwater on 22 November 2004 13:01


Krzysztof Kudłacik wrote:

>Please - give me any URL to solution how to construct horisontal list with
>graphic bullets instead default?
>I've   found   descriptions  concerning  vertical,  standard  lists  with
>grqaphical  bullets,  but  I  can't  find  similiar  solition with inline,
>horisontal list ... :-I
>  
>

When you make something display: inline, it can no longer be display: 
list-item, so your bullets disappear. However, since you want graphical 
bullets, you can still simulate them using a background image that you 
place on the li. Then just pad the li on the left so the text doesn't 
overlap the background image bullet.

Alternately, you can float your list items instead of changing them to 
inline to make your list horizontal, and then you don't have the bullet 
disappearing problem to begin with.

Zoe

-- 
Zoe M. Gillenwater
Design Specialist
Highway Safety Research Center
http://www.hsrc.unc.edu

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread: