Christopher R wrote:
> Hi does anyone know why I'm getting white spaces between sliced images ? I
> have a bunch of <img> tags within the <div> and I can't figure out why the
> images have spaces, and currently why half of the image slices look fine and
> the rest look like a jigsaw puzzle.
>
I'm guessing that you are seeing gaps underneath the images? If so, try
one of these:
img { vertical-align: bottom; }
- or -
img { display: block; }
Explanation: Images are inline elements, intended to display on the same
line as text. (Imagine PI symbols as images.) As such, they line up with
the baseline of text, with room underneath for "descenders" (the "hooks"
under p, q, etc.)
Cordially,
David
--
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/