when i view an internal web page i have created in IE it doesnt do the same as it does in FireFox.

I have an iFrame that loads a page by default that page has the two div listed below called to centre the text both vertically and horizontially and it appears that firefox does that as there is a margin around the chart but IE does not instead everything is at the top

please help somebody

#processmapsx{
	text-align: center;
	position: absolute;
	top: 50%;
	left: 0px;
	width: 100%;
	height: 1px;
	overflow: visible;
	visibility: visible;
	display: block
	}

#processmapsy{
	background-color: transparent;
	margin-left: -491px;
	position: absolute;
	top: -245px;
	left: 50%;
	width: 982px;
	height: 490px;
	visibility: visible
	}

Recommended Answers

All 3 Replies

What version of IE are you using?

I would put in a dimension for the height attribute of the iframe tag.

Ex. height: 50%

I am using IE 7

And the iFrame has a height set to 490

It does have one set in #processmapsy but not #processmapsx, just a thought.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.