How to switch my current header for a bigger one ?

Discussion in 'HTML & Website Design' started by jasond188, Jul 31, 2013.

  1. #1
    Im very new to all this , i tried switching my current header image file

    images/screenshots_30123.jpg
    Dimensions : 800 x 197

    For

    images/screenshots_30123.jpg
    Dimensions : 901 x 300

    but the image wont show up ...
    Theres probably something else to do but i dont know what :confused:
    Can Someone help me ?

    Heres my header file code below:

    my website adress is : fwur(dot)Biz

    <title><? echo $sitename; ?></title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link href="styles.css" rel="stylesheet" type="text/css">
    </head>
    <body bgcolor="#99CCCC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <table width="777" border="0" align="center" cellpadding="0" cellspacing="0" class="border">
      <tr>
        <td><img src="images/screenshots_30123.jpg" width="777" height="210" alt=""></td>
      </tr>
      <tr>
        <td background="images/bg.jpg"><table width="90%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="30%"><img src="images/MENU.png" width="231" height="44" alt=""></td>
            <td width="7%"><A href="index.php"><img src="images/HOME.png" width="57" height="44" alt="" border="0"></a></td>
            <td width="11%"><A href="join.php"><img src="images/REGISTER.png" width="80" height="44" alt="" border="0"></a></td>
            <td width="7%"><A href="faq.php"><img src="images/FAQ.png" width="58" height="44" alt="" border="0"></a></td>
            <td width="12%"><A href="contactus.php"><img src="images/CONTACT US.png" width="98" height="44" alt="" border="0"></a></td>
            <td width="12%"><A href="advertise.php"><img src="images/ADVERTISE.png" width="92" height="44" alt="" border="0"></a></td>
            <td width="21%"><A href="login.php"><img src="images/LOGIN.png" width="54" height="44" alt="" border="0"></a></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>&nbsp;</td>
            <td class="bodytext">&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td width="7%">&nbsp;</td>
            <td width="91%" class="bodytext"><p align="justify">
     
    <?
    include "config.php";
    $rs=mysql_query("select * from bannersads where remaining>0 and approved=1 and adtype=1 order by rand() limit 0,1");
    while($arr=mysql_fetch_array($rs)) {
    echo "<br><center><a href=$siteurl/tr.php?id=$arr[0] target=_blank><img src=$arr[2] width=468 height=60 border=0></a><br></center><br>";
    $rsu=mysql_query("update bannersads set remaining=remaining-1 where ID=$arr[0]");
    }
    ?>
    Code (markup):
     
    jasond188, Jul 31, 2013 IP
  2. jasond188

    jasond188 Greenhorn

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #2
    Sorry i mentioned the same image twice ... what i want to do is add a new and bigger header image, i tried switching the current file name '' images/screenshots_30123.jpg '' to my new image '' Fwur_Header.jpg '' it doesnt work ... Please Help
     
    jasond188, Jul 31, 2013 IP
  3. ekim941

    ekim941 Member

    Messages:
    74
    Likes Received:
    7
    Best Answers:
    7
    Trophy Points:
    33
    #3
    In line 8 of your HTML, you'll need to change the width and height attributes to match your new image.
    <img src="images/screenshots_30123.jpg" width="901" height="300" alt="">
     
    ekim941, Jul 31, 2013 IP
  4. jasond188

    jasond188 Greenhorn

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #4
    I tried that , and it didnt work ....
     
    jasond188, Jul 31, 2013 IP
  5. ekim941

    ekim941 Member

    Messages:
    74
    Likes Received:
    7
    Best Answers:
    7
    Trophy Points:
    33
    #5
    Have you verified that the image is on the server?
    Go to the URL to make sure the image is there yourdomain.com/ images/screenshots_30123.jpg

    Also, you may need to do an image refresh in your browser by hitting CTRL + F5
     
    ekim941, Jul 31, 2013 IP
  6. jasond188

    jasond188 Greenhorn

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #6
    I got it! Thanks for the help @ekim941 :)
     
    jasond188, Jul 31, 2013 IP