PDA

View Full Version : FF and lists



brndn
December 7th, 2006, 06:29 PM
Hi I have set a graphic as the li image.
It works fine in IE but for sum reason the graphic disapears in FF.

It is a gif if that makes any difference.

heres the code.


ul{margin-top: 0px;}
li{list-style-image:url(../images/mini_button.gif);
list-style-position:outside; display: block; vertical-align:text-top; padding-top: 8px;}

MTsoul
December 7th, 2006, 07:57 PM
Don't use list-style-image. Each browser has a different interpretation for position. Use background-image instead.

brndn
December 7th, 2006, 08:48 PM
thanks mpty