View Full Version : Frames in "center"?

12-15-2009, 06:35 PM

I'm trying to redesign a website, but I need some help.
We have to use frames for this, even though it might be a bit outdated.
The problem is that once I try to make a frame it will be to the very left or right at the screen.
I want to be able to center them, like in the image above:


The light gray part is supposed to be a background, and then the dark gray parts are the frames.
How can this be done?
The "main frame" needs to be able to update to some other site once someone clicks a link in the "menu frame".

12-15-2009, 08:54 PM
I don't know if this will work, but try in your frameset tag: <frameset style="text-align:center">

12-15-2009, 08:57 PM
Well, I'm not trying to align the text to center.

12-15-2009, 08:59 PM
Then, within each frame, set text-align:left. It will override it.

Pepe, the bull
12-16-2009, 12:28 AM
<frameset style="width:600px; margin:0 auto;" framespacing="20px" rows="80,*" cols="*" frameborder="no" border="0">

Set the side margins of the frameset to auto.