SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2003
    Location
    rotterdam
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    unwanted scrollbar

    I have made the following table with dreamweaver.
    I can't get rid of the scrollbar.

    Can somebody help me?


    <body topmargin="0" scrolling="no">

    <table width="971" border="0" cellpadding="0" cellspacing="0">
    <!--DWLayoutDefaultTable-->
    <tr>
    <td width="120" rowspan="13" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td width="160" rowspan="2" valign="top"><img name="t2" src="" width="151" height="98" alt=""></td>
    <td height="70" colspan="2" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td width="160" rowspan="2" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td width="120" rowspan="13" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td width="1"></td>
    </tr>
    <tr>
    <td height="30" colspan="2" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td></td>
    </tr>
    <tr>
    <td height="45" colspan="4" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td></td>
    </tr>
    <tr>
    <td colspan="2" rowspan="2" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td height="30" colspan="2" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td></td>
    </tr>
    <tr>
    <td colspan="2" rowspan="8" valign="top"><img name="nhj" src="" width="540" height="390" alt=""></td>
    <td height="45"></td>
    </tr>
    <tr>
    <td height="75" colspan="2" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td></td>
    </tr>
    <tr>
    <td height="75" colspan="2" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td></td>
    </tr>
    <tr>
    <td height="75" colspan="2" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td></td>
    </tr>
    <tr>
    <td height="75" colspan="2" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td></td>
    </tr>
    <tr>
    <td height="20" colspan="2" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td></td>
    </tr>
    <tr>
    <td height="20" colspan="2" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td></td>
    </tr>
    <tr>
    <td colspan="2" rowspan="2" valign="top"><img name="t1" src="" width="137" height="25" alt=""></td>
    <td height="5"></td>
    </tr>
    <tr>
    <td height="20" colspan="2" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td></td>
    </tr>
    <tr>
    <td height="8"></td>
    <td></td>
    <td width="30"></td>
    <td width="380"></td>
    <td></td>
    <td></td>
    <td></td>
    </tr>
    </table>
    </body>

  2. #2
    SitePoint Enthusiast
    Join Date
    Aug 2003
    Location
    Montreal, Quebec, Canada
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Basically, to remove a horizontal scrollbar of to the current page, you need to make it fit under a specific width depending on the resolution of your website's visitors.

    The lowest resolution we see nowaday is 800x600, and on Windows with IE6 (majority), you can be pretty safe with a width of 776 pixels. Or you could set it as percentages (100%) and it will always scale to the width of the window.

    I hope this helps a bit...without going in the details....
    Daemon : Web Hosting Specialist and Professional Web Designer
    eXaion Networks : Web Hosting Services
    Daeya.org : Games Wallpaper Gallery


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
  •