PDA

View Full Version : Page Layout


MattG1225
01-30-2003, 10:49 PM
I build a webpage within a table. I have the center portion of the page for the content area. I would like to have that area seperate from the rest of the page, and have the user be able to scroll down to read the content section only. The top, bottom and left portion of the page should remain in tact. Can I create a frame for this section and plop it in the middle of the page? Or is there another method? I've attached a screenshot...

Matt
IE 6/Win 98

screenshot.gif

brothercake
01-30-2003, 11:15 PM
You could have a scrollable div, although this would only work in modern browsers:

<div style="width:600px;height:400px;overflow:scroll"> ... </div>

cg9com
01-30-2003, 11:29 PM
or an <iframe>, again only in modern browsers

Cybertooth Tiger
01-31-2003, 12:44 AM
Not exactly what you want, but close...

<html>

<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">

</head>

<frameset rows="80,*">
<frame src="top stuff.html" name="top banner" noresize>
<frameset cols="80,*">
<frame src="left of main.html" name="left" noresize>
<frame src="main scroll.html" name="main" noresize>
</frameset>
</frameset>
<noframes>

<body bgcolor="#ffffff">
<p></p>
</body>

</noframes>

</html>

Tonz