Topic: list-style woes in IE |
|
---|---|
Author | Thread |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 01-31-2006 17:35
hello, i use |
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 01-31-2006 17:41
so... you have played with the margin and padding? That'd be my first try. |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 01-31-2006 17:56
no. |
Paranoid (IV) Mad Scientist From: EN27 |
posted 01-31-2006 19:30
Failing that, you could make your gif slightly wider (with a transparent edge), and that would work as well. |
Paranoid (IV) Inmate From: Florida |
posted 01-31-2006 19:50
list-style-image is notoriously crap across different browsers at present - use a background image |
Lunatic (VI) Inmate From: under the bed |
posted 01-31-2006 20:13
^ agreed. quote:
|
Maniac (V) Inmate From: raht cheah |
posted 01-31-2006 22:44 |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 02-01-2006 13:00
thanks guys, but whatever solution i use, the offset is still something different in IE than in FF or OP. code: li.bullet { list-style-type:none; background-image:url(.....gif); background-repeat:no-repeat; background-position: 0px 4px; padding-left:5px; margin-left:0px; } |
Paranoid (IV) Mad Librarian From: Glieberlermany |
posted 02-01-2006 15:40
I'd start with ul, li { margin: 0; padding: 0; } and go from there. Should be gettable pretty close to identical that way |
Lunatic (VI) Inmate From: under the bed |
posted 02-01-2006 16:08 |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 02-01-2006 17:23
thanks again guys! code: ul { padding:0; } ul li { padding:0; margin:0; } li.x { list-style-type:none; background-image:url(punkt_6.gif); background-repeat:no-repeat; background-position: 0px 8px; padding-left:8px; }
|
Paranoid (IV) Inmate From: Florida |
posted 02-01-2006 19:16
defaults are okay, as long as you know how each browser does it |