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???

Link to comment
Share on other sites

... 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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.