PDA

View Full Version : Li problem



organ
04-07-2006, 05:35 AM
li {
list-style-type: none;
text-align: left;
vertical-align: baseline;
list-style-image: url(1.gif);
}
I want let the text left, how can i do?

r2d2
04-07-2006, 05:49 AM
You could try adding 'padding-left:0; margin-left:0;'.

organ
04-07-2006, 06:07 AM
You could try adding 'padding-left:0; margin-left:0;'.
Thanks r2d2, but without result.
look the example
http://www.e-loan-debt-consolidation.info/

Masetek
04-07-2006, 08:12 AM
<ul style="margin: 0; padding: 0;">

It needs to be in the ul tag :)

organ
04-07-2006, 08:26 AM
It's ok.
Thanks!

organ
04-07-2006, 08:32 AM
The text is ok but "1.gif" gone. :eek:

r2d2
04-07-2006, 08:50 AM
Try increasing the 0 a bit, e.g. <ul style="margin: 8px; padding: 0;">

You need to put 'px' after the value when its non-zero, so it knows what units to use. No need when using 0, since 0 is 0pixels whatever the unit.

organ
04-07-2006, 09:07 AM
Try increasing the 0 a bit, e.g. <ul style="margin: 8px; padding: 0;">

You need to put 'px' after the value when its non-zero, so it knows what units to use. No need when using 0, since 0 is 0pixels whatever the unit.
I see! Thank your guide.

James
04-07-2006, 09:15 AM
I doubt that has to do with your CSS; unless you've accidently changed the path to the image.