1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

CSS not working in IE but it is in Firefox

Discussion in 'CSS' started by Remo, May 7, 2007.

  1. #1
    I am working with Joomla and for some unknown reason the site work fine in FF
    but in IE the CSS wont show

    The site is here

    I am using a plugin as its a real estate site and the part that seems to be causing the issue is here

    <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
    <?php mosShowHead(); ?>
    <link rel="stylesheet" type="text/css" href="<?php echo $mosConfig_live_site; ?>/templates/<?php echo $cur_template; ?>/css/template_css.css" />
    Code (markup):

    Im just lost at why IE is not working, deleted cache etc...

    Any suggestions anyone?
     
    Remo, May 7, 2007 IP
  2. MrX

    MrX Well-Known Member

    Messages:
    1,563
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    140
    #2
    Save the page locally, then break it down (CSS) until you isolate which part specifically isn't working.
     
    MrX, May 7, 2007 IP
  3. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #3
    Instead of the PHP code, show us what the server is is giving to the browser. And, provide a link to the page, so we can view the effect.

    cheers,

    gary
     
    kk5st, May 7, 2007 IP
  4. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #4
    Value Error : font-family Lexical error at line 96, column 30. Encountered: "\r" (13), after : "\"Tahoma;"vertical-align: middle;

    Line 96 in your CSS, You need to remove the quote before Tahoma. Only use quotes if the font family is more than 1 word.

    ex: font-family: Georgia, "Times New Roman", "trebuchet ms", serif;

    You NEED to validate your page (HTML AND CSS). 90% of your bugs you will find if you validate your HTML and CSS. This is ONLY the starting point to making your layout consistent in multiple browsers, DO NOT assume that just because a page is valid it will show up perfectly in all browsers.

    By the way, you need to remove the XML declaration at the top of your page, this kicks IE into quirks mode (not standards mode) and gives you all sorts of problems (incorrect box model in IE6 being one of them).
     
    soulscratch, May 8, 2007 IP