Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: CSS and IE

  1. #1
    Join Date
    Nov 2006
    Location
    D?sseldorf
    Posts
    2,858
    Tokens
    2,256

    Latest Awards:

    Default CSS and IE

    Hello

    http://1409sqn.org/wip
    Firstly - Yes, I have permsion.

    Right, made this site a while ago with tables, and the nav was images with rollover effects; moving into the 21st century now so redoing site in divs and the nav is css.

    However, hit a snag;
    In firefox the navigation is fine, however in IE9 - it's too short..



    What CSS do I need to add to fix this problem?
    Many Thanks

  2. #2
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    IE doesn't follow Padding or Margin (I forget which) in the same way as Firefox AFAIK, If I'm right you'll need to use an IF CSS statement for IE.
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  3. #3
    Join Date
    Nov 2006
    Location
    D?sseldorf
    Posts
    2,858
    Tokens
    2,256

    Latest Awards:

    Default

    Forgot to add - found out this morning
    IE7: Broken
    IE8: Fine
    IE9: Broken.

    w.t.f.

  4. #4
    Join Date
    Sep 2009
    Location
    Hull
    Posts
    827
    Tokens
    0

    Latest Awards:

    Default

    Try adding

    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    inside the <head> </head> tags

    Lew.
    Im not here to be loved, I love to be hated :-}


  5. #5
    Join Date
    Nov 2006
    Location
    D?sseldorf
    Posts
    2,858
    Tokens
    2,256

    Latest Awards:

    Default

    didn't work >;[
    if i go into development tools and put document mode to "IE8 standards" then it works.. but i thought IE9 was meant to be 'amazing'. :/

  6. #6
    Join Date
    May 2007
    Posts
    10,481
    Tokens
    3,140

    Latest Awards:

    Default

    I heard that IE9 is broken because it follows standards closer meaning that code optimised for IE screws up

    We can never win D:
    Chippiewill.


  7. #7
    Join Date
    Sep 2009
    Location
    Hull
    Posts
    827
    Tokens
    0

    Latest Awards:

    Default

    IE should have never been made... it sux! id have a look on google and/or make a seperate css sheet for each browser

    Lew.
    Im not here to be loved, I love to be hated :-}


  8. #8
    Join Date
    Feb 2006
    Location
    Scotland
    Posts
    2,087
    Tokens
    138

    Latest Awards:

    Default

    I tend to use a reset.css file in order to make sure that all the default properties set by the browser are neglected and you define them all yourself.

    http://www.habboxforum.com/showthread.php?t=524926

    It might help with your problem (it may not, it may even cause more!) so have a look

  9. #9
    Join Date
    Jul 2004
    Location
    California
    Posts
    8,725
    Tokens
    3,789
    Habbo
    HotelUser

    Latest Awards:

    Default

    My beef is with my buttons in IE.

    Firefox, Chrome, Safari, Opera, Everything else!


    IE8 (I can't check IE9 because I want to keep IE8 for debugging):


    And then cookies. For the life of me I don't know what's wrong with my IE cookie woes. I define a cookie in PHP with setcookie() and it works fine in all my browsers except for IE where I have to restart the actual browser for any of my cookies to save ; I think this must be a problem with my computer though.
    I'm not crazy, ask my toaster.

  10. #10
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    Quote Originally Posted by Lewiie15 View Post
    IE should have never been made... it sux! id have a look on google and/or make a seperate css sheet for each browser

    Lew.
    Then Mac and Windows wouldn't have had a browser for a damned long time
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •