[thelist] Positioning graphics with CSS

ben morrison morrison.ben at gmail.com
Thu Mar 2 10:22:23 CST 2006


On 3/2/06, jblanchard at pocket.com <jblanchard at pocket.com> wrote:

> I am trying to position 2 graphics side by side with each other and
> having problems getting the gap between them to close. Here is the CSS
>
snipped
>
> The image on the left is 270 px wide. The image on the right needs to
> butt up against it. Can someone see the error of my ways and point it
> out to me? There appears to be about a 5px gap between the images.

I'm not sure why it does that. You could add float:left to div.right,
but it will need a width or some content.

ben.



More information about the thelist mailing list