Alignment Problem

Discussion in 'HTML & Website Design' started by Jako, Dec 11, 2005.

  1. #1
    When I try to align the 99.9% uptime button in the center it doesn't display it in the center on IE. But if you view it on Firefox, it is centered. Can anyone help me figure out why it's not working.

    Here is the link, http://jako.us/6s/box/
     
    Jako, Dec 11, 2005 IP
  2. Sham

    Sham Peon

    Messages:
    136
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Look for this bit of code in your source:

    
    </BODY>
    </HTML>    <IMG SRC="images/dynamic6s_20.jpg" WIDTH=474 HEIGHT=171 ALT=""></td>
        <td width="117" rowspan="2" valign="top"><div align="center"><center><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Uptime','','images/uptimeover.jpg',1)"><img src="images/uptime.jpg" alt="Uptime" name="Uptime" width="151" height="42" border="0"></a></div>
    
    
    
    Code (markup):
    change the TD width from 117 to 199.

    Also (it doesnt really make any difference) but you migh wanna remove that </body></html> from the middle of the document.

    If it doesn't work, I'll eat my hat....
     
    Sham, Dec 11, 2005 IP
  3. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #3
    you probably just purchase that page as template somewhere
    and
    may be copied and pasted around
    thats at least how it looks ...

    you also have in the middle of you page somewhere elements of your header

    hence the look as well as all code is uiet a bit messed up

    better you get the original again before trying to repair and patch.

    see for example:

    <td><img src="images/spacer.gif" width=89 height=1 alt=""></td>
    <td><img src="images/spacer.gif" width=4 height=1 alt=""></td>
    <td><img src="images/spacer.gif" width=9 height=1 alt=""></td>
    </tr>
    </table></td><td width="474"><HTML>
    <HEAD>
    <TITLE>navv</TITLE>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    <script language="JavaScript" type="text/JavaScript">

    all together you have

    2 <HTML>
    2 <HEAD>
    2 <TITLE>
    2 <BODY>

    tags and many other things mixed

    may be W3Schools may help you to understand the basics of code and what belongs where
    http://www.w3schools.com/default.asp
    they have some of the finest online tutorials
     
    hans, Dec 11, 2005 IP
  4. Jako

    Jako Well-Known Member

    Messages:
    347
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    140
    #4
    Hans, the template was custom made by me, I have so many tags because I did a few php includes and forgot to take them out :) Taken care of on the new version.
     
    Jako, Dec 12, 2005 IP