sunnah — 2010-02-14T06:58:16-05:00 — #1
How do I get rid of this? I am looking for a cross borwser solution which does no make my unordered list items separated.
raffles — 2010-02-14T07:42:50-05:00 — #2
I don't see the problem, the board looks OK to me and there is no space between the list items.
The major problem I can see is the white space that appears when the images are hovered over.
You need to preload the images with the red circle. Either that, or simply overlay the red circle over the writing, that way you only need 4 images instead of 6 and the CSS is simpler.
dark_tranquility — 2010-02-14T08:01:52-05:00 — #3
Same here I don't see the problem!! (Google chrome / FF).
Yes I prefer the second option
paulob — 2010-02-14T08:21:40-05:00 — #4
To clear the whitespace in list items which I can see in ie6 and ie7 you need to float the list items as it is the only sure way to combat this.
In the IE conditional add this:
sunnah — 2010-02-14T09:40:54-05:00 — #5
Thanks Paul and the rest. I took your suggestion and floated the list item. I do not understand how that accomplished "preloading" or getting rid of the whitespace on hover. Each circle is a different size to give a bit of uniqueness to the hover. I understand if Iused the same image as a PNG I will lessen the images.
BTW: Does display: none; hide from screen readers too therefore it is better to push the text out of the screen?
sunnah — 2010-02-14T10:34:45-05:00 — #6
Okay this would make you all happy. One single image, fast loading, no whitespace, cross browser, clean xhtml, strict validation !
ryanreese — 2010-02-14T12:48:54-05:00 — #7
It got rid of the whitespace because IE sometimes creates whitespace and floating kills the whitespace :).