Previous Message
Next Message

Mac IE and adjacent floats not working

Sent by Ethan Marcotte on 29 October 2004 16:04


Odd.  Well, try putting #subhead and #bodybox in a container div 
(#content in the examples below), and float that instead:

CSS:
div#content {
	float: left;
	width: 400px;
}

div#subhead {
	padding: 0 0 0 10px;
	margin: 20px 0 0 20px;
	background-color: #FC3;
}

div#bodybox {
	padding: 0 0 0 10px;
	margin: 20px 0 0 20px;
	background-color: #069;
}

HTML:
<div id="content">
	<div id="subhead">
		<h4>This is the subhead content</h4>
	</div>

	<div id="bodybox">
		<p>And this is where all the body content would go.</p>
	</div>
</div>

- Ethan
-- 

On Oct 29, 2004, at 10:17 AM, Brad Cathey wrote:

> I've checked all the "bugs" and can't find anything on this. Ideas?

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: