SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Addict
    Join Date
    Apr 2004
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    position fixed in IE6 in standards mode

    I'm doing a footer that remains fixed at the bottom of the page while the user scrolls down (similar to the one that Sitepoint uses to promote a book in their home page).

    I have no problem with Firefox and IE7, as both support position:fixed.

    But as IE6 does not support it, I'm looking for a solution in standards mode (all the ones I've found are for quirks mode, I don't know if it's possible in standards mode, I wouldn't like to add something before the document type to force quirks mode).

    My stats says that 60% of my visitors still use IE6, so I need to do this.

    Is this possible?

    Thank you

  2. #2
    Non-Member
    Join Date
    Jan 2005
    Location
    Netherlands
    Posts
    4,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello

    What is expected from us ? that we all have psychic capabilities answering questions without any code ? your code Please or better a link to the problem page

  3. #3
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,295
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    HI,

    yes I solved this for standards mode some time ago but you should be aware that fixed positioning usually presents other difficulties later on.


    http://www.pmob.co.uk/temp/fixed-header-footerx1.htm

  4. #4
    SitePoint Addict
    Join Date
    Apr 2004
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)


    Sorry for not being clear, my question was if someone knows a technique or spage or example, I did not put code because my layout is just as simple as 3 divs floated left

    For example, I found this:

    http://tagsoup.com/cookbook/css/fixed/

    And exactly I'd like to know if this is possible in standards mode in IE6:

    http://tagsoup.com/cookbook/css/fixed/bottom/

    Thanks

  5. #5
    SitePoint Addict
    Join Date
    Apr 2004
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Paul O'B View Post
    HI,

    yes I solved this for standards mode some time ago but you should be aware that fixed positioning usually presents other difficulties later on.


    http://www.pmob.co.uk/temp/fixed-header-footerx1.htm
    Thank you Paul

    What kind of difficulties can I find later?

  6. #6
    Non-Member
    Join Date
    Jan 2005
    Location
    Netherlands
    Posts
    4,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DeLaVega View Post


    Sorry for not being clear, my question was if someone knows a technique or spage or example, I did not put code because my layout is just as simple as 3 divs floated left

    For example, I found this:

    http://tagsoup.com/cookbook/css/fixed/

    And exactly I'd like to know if this is possible in standards mode in IE6:

    http://tagsoup.com/cookbook/css/fixed/bottom/

    Thanks
    Hello

    Paul's way is better, the model sells not that well, because they basically are two sets of code one for IE7 FF OP NS and one for IE < 7 , and need understanding of position absolutes and separating css for both sets/models

  7. #7
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,295
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    What kind of difficulties can I find later?
    The problems as are as All4nerds has already said above and also that when you have wide content in the middle you could find sideways scrolling awkward but it depends exactly on how you are using it.

    As Ben already mentioned it would help if we had a page to work with then we could see which method fits best.

    It probably best if you take the code I gave above and play around with it first and try out the sort of things you want to happen before you build the detail into it. In that way you'll soon find out what works and what doesn't.


Bookmarks

Posting Permissions

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