Advanced Search

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

Thread: position problem in IE 6

  1. #1
    Join Date
    Oct 2008
    Location
    kolkata, india
    Posts
    75
    Thanks
    2
    Thanked 10 Times in 10 Posts

    Question position problem in IE 6

    can anybody tell me how can I make IE 6 understand the "position".. i.e
    Code:
    postion:fixed, absolute;
    whatever?

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    I think you are looking for the star html hack. Here is an article that might be helpful:

    http://ryanfait.com/resources/fixed-positioning-in-internet-explorer/
    Eddy Proca
    I love Dropbox. Get it through my girlfriend's referral link (I reached my limit) and both you and her get 500 MB extra! Thanks and you're welcome!

  3. #3
    Join Date
    Oct 2008
    Location
    kolkata, india
    Posts
    75
    Thanks
    2
    Thanked 10 Times in 10 Posts

    Default

    thanks snookerman.

    but it does not work. IE 6 cannot understand that hacking u have suggested in the url.

    i want to make my div position fixed. in all browsers.but i failed to do that in IE 6 .
    can anybody help me..

  4. #4
    Join Date
    Oct 2007
    Posts
    43
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    Code:
    position:absolute;
    This works for me in IE6 and all the other browsers I test in (IE7, Firefox, Chrome, Safari, Opera, Avant, Maxthon)

    The boxes I have look like this:

    Code:
    #info1 {
    	position:absolute;
    	top:250px;
    	left:525px;
    	width:200px;
    	background:url(../images/bg.png);
    	border:thin solid #999999;
    	padding: 5px;
    	font-size:0.8em;
    }

  5. #5
    Join Date
    Oct 2008
    Location
    kolkata, india
    Posts
    75
    Thanks
    2
    Thanked 10 Times in 10 Posts

    Default

    i wanna use position fixed . I cannot make it out in IE 6 only..is there any tricks to do that?

  6. #6
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    I suggest you take a look at the link I provided again. Using position absolute with the hack will act as position fixed in IE6.

    If you could please post a link to your site I could try to fix your problem (pun not intended ).
    Eddy Proca
    I love Dropbox. Get it through my girlfriend's referral link (I reached my limit) and both you and her get 500 MB extra! Thanks and you're welcome!

  7. #7
    Join Date
    Dec 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default May be this will solve ur problem

    Quote Originally Posted by marynorn View Post
    Code:
    position:absolute;
    This works for me in IE6 and all the other browsers I test in (IE7, Firefox, Chrome, Safari, Opera, Avant, Maxthon)

    The boxes I have look like this:

    Code:
    #info1 {
    	position:absolute;
    	top:250px;
    	left:525px;
    	background:url(../images/bg.png);
    	border:thin solid #999999;
    	padding: 5px;
    	font-size:0.8em;
    }
    just remove width and try it...

  8. #8
    Join Date
    Oct 2008
    Location
    kolkata, india
    Posts
    75
    Thanks
    2
    Thanked 10 Times in 10 Posts

    Default

    Actually i wanted to make a div position fixed in all browsers.. including IE 6, if I scoll the page vertically.. i want to make the div in the same place as it did in firefox.. but all these tricks failed in IE 6. can anybody help??

  9. #9
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    If you look at my last post in this thread you can see a simple example of fixed positioning that works in all browsers including IE6 using the html star hack:
    http://www.dynamicdrive.com/forums/showthread.php?p=175559

    I'm sure you can rewrite it to work on your site, good luck!

    Edit: Just noticed that post was for you as well
    Eddy Proca
    I love Dropbox. Get it through my girlfriend's referral link (I reached my limit) and both you and her get 500 MB extra! Thanks and you're welcome!

  10. #10
    Join Date
    Dec 2008
    Location
    Seoul, Korea
    Posts
    1
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default um....

    I think you are looking this page...

    but this page Korean!!!!

  11. The Following User Says Thank You to come2mecome For This Useful Post:

    monicasaha (12-31-2008)

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
  •