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 19
  1. #1
    Join Date
    Jan 2007
    Location
    Wales
    Posts
    2,432
    Tokens
    141

    Latest Awards:

    Exclamation CSS Help Please.

    Hi, basically, I have a top bar and a bottom bar on a page. I want them both to follow the user and be in the same place when they scroll, however, this only works on Firefox. Is there anyway I can get it to work in Internet Explorer too?

    Code:
    #bottombar {
    height: 30px;
    width: 100%;
    position: fixed;
    bottom: 0px;
    color: #000000;
    }
    
    #topbar {
    height: 30px;
    width: 100%;
    position: fixed;
    top: 0px;
    color: #000000;
    }
    Help will be appreciated a lot, and also +rep will be given, thank you.
    Free Online Games And Videos:
    http://www.vincesgames.com



  2. #2
    Join Date
    May 2005
    Location
    united kingdom
    Posts
    8,084
    Tokens
    595

    Latest Awards:

    Default

    Try this:

    Quote Originally Posted by ThisNameWillDo! View Post
    Hi, basically, I have a top bar and a bottom bar on a page. I want them both to follow the user and be in the same place when they scroll, however, this only works on Firefox. Is there anyway I can get it to work in Internet Explorer too?

    Code:
    #bottombar {
    height: 30px;
    width: 100%;
    position: fixed;
    bottom: 0px;
    color: #000000;
    left: 0px; 
    }
    
    #topbar {
    height: 30px;
    width: 100%;
    position: fixed;
    top: 0px;
    color: #000000;
    left: 0px; 
    }
    Help will be appreciated a lot, and also +rep will be given, thank you.

    drink up this bottle of yeah
    and P A I N T your body on me


  3. #3
    Join Date
    Jan 2007
    Location
    Wales
    Posts
    2,432
    Tokens
    141

    Latest Awards:

    Default

    Hi, that still did not work, weird. :S

    Thank you for attempting to help though!

    Any solutions?
    Free Online Games And Videos:
    http://www.vincesgames.com



  4. #4
    Join Date
    Mar 2008
    Location
    New Brunswick, Canada
    Posts
    53
    Tokens
    89

    Default

    I KNOW I'm going to get yelled at this by everyone who loves DIVs (I use them too, by the way, so I'm not slamming the DIVs)

    But..
    If you want a quick fix, you may as well use inline frames. You see, IE is the cat of web design, it's always getting in the way.

    So, the BIGGEST fix would be to put an IE only info box that tells those dinosaurs using IE to download FireFox or Chrome.

    But if you'd rather not do that, then the easiest way to fix your issue would be inline frames, hands down. Put one at the top, and one at the bottom, the only trouble would be that they will not be dynamic with the rest of the website. Ex. If a user clicks a link, only the center will change, not the top or bottom banner.

    HOPE this helps, if it's not, then let me know, and I'll try and help again.

    Thanks,
    Dann

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

    Latest Awards:

    Default

    I'm really tempted to just stick a "You are using Internet Explorer, please use a real browser" sign on my work because of how poorly my CSS behaves in IE. I code something once that works with Firefox, Opera, Chrome, Safari, Mobile safari even the Android stock browser, but IE screws it up.
    I'm not crazy, ask my toaster.

  6. #6
    Join Date
    Jan 2007
    Location
    Wales
    Posts
    2,432
    Tokens
    141

    Latest Awards:

    Default

    Quote Originally Posted by DannLea View Post
    I KNOW I'm going to get yelled at this by everyone who loves DIVs (I use them too, by the way, so I'm not slamming the DIVs)

    But..
    If you want a quick fix, you may as well use inline frames. You see, IE is the cat of web design, it's always getting in the way.

    So, the BIGGEST fix would be to put an IE only info box that tells those dinosaurs using IE to download FireFox or Chrome.

    But if you'd rather not do that, then the easiest way to fix your issue would be inline frames, hands down. Put one at the top, and one at the bottom, the only trouble would be that they will not be dynamic with the rest of the website. Ex. If a user clicks a link, only the center will change, not the top or bottom banner.

    HOPE this helps, if it's not, then let me know, and I'll try and help again.

    Thanks,
    Dann
    Hey, I really need to use div's for this, I'm sure there is a way for it to work, but I have no idea how.

    http://ryan.rawswift.com/sandbox/fixed-bottom-bar/

    There is an example, I have no idea how he managed to get it to work as I pretty much have the same CSS coding.

    Quote Originally Posted by HotelUser View Post
    I'm really tempted to just stick a "You are using Internet Explorer, please use a real browser" sign on my work because of how poorly my CSS behaves in IE. I code something once that works with Firefox, Opera, Chrome, Safari, Mobile safari even the Android stock browser, but IE screws it up.
    Yeah IE mucks everything up, I wish they'd just get rid of it :/
    Free Online Games And Videos:
    http://www.vincesgames.com



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

    Latest Awards:

    Default

    #bottombar {
    height: 30px;
    width: 100%;
    position: absolute;
    bottom: 0px;
    color: #000000;
    overflow: hidden;
    }
    #topbar {
    height: 30px;
    width: 100%;
    position: absolute;
    top: 0px;
    color: #000000;
    overflow: hidden;
    }
    they should work, sorry if not...


    Also, this may help your page show properly in IE, I knnow it fixed problems for me...
    Just put this in the <head> </head> tags
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    Lew.
    Last edited by LMS16; 19-03-2010 at 09:54 AM.
    Im not here to be loved, I love to be hated :-}


  8. #8
    Join Date
    Jul 2006
    Location
    Cambridge, UK
    Posts
    447
    Tokens
    0

    Latest Awards:

    Default

    Microsoft are releasing a new versrion of IE soon which is compatible with CSS etc etc I believe.

    Link: http://ie.microsoft.com/testdrive/Default.html

  9. #9
    Join Date
    Jan 2007
    Location
    Wales
    Posts
    2,432
    Tokens
    141

    Latest Awards:

    Default

    Quote Originally Posted by Lewiie15 View Post
    they should work, sorry if not...


    Also, this may help your page show properly in IE, I knnow it fixed problems for me...
    Just put this in the <head> </head> tags

    Lew.
    Hey, it did not work, but thank you anyway, if anything it just broke it in Firefox

    Quote Originally Posted by Jonster View Post
    Microsoft are releasing a new versrion of IE soon which is compatible with CSS etc etc I believe.

    Link: http://ie.microsoft.com/testdrive/Default.html
    Ahhh fantastic, my project will take months, if not a year to complete, so hopefully that IE is out by then and works with the website, thank you.
    Free Online Games And Videos:
    http://www.vincesgames.com



  10. #10
    Join Date
    Mar 2008
    Location
    New Brunswick, Canada
    Posts
    53
    Tokens
    89

    Default

    Well.. Did you ever consider looking at his source for help?

    I am in no way telling you to copy his HTML completely, but it can get you started on what you need.

    He has this as his HTML for the box [Floating at the bottom]



    And here is the CSS of his page:



    So take a look at this, and see what it has to offer, to be honest I didn't even look at it, I just want to try and help you out. Now remember, you're not going to learn a thing by just copying his stuff, so just look at it and try and see where your code is wrong at.

    Good luck, hopefully I've helped and not made the matter worse

    Thanks,
    Dan

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
  •