[URGENT] very simple HTML problem: IE - Firefox compatibility

Discussion in 'HTML & Website Design' started by tolgafiratoglu, Oct 17, 2007.

  1. #1
    I couldn't understand the problem, may be you can:

    the following works in Firefox well. But in IE, doesn't show anything.

    What's the problem?

    <table width="470" border="0">
    <tr height="37" background="menuback.jpg" style="background-repeat:no-repeat">
    <td nowrap="nowrap">

    ....

    Since I need to show the site to who will buy, I need to solve this
    urgently, thanks.
     
    tolgafiratoglu, Oct 17, 2007 IP
  2. Geckonm

    Geckonm Guest

    Messages:
    15
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'd need to see the rest of the code. What isnt showing - the BG image?

    If so, try

    <tr height="37" style="background: url(menuback.jpg) top left no-repeat">
     
    Geckonm, Oct 17, 2007 IP
  3. night|shift

    night|shift Peon

    Messages:
    22
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I strongly recommend you to solve all the style things using CSS.
    It's much better supported by both IE and Firefox - and - It's not web 1.0 :D

    CSS code:

    table { width:470px; border: 0px solid black; }
    tr { height:37px; background-image:url(menuback.jpg); background-repeat:no-repeat; }

    ~
     
    night|shift, Oct 17, 2007 IP
  4. naif

    naif Well-Known Member

    Messages:
    468
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    118
    #4
    Could be this: the <tr> tag does not have any height or background attribute..
     
    naif, Oct 17, 2007 IP