SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot Garry Lacey's Avatar
    Join Date
    Jul 2000
    Location
    England
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://www.sc2.redhotant.com/index.test.htm

    The above link if viewed in Netscape shows lots of tables with gradient jpeg images inside them.

    When you view the same page in explorer only some of the tables show the jpeg backdrops. Any idea why this is?

    Im not a HTML coder, ive looked at the tables which do show the images and the ones that dont and they dont look any different to me. Im designing in dreamweaver. Ive even tried copying the tables which do work and pasting the content from the tables that dont but strangely explorer rejects that theres any reference to a jpeg image in the table.

    I rather like the addition of subtle gradients and was thinking of sweeping it across the whole site in a more limited way (not as extreme as this test page) but if the results are going to be as patchy as this in explorer it wont work.

    Can anyone help?


    ------------------
    Garry Lacey
    The Creative Resource
    www.sc2.redhotant.com

  2. #2
    SitePoint Guru CJ's Avatar
    Join Date
    Apr 2000
    Location
    Mechelen, Belgium, Europe
    Posts
    684
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try putting the background image in the <td> tag instead of the tr tag.

    So it should look like this:
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">code/font><HR><pre>
    &lt;td width="50%" background="http://domain.com/image"&gt;&lt;/td&gt;
    [/code]

    The gradients that are displayed are those who are placed in the TD tag. That was the big difference.

    Christophe



    ------------------
    Freesources.net - the ultimate webmaster resources site
    WebmasterCJ design - opening new worlds for small prices
    Visit the SitePoint Chat!!!


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
  •