Previous Message
Next Message

Including List Bullets Inside Links

Sent by Jesse Skinner on 20 March 2006 17:05

> I can do this and include the image bullet in my CSS:
> <a href="1xox.htm"><li>Link Text 1 Here</li</a>
> <a href="2xox.htm"><li>Link Text 2 Here</li</a>
> ...which I'm 100% sure *ain't* legal, but does work.
> Other suggestions?

Try something like this (adjusting to fit the width of the bullet image):

li a { position: relative; left: -20px; padding-left: 20px; }


Jesse Skinner

css-discuss [EMAIL-REMOVED]]
IE7b2 testing hub --
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread:

Possibly related: