[thelist] Positioning graphics with CSS

jblanchard at pocket.com jblanchard at pocket.com
Thu Mar 2 11:12:16 CST 2006


[snip]
><div id="header">
>         <div class="left"></div>
>         <div class="right"></div>
></div><!-- /header -->
>
>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.

Shot in the dark.

Have you tried removing whitespace in the html?
<div id="header">
<div class="left"></div><div class="right"></div>
</div><!-- /header -->
[/snip]

That was one of the first things I did out of habit back when tables
used to provide problems like this with whitespace.



More information about the thelist mailing list