...

View Full Version : Frame width



cooly291
10-22-2006, 12:42 AM
a firend of mine asked me to make some changes to her layout, she is using frames *groan*

Anyway, she wants to give a set width to each frame and then center it in the middle of the page (like a table-based layout)... is this possible with frames?

I have set the second frameset (which contains the "body" and the "navibar") to cols="570,180", but instead of doing that, it sets the "body" part and streches the "navibar" part.

This is the page, from what I have:



<frameset rows="225,*" border=0 frameborder=0 framespacing=0 >

<frame src="top.html" NAME="top" scrolling=no noresize >

<frameset cols="570,180" border=0 frameborder=0 framespacing=0 >

<frame src="mainhome.html" NAME="left" border=0>

<frame src="right.html" NAME="right" scrolling=no noresize >

</frameset>

</frameset>

cyber11
10-22-2006, 05:38 PM
Try the following. If thats not wht you want, I would suggest using a table with Iframes.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled</title>
<meta name="generator" content="BBEdit 8.5" />
</head>
<frameset rows="225,*" border=1 frameborder=0 framespacing=0 >

<frame src="http://www.msn.com" NAME="top" scrolling=no noresize >

<frameset cols="150,150" border=0 frameborder=0 framespacing=0 >

<frame src="http://www.cnn.com" NAME="left" border=0>

<frame src="http://www.google.com" NAME="right" scrolling=no noresize >

</frameset>

</frameset>
</html>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum