[thelist] CSS Question

jay.blanchard at thermon.com jay.blanchard at thermon.com
Thu Jan 24 13:40:00 CST 2002


I have the following CSS

div.left {
	float: left;
	width: 145px;
	font-size: 11px;
	padding-left: 5px;
	padding-top:20px;
}
div.right {
	margin-left: 170px;
	margin-right: 75px;
	padding-left: 25px;
	font-size: 11px;
	text-align: justify;
	border-left: thin solid #CCCCCC;
}

and the following HTML

<div class="left">
some stuff
some more stuff
</div>

<div class="right">
lots of stuff here
</div>

which kind of displays like this;

more stuff			 the stuff that is lots of stuff
some more stuff		 appears to line up just fine, save for the fact
				that this line is not "pushed over" by the stuff
				appearing in the left div

Have I done something incorrectly or overlooked something?

Thanks!

Jay




More information about the thelist mailing list