Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-16 18:19:08

wspence
Member
Registered: 2006-09-03
Posts: 84

Need a solution for this IE Margin bug

here’s the code

#bgsidebar{

padding:2px;

width: 250px;

margin:5px 325px 0 auto;

background: #e8e8e8;

float: right;

text-align: left;

}

and this is what I’m seeing…

in ie

vs firefox

Last edited by wspence (2007-12-16 18:39:22)

Offline

#2 2007-12-16 18:33:00

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Need a solution for this IE Margin bug

Well, that code looks good, so it’s bad to say anything with out seeing rest of the page’s code.

#bgsidebar{
	padding: 2px;
	width: 250px;
	margin: 5px 130px 0 0;
	background: #e8e8e8;
	float: right;
	text-align: left;
}

Just I can say: try removing auto-value from margin, it sometimes causes bugs in IE. In another hand, floating element can’t have auto-value as margin.

Cheers!

Last edited by Gocom (2007-12-16 18:34:07)

Offline

#3 2007-12-16 18:43:39

wspence
Member
Registered: 2006-09-03
Posts: 84

Re: Need a solution for this IE Margin bug

well i would post all of it, but that would be a little much :) thanks and I will try to get it figured out…anyone else got anything?

Offline

Board footer

Powered by FluxBB