Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7562329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:23:20+00:00 2026-05-30T13:23:20+00:00

i seem to have a bit of a problem. I’ve set the table to

  • 0

i seem to have a bit of a problem. I’ve set the table to 100% for the width attribute, but the window stays the same at 1600. How do i go about making the webpage fit into my browser? (Lets say my browser’s width is 1024.)

Also, ignore the main.css. It only has a background attribute on it.

Here’s my code:

<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="main.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" height="1200" border="0" align="center" cellpadding="0" cellspacing="0" id="page">
<tr>
    <td colspan="17">
        <img src="images/index_01.png" width="1600" height="39" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="1" height="39" alt=""></td>
</tr>
<tr>
    <td rowspan="10">
        <img src="images/index_02.png" width="57" height="1161" alt=""></td>
    <td colspan="5" rowspan="2">
        <img src="images/indexpic_01.png" width="668" height="177" alt=""></td>
    <td colspan="11">
        <img src="images/index_04.png" width="875" height="154" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="1" height="154" alt=""></td>
</tr>
<tr>
    <td colspan="9" rowspan="2">
        <img src="images/index_05.png" width="539" height="44" alt=""></td>
    <td rowspan="2">
        <img src="images/indexpic_02.png" width="189" height="44" alt=""></td>
    <td rowspan="9">
        <img src="images/index_07.png" width="147" height="1007" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="1" height="23" alt=""></td>
</tr>
<tr>
    <td colspan="5">
        <img src="images/index_08.png" width="668" height="21" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="1" height="21" alt=""></td>
</tr>
<tr>
    <td rowspan="7">
        <img src="images/index_09.png" width="94" height="963" alt=""></td>
    <td colspan="14">
        <img src="images/indexpic_11.png" width="1302" height="480" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="1" height="480" alt=""></td>
</tr>
<tr>
    <td colspan="14">
        <img src="images/index_11.png" width="1302" height="24" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="1" height="24" alt=""></td>
</tr>
<tr>
    <td>
        <img src="images/index_12.png" width="291" height="60" alt=""></td>
    <td rowspan="5">
        <img src="images/index_13.png" width="46" height="459" alt=""></td>
    <td colspan="3">
        <img src="images/index_14.png" width="291" height="60" alt=""></td>
    <td colspan="2" rowspan="3">
        <img src="images/index_15.png" width="46" height="411" alt=""></td>
    <td colspan="4">
        <img src="images/index_16.png" width="291" height="60" alt=""></td>
    <td rowspan="5">
        <img src="images/index_17.png" width="46" height="459" alt=""></td>
    <td colspan="2">
        <img src="images/index_18.png" width="291" height="60" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="1" height="60" alt=""></td>
</tr>
<tr>
    <td>
        <img src="images/indexpic_05.png" width="291" height="320" alt=""></td>
    <td colspan="3">
        <img src="images/indexpic_06.png" width="291" height="320" alt=""></td>
    <td colspan="4">
        <img src="images/indexpic_07.png" width="291" height="320" alt=""></td>
    <td colspan="2">
        <img src="images/indexpic_08.png" width="291" height="320" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="1" height="320" alt=""></td>
</tr>
<tr>
    <td rowspan="3">
        <img src="images/index_23.png" width="291" height="79" alt=""></td>
    <td colspan="3">
        <img src="images/index_24.png" width="291" height="31" alt=""></td>
    <td colspan="4">
        <img src="images/index_25.png" width="291" height="31" alt=""></td>
    <td colspan="2" rowspan="3">
        <img src="images/index_26.png" width="291" height="79" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="1" height="31" alt=""></td>
</tr>
<tr>
    <td rowspan="2">
        <img src="images/index_27.png" width="78" height="48" alt=""></td>
    <td colspan="2">
        <img src="images/indexpic_09.png" width="213" height="31" alt=""></td>
    <td rowspan="2">
        <img src="images/index_29.png" width="29" height="48" alt=""></td>
    <td colspan="2">
        <img src="images/indexpic_10.png" width="109" height="31" alt=""></td>
    <td>
        <img src="images/indexpic_12.png" width="17" height="31" alt=""></td>
    <td>
        <img src="images/indexpic_13.png" width="97" height="31" alt=""></td>
    <td rowspan="2">
        <img src="images/index_33.png" width="85" height="48" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="1" height="31" alt=""></td>
</tr>
<tr>
    <td colspan="2">
        <img src="images/index_34.png" width="213" height="17" alt=""></td>
    <td colspan="4">
        <img src="images/index_35.png" width="223" height="17" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="1" height="17" alt=""></td>
</tr>
<tr>
    <td>
        <img src="images/spacer.gif" width="57" height="1" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="94" height="1" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="291" height="1" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="46" height="1" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="78" height="1" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="159" height="1" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="54" height="1" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="29" height="1" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="17" height="1" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="92" height="1" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="17" height="1" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="97" height="1" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="85" height="1" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="46" height="1" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="102" height="1" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="189" height="1" alt=""></td>
    <td>
        <img src="images/spacer.gif" width="147" height="1" alt=""></td>
    <td></td>
</tr>
</table>
</body>
</html>

Anyone can help?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T13:23:21+00:00Added an answer on May 30, 2026 at 1:23 pm

    All of your image widths are set explicitly, and they add up to 1601px, which would stretch your table (and page) to fit.

    Here’s my recommendation: Ditch the images and try to do you layout with actual content (and elements other than tables). You can’t very easily dynamically size this width as it stands now.

    If you are dead set on this (and I cringe at the thought) you can convert the pixel widths of all the images into percentage width, and, while you’ll have issues with rounding, you should get a resized layout based on width. But it won’t look pretty.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on learning Objective-C/Coaoa, but I've seem to have gotten a bit stuck
This question may seem a little bit stackoverflow-implementation specific, but I have seen a
I seem to have a curious problem. I set up OpenGL like this: glViewport(0,
I seem to have a bit of a problem here that I can't quite
I have been doing a bit of research, but I cannot seem to find
I seem to have a problem with this SQL query: SELECT * FROM appts
I seem to have a problem with getting MVC to fill in my custom
I seem to have the exact opposite problem than this question on stopping dock
I seem to have a problem understanding how to conditionally test a boolean value
So I have a bit of a problem. When I ask MooTools to send

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.