Geoff Hague napisał(a):[color=blue]
> (posted to both alt.html and c.i.w.a.s. as I'm not sure what, exactly, is at
> fault here)
>
> I'm doing a site re-design:[/color]
[...][color=blue]
> My question involves the little star-rating graphics in the Movie Reviews
> box on the right-hand side. You'll notice that the presence of these images
> add a pixel or two of extra spacing to the bottom of each line that they're
> on (notice how all other listings in the right-hand boxes, without the
> star-rating images, do not have this extra height).
>
> Any ideas how I can fix that? I'm certain it's not got anything to do with
> the height of the images themselves, and I've also been unable to fix is by
> zero-ing the padding or magins of the images.[/color]
I've got an idea, it's not just how to fix the extra space, but I think you may
like it.
http://www.csslayouts.net/pcwww/star_rating.html
the difference is:
- only one single star image
- background-image instead of <img src...
- alternate text for css-disabled browsers
I think it could be done better (semantically) but it is an idea to play with,
not ready-made solution ;)
tested in FireFox, Opera, Konqueror
[color=blue]
> Thanks!
> ~Geoff[/color]
--
pawel[kropka]knapik[at]gmail[kropka]com