SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2002
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    problem with scrolling top far right please help me out

    ergh I hate it when you try and re-code a re-coded design to make it work better then you find out that the newly re-coded design just stuff's up even more.
    anyhoo back to the point.

    I am making a new site design for my self. hense http://www.samcolebatch.com - doesn't have a fully developed or yet any developed site at all.

    As I was havin gproblems with my old host and it went down from there.
    anyway, the design is located here.
    the problem is if you go to the top righ thand corner of the screen, pass the blueish area after the logo, and further beyond the login logout buttons, there is a big black area.
    I figure it is just a simple problem, but to me there is nothing wrong with the coding, I have tried everything to get rid of that black area but nothing works, this was my last resort. So if you could help me out I would be greatfull.
    thanks

  2. #2
    SitePoint Wizard Aes's Avatar
    Join Date
    Jun 2001
    Location
    Oklahoma
    Posts
    3,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Basically, you had some colSpan=3 attributes in the first couple of cells that were not needed at all since the other two columns do not exist!

    Secondly, you had an entire closing section for a table but not a corresponding opening for it (instead you began that closing table with </td>).

    Use this code, it works:
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Sam Colebatch.com</title>
    <meta content="text/html; charset=windows-1252" http-equiv=Content-Type>
    <style type=text/css>
    <!--
    
    BODY {MARGIN: 0px}
    
    .topmenu {COLOR: #FFFFFF; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
    FONT-SIZE: 10px; FONT-WEIGHT: normal; TEXT-DECORATION: none   }
    
    .topmenu:visited {COLOR: #FFFFFF; FONT-FAMILY: verdana, tahoma, arial, helvetica;
    FONT-SIZE: 10px; FONT-WEIGHT: normal; TEXT-DECORATION: none   }
    
    .topmenu:hover {COLOR: #FFF000; FONT-FAMILY: verdana, tahoma, arial, helvetica;
    FONT-SIZE: 10px; FONT-WEIGHT: normal; TEXT-DECORATION: underline}
    
    .topmenu:active {COLOR: #FFFFFF; FONT-FAMILY: verdana, tahoma, arial, helvetica;
    FONT-SIZE: 10px; FONT-WEIGHT: normal; TEXT-DECORATION: underline}
    
    .nolink {COLOR: #FFFFFF; FONT-FAMILY: verdana, tahoma, arial, helvetica;
    FONT-SIZE: 10px; FONT-WEIGHT: normal; TEXT-DECORATION: none}
    -->
    </style>
    
    </head>
    <body bgcolor="#000000" link="#990000" alink="#000000" vlink="#000000">
    <table bgColor="#ffffff" border="0" cellPadding="0" cellSpacing="0" width="100%">
        <tr>
            <td bgColor="#000000" align="middle" background="topbg.jpg" height="58" width="100%">
            <img border="0" src="logo.gif"></td>
        </tr>
        <tr>
            <td align="right" bgColor="#000000" vAlign="center">
            <font class="nolink">.:: [ </font>
            <a class="topmenu" href="#">Login</a> <font class="nolink">| </font>
            <a class="topmenu" href="#" >Logout</a> <font class="nolink">] ::. </font>
            <img align="absMiddle" border="0" height="22" src="blank.gif" width="60"></td>
        </tr>
    </table>
    <table cellspacing="0" width="100%" align="center" height="100%">
        <tr>
            <td valign="top" bgcolor="#639ace" width="140" height="100%">test</td>
            <td valign="top" bgcolor="f1f1f1" height="100%">test</td>
        </tr>
    </table>
    
    </body>
    </html>
    Good luck.

    -Colin
    Colin Anderson
    Ambition is a poor excuse for those without
    sense enough to be lazy.

  3. #3
    SitePoint Enthusiast
    Join Date
    Mar 2002
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    dude your the man.
    I new it had something to do with the attributes but I couldn't figure out what the heck was going wrong.

    thanks for the help it did work?
    life saver you saved me from having to re-code the design again for the 3rd time lol
    thanks I appreciate it

  4. #4
    SitePoint Wizard Aes's Avatar
    Join Date
    Jun 2001
    Location
    Oklahoma
    Posts
    3,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I replied to your private message. It works well for me in Internet Explorer and Mozilla. I'm going to assume the same for Opera (to lazy to load Opera at the moment). Glad you're happy with it.

    -Colin
    Colin Anderson
    Ambition is a poor excuse for those without
    sense enough to be lazy.

  5. #5
    SitePoint Enthusiast
    Join Date
    Mar 2002
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for replying to the message.

    thats good to know that the coding works in most or all of the browsers, as that is what I was planning.
    First site that has ever worked fully in more then one browser lol that is why I had to re-code the last one.

    thanks


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
  •