Problem with background showing the wrong colour.

Discussion in 'HTML & Website Design' started by bidzapbiz, Nov 9, 2007.

  1. #1
    bidzapbiz, Nov 9, 2007 IP
  2. Conservopath

    Conservopath Guest

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Since your site is presently offline, I cannot make an assessment.

    -C.
     
    Conservopath, Nov 9, 2007 IP
  3. bidzapbiz

    bidzapbiz Peon

    Messages:
    543
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Its not offline for me
     
    bidzapbiz, Nov 9, 2007 IP
  4. Conservopath

    Conservopath Guest

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    When I click your link, there is a brief lag, and then the standard FF message: SERVER NOT FOUND.

    If you are able to access the site and not me, that is curious:confused:

    Targetmillionaire...right?

    -C.
     
    Conservopath, Nov 9, 2007 IP
  5. trinsic

    trinsic Peon

    Messages:
    83
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    The reason is, you have your TD's and TR's mixed up.

    stylesheet.css
    <style>
    <!--
    a:link, 
    a:active {text-decoration: none;   font-weight: bold; color: #5a326a}
    a:visited {text-decoration: none;   font-weight: bold; color: #5a326a}
    a:hover {text-decoration: underline; cursor:pointer; font-weight: bold; color: #3c3c3c}
    
    
    body {
    background-color:#3c3c3c; font-family:trebuchet ms, verdana; font-size:9pt; letter-spacing:0px; text-decoration:none; color: #000000;
    }
    
    td {
    font-family:trebuchet ms, verdana; font-size:9pt; letter-spacing:0px; color: #000000;
    }
    
    table {
    background-color:#ffffff;
    }
    -->
    
    </style>
    Code (markup):
    Since you are using a News script I can't copy and paste the fix.

    1. Remove all bgcolor="#ffffff" from TABLE and the two TR's beneath it.
    2. Put <td width="485px"> below the <TR>
    3. After </center> put </td> (before </tr>)
    4. After <tr> put <td>
    5. Before </tr> put </td>

    e: Here it is anyway if you need help:
    <HTML>
    <HEAD>
    <TITLE>TargetMillionaire.com</TITLE>
    <link rel="stylesheet" type="text/css" href="stylesheet.css">
    </head>
    <body>
    <center>
    <table>
      <tr>
        <td width="485px"><img src="head.png"><BR>
          <center>
            Countdown to the deadline!:
            <script language="JavaScript">
    TargetDate = "11/09/2008 0:00 AM";
    CountActive = true;
    CountStepper = -1;
    LeadingZero = true;
    DisplayFormat = "%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds.";
    FinishMessage = "Deadline TODAY!";
    </script>
            <script language="JavaScript" src="http://targetmillionaire.com/countdown.js"></script>
            <BR>
            <B>Current Amount:</b> £0.00 <BR>
            <BR>
            <a href="about.php">About us</A><BR>
            <BR>
            Welcome to TargetMillionaire.com, a blog to follow my goal of making £1 million in 1 year,
            starting from 9th November 2007. <BR>
            <BR>
          </center>
      </tr>
      <tr bgcolor="#ffffff">
        <td><div style="width:480px; margin-bottom:30px;">
            <div><strong>Day 1 - Welcome to TargetMillionaire.com</strong></div>
            <div><em>08 Nov 2007 </em></div>
            <div style="text-align:justify; padding:3px; margin-top:3px; margin-bottom:5px; border-top:1px solid #000000;">Welcome to the site, the countdown to 9th November 2008 and my &pound;1 million target has begun.<br />
              <br />
              Over the next few days the first site hopefully contributing to the target of &pound;1million/$2.1million will be launched.<br />
              <br />
              Any questions? Visit the About page or feel free to email me at admin@targetmillionaire.com</div>
            <div style="float: right;">
              <!-- no full story-->
              <a href="/index.php?subaction=showcomments&amp;id=1194569448&amp;archive=&amp;start_from=&amp;ucat=1&amp;">1 Comments</a></div>
            <div> <a href="mailto:admin@targetmillionaire.com">Kirstin</a></div>
          </div>
          <div style="margin-top:15px;width:100%;text-align:center;font:9px Verdana;">Content Management Powered by <a href="http://cutephp.com/" title="CuteNews - PHP News Management System">CuteNews</a></div>
          <!-- News Powered by CuteNews: http://cutephp.com/ -->
        </td>
      </tr>
    </table>
    Code (markup):
     
    trinsic, Nov 9, 2007 IP
  6. bidzapbiz

    bidzapbiz Peon

    Messages:
    543
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks, I have done it, is it showing white now?
     
    bidzapbiz, Nov 9, 2007 IP
  7. bidzapbiz

    bidzapbiz Peon

    Messages:
    543
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Yes:confused:
     
    bidzapbiz, Nov 9, 2007 IP
  8. trinsic

    trinsic Peon

    Messages:
    83
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Yeah the layouts working now.

    It may not be working for Conservopath yet because of the DNS changes, checking after a full 24 hours should be OK.
     
    trinsic, Nov 10, 2007 IP