View Full Version : Frame width

10-21-2006, 11:42 PM
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 >



10-22-2006, 04: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"
<html xmlns="http://www.w3.org/1999/xhtml">
<meta name="generator" content="BBEdit 8.5" />
<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 >



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum