R
rynato
While fine-tuning a site, I discovered that a list-style-image was
positioning itself in the vertical middle of the list.
The CSS is rather complex, so I'm going to refrain from posting it
here (though I will if requested).
I've gone through all the styles related (or which seem to be related)
to the list-style-image; nothing at all seems to affect this middle
positioning. This does not happen in Safari 3 nor FF3; only in IE7 (I
have not yet checked other flavors of IE). All other browsers position
the list-style-image at the top of the list.
For what it's worth, there are nested <ul> inside each <li> though I
don't see how that should affect the behavior.
Just wondering if anyone has run into this and might have a solution?
I have googled quite a bit and it seems that there is no way to change
the vertical positioning of a list-style-image.
Because of the nature of how this is used, fixing the position of this
list-style-image with margin, padding, etc will not work. Each <ul> is
of different heights and it would be a nightmare to set the position
of the list-style-image for each <ul>.
For now, I have used a CSS hack to just turn off the list-style-image
for all IE browsers.
Thanks in advance if any of you have useful solutions or hints!!!
positioning itself in the vertical middle of the list.
The CSS is rather complex, so I'm going to refrain from posting it
here (though I will if requested).
I've gone through all the styles related (or which seem to be related)
to the list-style-image; nothing at all seems to affect this middle
positioning. This does not happen in Safari 3 nor FF3; only in IE7 (I
have not yet checked other flavors of IE). All other browsers position
the list-style-image at the top of the list.
For what it's worth, there are nested <ul> inside each <li> though I
don't see how that should affect the behavior.
Just wondering if anyone has run into this and might have a solution?
I have googled quite a bit and it seems that there is no way to change
the vertical positioning of a list-style-image.
Because of the nature of how this is used, fixing the position of this
list-style-image with margin, padding, etc will not work. Each <ul> is
of different heights and it would be a nightmare to set the position
of the list-style-image for each <ul>.
For now, I have used a CSS hack to just turn off the list-style-image
for all IE browsers.
Thanks in advance if any of you have useful solutions or hints!!!