SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot Beeper's Avatar
    Join Date
    Sep 2003
    Location
    LONDON UK
    Posts
    199
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    TD bg image not showing :(

    Oddly, this shows in Dreamweaver but not in IE or Firefox?? I want to, later, make the table cells act as rolloevers so the gif works as a tab separater.

    Code:
    #tabcontent td {
     background-image:url(images/tab.gif);
     background-position:right;
     background-repeat:no-repeat;
    }
    Code:
    <div id="tabContent">
        <table width="613" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="14%" align="center" bgcolor="#A8DFEC"><h2><a href="#" class="blue">Save properties</a> </h2>          </td>
            <br />
     		<td width="14%" align="center" bgcolor="#FF9900"><h2>Save <br />
     		  search </h2></td>
            <td width="14%" align="center" bgcolor="#A8DFEC"><h2>Property <br />
              alerts </h2></td>
            <td width="14%" align="center" bgcolor="#A8DFEC"><h2>Personal details </h2></td>
            <td width="14%" align="center" bgcolor="#A8DFEC"><h2>Subscriptions</h2></td>
            <td width="14%" align="center" bgcolor="#A8DFEC"><h2>Mortgage payments </h2></td>
            <td width="14%" align="center" bgcolor="#084887"><h2 class="style1">Register for <br />
              all services</h2></td>
            </tr>
        </table>
      </div>
    Never argue with an idiot.
    They just drag you down to their level...
    and beat you with experience.

  2. #2
    Beer Monster -Ox's Avatar
    Join Date
    Apr 2003
    Location
    sowth afreeka
    Posts
    374
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    the class is case sensitive, so if you call the style "tabContent" then you have to call it as tabContent in your div and not tabcontent

    hope that helps...

    Personal preference, I would use short hand for your background style IE:

    background: #FFFFFF url(path/file.jpg) no-repeat right;

    Hope that helps

    /Ox
    My postings are a natural product.
    The slight variations in spelling and grammar enhance its
    individual character and beauty and in no way are to be
    considered flaws or defects - http://www.guinnesspig.net

  3. #3
    SitePoint Zealot Beeper's Avatar
    Join Date
    Sep 2003
    Location
    LONDON UK
    Posts
    199
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks, I am getting useless in my old age
    Never argue with an idiot.
    They just drag you down to their level...
    and beat you with experience.

  4. #4
    Beer Monster -Ox's Avatar
    Join Date
    Apr 2003
    Location
    sowth afreeka
    Posts
    374
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No Problem you dont even want to know how many times I have done that :|
    My postings are a natural product.
    The slight variations in spelling and grammar enhance its
    individual character and beauty and in no way are to be
    considered flaws or defects - http://www.guinnesspig.net


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
  •