Log in

View Full Version : position problem in IE 6



monicasaha
12-12-2008, 07:35 AM
can anybody tell me how can I make IE 6 understand the "position".. i.e

postion:fixed, absolute; whatever?

Snookerman
12-12-2008, 08:04 AM
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/ (http://ryanfait.com/resources/fixed-positioning-in-internet-explorer/)

monicasaha
12-12-2008, 09:05 AM
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..

marynorn
12-12-2008, 10:40 AM
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:


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

monicasaha
12-12-2008, 12:06 PM
i wanna use position fixed . I cannot make it out in IE 6 only..is there any tricks to do that?

Snookerman
12-12-2008, 02:52 PM
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 :rolleyes:).

kaushal76
12-16-2008, 07:39 AM
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:


#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...

monicasaha
12-22-2008, 01:26 PM
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??

Snookerman
12-22-2008, 03:12 PM
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 (http://www.dynamicdrive.com/forums/showthread.php?p=175559)

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

Just noticed that post was for you as well

come2mecome
12-26-2008, 07:53 AM
I think you are looking this (http://naradesign.net/wp/2007/09/08/128/) page...

but this page Korean!!!!

bluewalrus
12-26-2008, 08:15 AM
English: http://translate.google.com/translate?hl=en&ie=UTF-8&u=http%3A%2F%2Fnaradesign.net%2Fwp%2F2007%2F09%2F08%2F128%2F&sl=ko&tl=en&history_state0=

monicasaha
12-31-2008, 12:41 PM
thank u that really works...