Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2005
    Location
    Earf lolzzz!!1oneone!shift!
    Posts
    803
    Tokens
    0

    Default Turning an image into a background?

    OK, first off, here is my code:-

    Code:
    <html>
    <head>
    <title>Untitled-3</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <!-- ImageReady Slices (Untitled-3) -->
    <table id="Table_01" width="801" height="600" border="0" cellpadding="0" cellspacing="0">
     <tr>
      <td colspan="7">
       <img src="images/First-site_01.gif" width="800" height="7" alt=""></td>
      <td>
       <img src="images/spacer.gif" width="1" height="7" alt=""></td>
     </tr>
     <tr>
      <td rowspan="9">
       <img src="images/First-site_02.gif" width="15" height="593" alt=""></td>
      <td colspan="5">
       <img src="images/Site-Name.gif" width="767" height="79" alt=""></td>
      <td rowspan="9">
       <img src="images/First-site_04.gif" width="18" height="593" alt=""></td>
      <td>
       <img src="images/spacer.gif" width="1" height="79" alt=""></td>
     </tr>
     <tr>
      <td colspan="5">
       <img src="images/First-site_05.gif" width="767" height="20" alt=""></td>
      <td>
       <img src="images/spacer.gif" width="1" height="20" alt=""></td>
     </tr>
     <tr>
      <td rowspan="7">
       <img src="images/First-site_06.gif" width="10" height="494" alt=""></td>
      <td rowspan="2">
       <img src="images/Navigation-Title.gif" width="143" height="38" alt=""></td>
      <td colspan="3">
       <img src="images/First-site_08.gif" width="614" height="2" alt=""></td>
      <td>
       <img src="images/spacer.gif" width="1" height="2" alt=""></td>
     </tr>
     <tr>
      <td rowspan="6">
       <img src="images/First-site_09.gif" width="41" height="492" alt=""></td>
      <td rowspan="2">
       <img src="images/Random-red-thing.gif" width="563" height="37" alt=""></td>
      <td rowspan="6">
       <img src="images/First-site_11.gif" width="10" height="492" alt=""></td>
      <td>
       <img src="images/spacer.gif" width="1" height="36" alt=""></td>
     </tr>
     <tr>
      <td rowspan="2">
       <img src="images/First-site_12.gif" width="143" height="5" alt=""></td>
      <td>
       <img src="images/spacer.gif" width="1" height="1" alt=""></td>
     </tr>
     <tr>
      <td rowspan="2">
       <img src="images/First-site_13.gif" width="563" height="26" alt=""></td>
      <td>
       <img src="images/spacer.gif" width="1" height="4" alt=""></td>
     </tr>
     <tr>
      <td rowspan="2">
       <img src="images/Navigation-thing.gif" width="143" height="427" alt=""></td>
      <td>
       <img src="images/spacer.gif" width="1" height="22" alt=""></td>
     </tr>
     <tr>
      <td>
       <img src="images/News-et-ectera.gif" width="563" height="405" alt=""></td>
      <td>
       <img src="images/spacer.gif" width="1" height="405" alt=""></td>
     </tr>
     <tr>
      <td>
       <img src="images/First-site_16.gif" width="143" height="24" alt=""></td>
      <td>
       <img src="images/First-site_17.gif" width="563" height="24" alt=""></td>
      <td>
       <img src="images/spacer.gif" width="1" height="24" alt=""></td>
     </tr>
    </table>
    <!-- End ImageReady Slices -->
    </body>
    </html>
    Ok, now, I need to edit parts of the code like this:-

    Code:
    td rowspan="2">
       <img src="images/Random-red-thing.gif" width="563" height="37" alt=""></td>
    So that instead, the image becomes the background and I can type content into the space.

    +Rep for all help.

  2. #2
    Join Date
    Nov 2005
    Posts
    807
    Tokens
    1,335

    Latest Awards:

    Default

    HTML Code:
    <td background="images/Random-red-thing.gif" width="563" height="37">
       WRITING HERE</td>
    though i dont recommend you to code a layout like this "/

  3. #3
    Join Date
    Sep 2005
    Location
    Earf lolzzz!!1oneone!shift!
    Posts
    803
    Tokens
    0

    Default

    +rep

    But why don't you think I should code it like that?

  4. #4
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    <div> is the way to go

  5. #5
    Join Date
    Sep 2005
    Location
    Earf lolzzz!!1oneone!shift!
    Posts
    803
    Tokens
    0

    Default

    Meh... I don't know HTML and everyone on here wants pay so I'm just gonna stick with this.

  6. #6
    Join Date
    Aug 2004
    Location
    bristol
    Posts
    3,799
    Tokens
    0

    Latest Awards:

    Default

    What is not working with your HTML?
    kinda quit.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •