Forum Moderators: mack

Message Too Old, No Replies

Newbie question

How do you set page width?

         

FaeTora

4:43 pm on Jul 5, 2004 (gmt 0)

10+ Year Member



My girlie and I have created a website and I keep getting the width scroll bar. We are using frames but no matter what I seem to do, it still has the width scroll bar. I just want to get rid of that for it won't cut off anything and would look nicer. I still want the height one for it is needed.

Thank in advance,

Jesse

D_Blackwell

12:52 am on Jul 6, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Can you post just the relevant code that will recreate the problem? If you are using columns, perhaps the borders/margins are adding too much width to the page.? This shouldn't be too hard too track down.

vkaryl

1:09 am on Jul 6, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You may need to set "scrolling" in your frameset selectors to "no", or "auto" if you're sure the width won't compromise that selector. See following example....

<frameset rows="135,*">
<frame name="header" src="header.html" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" noresize>
<frameset cols="20%,*">
<frame name="left" src="left.php" frameborder="0" marginheight="0" scrolling="auto" noresize>
<frame name="main" src="main.php" frameborder="0" marginwidth="0" marginheight="0" scrolling="auto" noresize>
</frameset>
</frameset>

FaeTora

3:23 pm on Jul 11, 2004 (gmt 0)

10+ Year Member



i already had it that way and there is still a width bar... i need to set the page size... how do i do that?

Jesse

FaeTora

3:27 pm on Jul 11, 2004 (gmt 0)

10+ Year Member



<frameset rows="*" cols="*,148" framespacing="0" frameborder="NO" border="0">
<frame src="first3.html" name="hb_main" frameborder="yes" pagewidth="82%" marginwidth="5" scrolling="auto" bordercolor="#CCCCCC" id="hb_main" title="mainFrame">
<frame src="first2.html" name="hb_navigation" frameborder="yes" noresize marginwidth="5" bordercolor="#CCCCCC" id="hb_navigation" title="rightFrame">
</frameset>
<noframes><body>
</body></noframes>
</html>