polenz
06-28-2012, 08:31 PM
Hello, I have a page that is not the way I expect it to in IE8.
I have 2 DIVs that I want to display side by side. The one on the left will contain a navigation tree and will expand or contract depending on the text size of the link.
The DIV on the right contains an iFrame. I want the iFrame to fill the entire remaining screen imediately to the right of the nav tree. If the browser window is too small then there should be scrollbars.
Currently the DIV on the right doesn't fill the remaining space (its only maybe 200px wide) and will wrap underneath the left DIV if I make the browser window smaller. It also lines up to the right-most edge of the browser screen. It should be up against the right edge of the navigation DIV.
Please advise..
Thanks
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD id=ctl00_Head1>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<LINK
rel=stylesheet type=text/css href="Help/StyleSheet.css" media=screen>
<META name=GENERATOR content="MSHTML 8.00.7601.17824"></HEAD>
<BODY>
<FORM>
<DIV id=divnavColumn class=navColumn>
Row 1<BR>
Row 2<BR>
</DIV>
<DIV id=contentColumn>
<IFRAME id=ContentIFrame height="100%" src="Help/test.htm" frameBorder=0 width="100%"></IFRAME>
</DIV>
</FORM>
</BODY>
</HTML>
html
{
height:100%;
}
body
{
margin:0;
padding:0;
height:100%;
}
#divnavColumn
{
height: 100%;
margin: 0 px;
}
.navColumn
{
BACKGROUND-COLOR: #27A8EA;
PADDING-RIGHT: 8px;
FLOAT: left;
height: 100%;
margin: 0 px;
}
#contentColumn
{
WIDTH: auto;
FLOAT: right;
height: 100%;
margin: 0 px;
}
This is how I need it to look:
4509
This is how it currently looks:
4510
Thanks
I have 2 DIVs that I want to display side by side. The one on the left will contain a navigation tree and will expand or contract depending on the text size of the link.
The DIV on the right contains an iFrame. I want the iFrame to fill the entire remaining screen imediately to the right of the nav tree. If the browser window is too small then there should be scrollbars.
Currently the DIV on the right doesn't fill the remaining space (its only maybe 200px wide) and will wrap underneath the left DIV if I make the browser window smaller. It also lines up to the right-most edge of the browser screen. It should be up against the right edge of the navigation DIV.
Please advise..
Thanks
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD id=ctl00_Head1>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<LINK
rel=stylesheet type=text/css href="Help/StyleSheet.css" media=screen>
<META name=GENERATOR content="MSHTML 8.00.7601.17824"></HEAD>
<BODY>
<FORM>
<DIV id=divnavColumn class=navColumn>
Row 1<BR>
Row 2<BR>
</DIV>
<DIV id=contentColumn>
<IFRAME id=ContentIFrame height="100%" src="Help/test.htm" frameBorder=0 width="100%"></IFRAME>
</DIV>
</FORM>
</BODY>
</HTML>
html
{
height:100%;
}
body
{
margin:0;
padding:0;
height:100%;
}
#divnavColumn
{
height: 100%;
margin: 0 px;
}
.navColumn
{
BACKGROUND-COLOR: #27A8EA;
PADDING-RIGHT: 8px;
FLOAT: left;
height: 100%;
margin: 0 px;
}
#contentColumn
{
WIDTH: auto;
FLOAT: right;
height: 100%;
margin: 0 px;
}
This is how I need it to look:
4509
This is how it currently looks:
4510
Thanks