colwidth problem

Discussion in 'HTML' started by wj, Oct 26, 2004.

  1. wj

    wj Guest

    Hi all,

    In a form I use the following code:

    -----
    <body>
    <table border="1" cellpadding="0" cellspacing="0" width="100%">
    <tr height="15">
    <td><img src="transparent.gif" height="2" width="10"></td>
    <td><img src="transparent.gif" height="2" width="10"></td>
    <td width="180"><img src="transparent.gif" height="2"
    width="180"> </td>
    <td width="20"><img src="transparent.gif" height="2" width="20">
    </td>
    <td width="125"><img src="transparent.gif" height="2" width="125">
    </td>
    <td width="20"><img src="transparent.gif" height="2" width="20">
    </td>
    <td width="125"><img src="transparent.gif" height="2" width="125">
    </td>
    <td width="20"><img src="transparent.gif" height="2" width="20">
    </td>
    <td width="100%"></td><td width="2"><img src="transparent.gif"
    height="2" width="2"></td>
    <td width="10"><img src="transparent.gif" height="2" width="10"></td>
    </tr>
    <tr>
    <td></td>
    <td></td><td valign="top"><u>Text</u>:</td>
    <td colspan="7"><textarea name="text_gen" cols="50"
    rows="8"></textarea></td>
    <td>
    </tr>
    </table>
    </body>
    ----

    In Internet Explorer, the page doesn't fit in the browser at a
    resolution of 800 times 600. Can anyone tell how to prevent the
    scrollbar appearing when resizing the browser window to a smaller
    width?? If the 100% column would become smaller it wou;dn't be a problem
    to fit the page in a browser window....

    Thanx!

    WJ
     
    wj, Oct 26, 2004
    #1
    1. Advertising

  2. wj

    Mark Parnell Guest

    On Tue, 26 Oct 2004 00:04:51 GMT, wj <> declared in
    alt.html:

    > Hi all,


    G'day.

    > In a form I use the following code:


    <snip>

    AAARGH! My eyes!
    http://www.allmyfaqs.com/faq.pl?Tableless_layouts

    > In Internet Explorer, the page doesn't fit in the browser at a
    > resolution of 800 times 600.


    That's because you've got one <td> set to be 100% of the page width. The
    other <td>s total 520px, making your table 520px wider than the
    viewport.

    http://www.allmyfaqs.com/faq.pl?AnySizeDesign

    --
    Mark Parnell
    http://www.clarkecomputers.com.au
    "Never drink rum&coke whilst reading usenet" - rf 2004
     
    Mark Parnell, Oct 26, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andreas Suurkuusk
    Replies:
    0
    Views:
    3,996
    Andreas Suurkuusk
    Jul 27, 2003
  2. Ted Miller
    Replies:
    0
    Views:
    5,178
    Ted Miller
    Sep 13, 2003
  3. Merek
    Replies:
    0
    Views:
    1,978
    Merek
    Dec 3, 2003
  4. Scott Meddows
    Replies:
    1
    Views:
    404
    John Saunders
    Jun 8, 2004
  5. Mike

    Problem problem problem :( Need Help

    Mike, May 7, 2004, in forum: ASP General
    Replies:
    2
    Views:
    558
    Bullschmidt
    May 11, 2004
Loading...

Share This Page