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; }

Cheers,

Jesse Skinner
http://www.thefutureoftheweb.com/


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
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:

Possibly related: