+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 10 of 11

Thread: position:fixed ie6

  1. #1
    Established Member bartoszdesign's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    486

    position:fixed ie6

    i'm currently working on a website, which has a fixed bar on top incl. a webform which drops down on click via jquery.

    ie7, ff2, ff3, safari and opera are working just fine, but ie6 the bitch is not cooperating.

    i've been googlin' around and there are several different fixes, but nothing clear.

    maybe one of you can help?


  2. #2
    CSS Wizardry Harry's Avatar
    Join Date
    May 2007
    Location
    Leeds, England
    Posts
    13,879
    Hmm, as far as I know it's completely unsupported in IE6.

    I'd use an IE6 stylesheet to drop it back to position:absolute; - it's the next best thing.

  3. #3
    Mr. Tambourine Man LeadMagnet's Avatar
    Join Date
    Jun 2007
    Location
    Ireland
    Posts
    2,863
    The only other option is to use javascript just for ie6 to change the position of the bar whenever the page is scrolled. It doesn't work smoothly though.
    Subtlety is my middle name... and first and last in case you didn't get the point.
    http://www.eoingriffin.com

  4. #4
    Established Member bartoszdesign's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    486
    okidoki, as i have to fix some other dodgy things ie6 is displaying, an ie6 stylesheet might be a good idea. thanks guys

  5. #5
    likes chips. Scriptage's Avatar
    Join Date
    May 2008
    Location
    Yorkshire
    Posts
    2,754

  6. #6
    Mr. Tambourine Man LeadMagnet's Avatar
    Join Date
    Jun 2007
    Location
    Ireland
    Posts
    2,863
    Oh yeah, forgot about that one.
    Subtlety is my middle name... and first and last in case you didn't get the point.
    http://www.eoingriffin.com

  7. #7
    Junior Member
    Join Date
    Feb 2009
    Posts
    5
    Here is the tip:

    <?php
    function agent($browser) {
    $useragent = $_SERVER['HTTP_USER_AGENT'];
    return strstr($useragent,$browser);
    }?>

    <?php if (agent("MSIE 6.0") != FALSE): ?>

    <link rel="stylesheet" href="http://domain.com/styleie6.css" type="text/css" media="screen" />

    <?php else : ?>

    <link rel="stylesheet" href="http://domain.com/style.css" type="text/css" media="screen" />

    <?php endif; ?>

  8. #8
    Junior Member
    Join Date
    Feb 2009
    Posts
    5
    So you can use 2 of them for free ...

  9. #9
    likes chips. Scriptage's Avatar
    Join Date
    May 2008
    Location
    Yorkshire
    Posts
    2,754
    There's no need to do this server side, you could use client side conditional comments.

  10. #10
    CSS Wizardry Harry's Avatar
    Join Date
    May 2007
    Location
    Leeds, England
    Posts
    13,879
    Quote Originally Posted by Scriptage View Post
    There's no need to do this server side, you could use client side conditional comments.
    What he said.

    Don't waste time and effort with that when conditional comments are much more suitable.

+ Reply to Thread
Page 1 of 2
1 2 LastLast

Similar Threads

  1. Liquid & Fixed 2 Column Layouts with CSS
    By Graphic Design Links in forum Graphic Design Links
    Replies: 0
    Last Post: 22-10-2008, 06:10 PM
  2. CSS DIV Position Problem
    By Acuity in forum CSS Forum
    Replies: 5
    Last Post: 15-07-2008, 05:28 PM
  3. position: absolute - question.
    By next in forum CSS Forum
    Replies: 2
    Last Post: 24-06-2008, 01:31 AM
  4. Problems with CSS position.
    By Skoven in forum CSS Forum
    Replies: 5
    Last Post: 17-06-2008, 08:09 PM
  5. Position of DIV tags
    By design153 in forum CSS Forum
    Replies: 2
    Last Post: 13-11-2007, 09:41 AM

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


The Graphics Forum Web Design Stuff Free Decent Downloads Free Quality Wallpapers Graphics Forum Free Vista Themes
The Top The Best Images Tech Talk 247 Logo Design - $149 Affordable Stock Vector Illustrations Creativecurio - Design Blog Graphic Design Advertising

Check the forum often for the latest design announcements. Everything from graphic design and web design, to films and music. Estetica is a great place for people to get together and help each other out.



Web Hosting - UK Web Hosting services for business or personal website hosting needs.

Dedicated Servers - A full range of Managed Dedicated Server solutions suitable for all your requirements.

Graphic Design Blog | Web Design Forum | Graphic Design and Print Forum | Graphic Design Links | Advertise On This Site

Web Design UK | Vision.To Design | Leaflet Printing | Estetica Design Forum's Privacy Policy

Flyer Printing | Photography Blog | Design Forum Links | Logo Design | Graphic Design Social Network | Logo Design

Graphic Design Tutorials | Logo Designer | UK Logo Design Studio | Land for sale | Vector Art Blog | Leaflet Printing

Free Web Hosting | Custom Logo Design - $149 Only | Affordable Print Design Templates | Small Business Logo Design | Company Logo Design

Logo Design Service | Logo Design Firm | Logo Design Reseller | Custom Logo Design | Letterhead Printing | Flyer Printing | Business Card Printing

Printing | Leaflet Printing | Online Backup | T-Shirt Printing | Personalised Mugs | Canvas Printing | Free Web Hosting Comparison Site