jinju
08-04-2006, 05:44 AM
Hi everyone. I just started designing webpages and i came across lissa's site. eventually i found the css layouts. now i also read that frames were problematic so i decided to use css instead. but i also wanted to make use of the ability to link into frames externally. so i decided to incorporate an Iframe into the center column of the "Three Column CSS Layout with Header" layout. It did work, but every time i resize the page, due to the fluidity (is that even a word :confusion ........whatever:) ) of the layout the rigth column is overlaping the center one. I did a basic version of my site to demonstrate:
<html>
<head>
<title>Three Column CSS Layout with Header</title>
<style type="text/css">
body
{ margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
padding-left: 0;
padding-right: 0;
}
#header {
margin: 20px;
padding: 10px;
height: 100px;
}
#left {
position: absolute;
left: 15px;
top: 160px;
width: 200px;
}
#center {
top: 0;
margin-left: 230px;
margin-right: 230px;
}
#right {
position: absolute;
right: 15px;
top: 160px;
width: 200px;
}
</style>
</head>
<body>
<div id="header">
Your header will go here. You can place images, text links, etc. in this
div. To change the properties of this div you can change the #header
selector in the style sheet that is located on this page between the head
tags.
</div>
<div id="left">
Your left menu will go here. You can place images, text links, etc. in
this div. To change the properties of this div you can change the #left
selector in the style sheet that is located on this page between the head
tags.
</div>
<div id="center">
<div style="position: margin-left: 230px;
margin-right: 230px">
<IFRAME src="testing.htm" name="frame" width="800" height="600"
frameborder="0"></IFRAME></div>
</div>
<div id="right">
Your right menu will go here. You can place images, text links, etc. in
this div. To change the properties of this div you can change the #right
selector in the style sheet that is located on this page between the head
tags.
</div>
</body>
</html>
Sad to say my level of expertise in these thing is only that of basic html knowledge. so i am hoping that someone on the forum can help me.
Thanks in advance for the help and i'm keeping my fingers crossed.
<html>
<head>
<title>Three Column CSS Layout with Header</title>
<style type="text/css">
body
{ margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
padding-left: 0;
padding-right: 0;
}
#header {
margin: 20px;
padding: 10px;
height: 100px;
}
#left {
position: absolute;
left: 15px;
top: 160px;
width: 200px;
}
#center {
top: 0;
margin-left: 230px;
margin-right: 230px;
}
#right {
position: absolute;
right: 15px;
top: 160px;
width: 200px;
}
</style>
</head>
<body>
<div id="header">
Your header will go here. You can place images, text links, etc. in this
div. To change the properties of this div you can change the #header
selector in the style sheet that is located on this page between the head
tags.
</div>
<div id="left">
Your left menu will go here. You can place images, text links, etc. in
this div. To change the properties of this div you can change the #left
selector in the style sheet that is located on this page between the head
tags.
</div>
<div id="center">
<div style="position: margin-left: 230px;
margin-right: 230px">
<IFRAME src="testing.htm" name="frame" width="800" height="600"
frameborder="0"></IFRAME></div>
</div>
<div id="right">
Your right menu will go here. You can place images, text links, etc. in
this div. To change the properties of this div you can change the #right
selector in the style sheet that is located on this page between the head
tags.
</div>
</body>
</html>
Sad to say my level of expertise in these thing is only that of basic html knowledge. so i am hoping that someone on the forum can help me.
Thanks in advance for the help and i'm keeping my fingers crossed.