![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I have an ul with a custom bullet symbol, like that: ul { list-style-image:url(foo.png); } Does anyone know a way to define the vertical alignment of the image? I tried line-height, padding and margin but the results aren't very good. |
#3
| |||
| |||
|
|
Hello, I have an ul with a custom bullet symbol, like that: ul { list-style-image:url(foo.png); } Does anyone know a way to define the vertical alignment of the image? I tried line-height, padding and margin but the results aren't very good. I already googled a lot but it seems there's no answer :-( Any idea is appreciated! Chris PS: Sorry, I have no example online. |
#4
| |||
| |||
|
|
I have an ul with a custom bullet symbol, like that: ul { list-style-image:url(foo.png); } Does anyone know a way to define the vertical alignment of the image? There are no style rules to control this. I feared so :-( |
|
Including some transparent padding in the image itself might be your best shot at 'controlling' this. That's the way I did it now. But the problem is that IE positions the |
|
Are you using this for list items that usually take no more than a single line? Yes, why do you ask? |
#5
| |||
| |||
|
|
I have an ul with a custom bullet symbol, like that: ul { list-style-image:url(foo.png); } Does anyone know a way to define the vertical alignment of the image? I tried line-height, padding and margin but the results aren't very good. |
![]() |
| Thread Tools | |
| Display Modes | |
| |