Previous Message
Next Message

Opera Float Problems

Sent by Terry Melanson on 27 February 2004 00:12


Hi,

I'm making a css template for a client and have it displaying fine for 
ie5.5, ie6, moz 1.6 and firefox on windows. The only browser that's 
giving me problems is Opera 7.23. It doesn't seem to like the clearing 
div at the end of my left floated dl's. I kept the css in the head so 
you can look at the styles in the context of the page with ease.  I can 
fix the problem by getting rid of the clearing div but only at the 
expense of display problems in moz.

The relevant css code that's giving me problems is this part:

Code:

/* Front Page Directory styles ________ */
	.row {
		width: 98%;
		margin: 10px auto;
		border-top: 1px solid #DEDEE0;
		border-bottom: 1px solid #DEDEE0;
	}
	.dir {
	    background: #fff;
	    margin: 10px 8px;
		float: left;
		width: 260px;
	}
	.dir dt { 
		font-weight: bold;
	}
	
	.dir dd
	{
	    font-size: .85em;
	    margin: 0px;
	    padding: 0px;
	}
	
	.clear {
  		clear: both;
  		height: 0;
	}

/* // End Front Page Directory styles _ */

*Link To Page*: http://www.xdevdesign.com/clients/Tokyo/
Any help would be appreciated. Thanks.

-Terry

-- 
xDev Design Interactive
http://www.xdevdesign.com/


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

Possibly related: