Site behaves different in IE and Firefox

Discussion in 'HTML & Website Design' started by ktutorials, Nov 29, 2008.

  1. #1
    Hi,

    I need someone to help me in this...

    I designed a site... sigma2008.com for my friend. when i use Firefox it opens fine..but when i use IE or Chrome, menu doesnt work correctly... I need it to work fine atleast in IE..

    Menu is a CSS style one...

    Hope some could help me in this...

    Thanks a lot in advance...
     
    ktutorials, Nov 29, 2008 IP
  2. adamhk

    adamhk Member

    Messages:
    41
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #2
    Maybe you should try less html/css hacks and use css layout and javascript. I dont like theese menus made by anchor hover effect.
     
    adamhk, Nov 29, 2008 IP
  3. ktutorials

    ktutorials Peon

    Messages:
    475
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    oh... but my friend is interested in this styel... only problme is its not working fine in IE... any one plz help me...
     
    ktutorials, Nov 29, 2008 IP
  4. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #4
    You will never get IE to attempt to perform like modern browsers without a proper doctype. Use this one on the first line:

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">
     
    drhowarddrfine, Nov 29, 2008 IP
  5. aman11dhanpat

    aman11dhanpat Peon

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    firefox is the best

    always use it
     
    aman11dhanpat, Nov 29, 2008 IP
  6. frizli

    frizli Peon

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    may be a separate css for ie will do the job....
     
    frizli, Nov 29, 2008 IP
  7. ktutorials

    ktutorials Peon

    Messages:
    475
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #7
    @drhowarddrfine:
    I tried this. but no use... where shud i add this line... i added this before <html> tag itself...

    @frizli:
    I already use a seperate css file for the site...

    Any more approaches.. plz...
     
    ktutorials, Nov 30, 2008 IP
  8. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #8
    That is the correct place but you have since removed it. You cannot be helped unless you leave it in.
     
    drhowarddrfine, Nov 30, 2008 IP
  9. cheapez

    cheapez Active Member

    Messages:
    1,123
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    78
    #9
    You need to use some hacks to make your design looks the same in both browser IE and Firefox.
    You want to use "condition comments" if you use one these hacks.

    Make your menu simple CSS that both browser understand and support.

    Post your codes up maybe they can help.
     
    cheapez, Dec 1, 2008 IP