|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Unable to vertically align a custom bullet
I have a custome bullet for an LI...my issue is...when this displays, the bullet displays at the top of the line height. Is there a way to adjust this so that the bullet appears in center of the line height?
|
|
#2
|
|||
|
|||
|
use vertical-align
Code:
.img {
vertical-align: middle;
}
|
|
#3
|
||||
|
||||
|
I dont think that will work. You can try adding 10px of transparent space to the bullet images themselves. IE6 doesn't even support custom bullet images so instead of that try doing this:
Code:
ul li {
list-style: none; /* Dropping the list style */
background: url(the/image.jpg) no-repeat center left; /* Adding the bullet as a background instead */
}
Not tested.
__________________
"Quality of responses may vary. I reserve the right to change my mind for any reason what-so-ever without admitting I was wrong. I'd prefer to change your mind however, it's easier on my ego". - jwdonahue |
|
#4
|
|||
|
|||
|
Quote:
Thanks!...I did just that....with a few tweaks. Works perfectly!...in all the browsers....with is SWEEEEEEEEEEEEET! Thanks! |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Unable to vertically align a custom bullet |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|