Results 1 to 3 of 3

Thread: Frames Fixed Width Size -- Help

  1. #1
    Join Date
    Jul 2008
    Location
    USA
    Posts
    12
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question Frames Fixed Width Size -- Help

    Hello,

    I am working on a web site and it has 5 frames. I want to make the left and right frames to be a fixed width size. For example, the width is 125.

    But when I change the size of the IE window the left and right frames also change. So, Can someone tell me how chagen the FRAMESET elements?

    Here is the web site's URL: http://www.uswebcity.com/temp/frames/

    Here is the html code:
    <html>
    <head>
    <title>New Frames Website</title>
    </head>

    <frameset rows="60,*,30" border="0" frameborder="0">
    <frame name="top1" frameborder='0' framespacing='0' scrolling="no"
    noresize="noresize" target="contents" src="top.html">

    <frameset cols="125,710,125">
    <frame name="lc-window" frameborder='0' framespacing='0' scrolling="no" resize="no"
    target="main" src="left.html">

    <frameset rows="28,*">
    <frame name="l-window" frameborder='0' framespacing='0' scrolling="no" resize="no"
    noresize="noresize" target="main" src="menu.html">

    <frame name="r-window" frameborder='0' framespacing='0' src="main.html">

    </frameset>
    <frame name="right-contents" frameborder='0' framespacing='0' resize="no"
    scrolling="no" noresize="noresize" target="main" src="right.html">
    </frameset>

    <frame name="bottom" frameborder='0' framespacing='0' scrolling="no" noresize
    target="main" src="bottom.html">

    <noframes>
    <body>
    <p>This page uses frames, but your browser doesn't support them.</p>
    </body>
    </noframes>

    </frameset>
    </html>


    Thanks.

    www.USWebCity.com

  2. #2
    Join Date
    Jul 2006
    Posts
    497
    Thanks
    8
    Thanked 70 Times in 70 Posts

    Default

    Try this for the second FRAMESET opener:
    Code:
    <frameset cols="125,*,125">
    (I'm guessing that the window will try to keep the ratio between the columns when it's resized. The asterisk should make the window not care about the middle column's ratio.)

  3. The Following User Says Thank You to Jesdisciple For This Useful Post:

    andy8828 (07-18-2008)

  4. #3
    Join Date
    Jul 2008
    Location
    USA
    Posts
    12
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question

    Thank you. After the changing(<frameset cols="125,*,125">), it works fine now.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •