Jump to content

changeing size of website to fit window size


runnerjp

Recommended Posts

hey guys ok im viewing my website on a 1400x900 res so what i did was put my website in 100% width like so

<table width="100%" bgcolor="#000000"summary="header">
  <tr>
    <td width="100%" bgcolor="#084468"><div align="center"><a href="http://www.runnerselite.com"><img src="../images/LOGO.jpg" alt="Logo"   /></a></div></td>
  </tr>
</table>
<hr />
</html>
<script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<table width="100%" summary="maincontent">
  <tr>
    <td align="left" valign="top" bgcolor="#FFFFFF"><h1 align="left"><img src="../images/runner.jpg" alt="runner" width="127" height="155" align="left"/></h1>
        <h1 align="center"><u> Welcome Back To RunnersElite!</u></h1>
     <center>        
         <?
            include("include/adminerr.inc.php");
            if($auth[error]) { include("include/messages/index_unverified.inc.php"); }
            else { include("include/messages/index_verified.inc.php"); } ?>
      </center>

      <center>
        <a href="../register.php">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','400','height','165','src','../RunnersElite.fla','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','../RunnersElite.fla' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="400" height="165">
  <param name="movie" value="../RunnersElite.fla.swf" />
  <param name="quality" value="high" />
  <embed src="../RunnersElite.fla.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="400" height="165"></embed>
</object></noscript>
<img align="middle" src="../images/bemem.gif" alt="signup" width="280" height="250" border="0" /></a>
      </center>   </td>
    <td align="left" valign="top"><a href="../register.php">
      <?include("include/loginbox.inc.php"); ?>
    </a></td>
  </tr>
</table>

 

yet when the webpage is viewed in say 800x 600 the website is not 100% of page you have to scroll across to make it fit   how comes???

... yet when the webpage is viewed in say 800x 600 the website is not 100% of page you have to scroll across to make it fit  how comes???

 

Because the sum of the widths of some 'stuff' exceeds 800px.  An 800px window really only takes about 770px of viewing area actually.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.