[thelist] whitespace below images

ted serbinski tss24 at cornell.edu
Wed Jul 9 01:58:00 CDT 2003


Hi all! Well I've got a little bit of a white space problem that I just
can't seem to get rid of. I'm trying to stick to 100% CSS but I can't find a
way to fix the problem. Essentially there is about a 6px or so amount of
white space below the images in HEADER, which I'm trying to get to align
flush with the IMAGE div below it (which also has a whitespace problem of
its own).

Relevant code:

	#image{
		border-top: 1px solid black;
		border-bottom: 1px solid black;
	}


	<div id="header">
		<img src="m3_flag.gif" />
		<span class="logo"><a href="#"><img src="logo.gif" /></a></span>
	</div>
	<div id="image">
		<img src="e36_track.jpg" />
	</div>


Any ideas? I've tried moving the code all on one line and this fixed the
IMAGE div, but didn't fix the 2 images above it.

Thanks,
ted




More information about the thelist mailing list