volitics Posted April 17, 2007 Share Posted April 17, 2007 The frameset below goes all the way across the page. I want to limit the width to a specified pixel size (about 760 pixels) and center the frameset on the page leaving whitespace on both the left and right sides of the page.Can anybody tell me is there any way that I can get this frameset to be 760px wide and center itself on the page?<html><head><title>Frame Document</title></head>/* This frameset stretches all the way across the page. */<frameset cols="100,660"> <frame name="leftFrame" src="Navigate.html"> <frame name="mainFrame" src="Front.html"></frameset><noframes><body></body></noframes></html> Link to comment Share on other sites More sharing options...
justsomeguy Posted April 17, 2007 Share Posted April 17, 2007 I don't know if you can style a framset, but try this:<frameset cols="100,660" style="margin: 0 auto; width: 760px;"> Link to comment Share on other sites More sharing options...
volitics Posted April 18, 2007 Author Share Posted April 18, 2007 justsomeguy;Thanks for responding to my post.I'm beginning to think that you're right. I can't find anywhere on the w3schools web site where it tells how to manipulate frames.Thanks again. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now