Mobile Friendly Website

CSSPLAY

Doing it with style

position fixed COMMENTS

Welcome to my Comments Pages

Please note. I get a few hundred emails a week from visitors asking for help, or posing questions on how to modify my demos to suit their application and I read them all. Unfortunately I only have a limited amount of time to spend answering these questions.

So if I do not reply, please do not be offended, and if I do reply then you are one of the lucky ones.

If you are asking for permission to use any of my demonstration then please email me with your request stu{at}cssplay.co.uk.

Post a comment


Current posts

Anonym:-
I have been looking for a solution to the ie6 fixed position problem for a while now and have to say this is the dogs cahooners! Magic fix, Stu deserves a congressional medal of honor if he's american or a nighthood if he's british. Or whatever other honour that can be given to him.
(15.07.2006, 04:37)

Greg:-
This seems to work great for IE6. One problem is that my script "window.scrollTo(0,0)" will not work. Any ideas?

I guess this is because the window has no scroll bar anymore, the scroll bar you see is created and the main one hidden right?
(30.09.2006, 02:37)

xet7:-
Hi,
on my pages using this hack, it works for IE7 when I change it to use it for all IE versions (or upto IE7):
<!--[if IE]>
<style type="text/css">
/*<![CDATA[*/
html {overflow-x:auto; overflow-y:hidden;}
/*]]>*/
</style>
<![endif]--><!--[if IE]>
<style>
/*<![CDATA[*/
#adsie {position:absolute; top:10px; left:0;}
/*]]>*/
</style>
<![endif]-->
(08.11.2006, 10:13)

andrew:-
you are a winner and a legend.
thankyou.
it still took me days to work out that the xml header <?xml version="1.0" encoding="UTF-8"?>
puts IE into quirks mode (bad),
and that you can't even have a background image fixed in the not-fixed part of the page,
and you can't have z-indexes on the non-fixed parts either (because z-indexes only work on positioned objects).
But i overcame those troubles, and you showed the way.
it's coming together at jigzag.com/index.php
(12.12.2006, 12:12)

ady:-
You the man! No, you the man! :) I love this hack, it's absolutely brilliant. Thank God for people like you. Keep up the good work! It's nice to know that when there's a bug, there's also smb who knows how to fix it. Thanks!
(22.02.2007, 20:09)

Ejaz Asi:-
I wonder if one can make the links in the static header or nav load the content in the content section without reloading the entire page. Would that be AJAX like example or we only have traditional frames to work with for this particular need?
(28.02.2007, 19:22)

j:-
will this work with a centered layout (where the page remains centered when the browser is re-sized.)

curious... because i have a tab on the left of my page that uses this absolute hack but it does not move with the rest of the page.

j
(02.04.2007, 08:31)

THE DREAMSMITHY:-
CONGRATS MAN! Now, how we can use this hack in print media type sheet? Can yoou help me?
(04.05.2007, 18:36)

Bob:-
Stu, I cannot for the life of me get this to work on users.rcn.com/rtberg/Adam/animag1.htm, and it's making me buggy. I have tried everything--the overflow, the 100%, the * html, getting rid of the one "position:relative" in my CSS--and it just won't work on IE6. Can you tell me what's wrong? I would be most grateful, as we'd like this to be available to as many people as possible, and the fixed ToC makes a big difference. Thank you.
(02.09.2007, 05:54)

max:-
There are 2(!) vertical scrollbars in ie6. Good solution :/
(03.10.2007, 07:10)

10 of 107 comments (part 4). [ « ] [ » ] [ * ]



Post

Your comment:

Your Name:

Stu's First Name - 3 letters (required)

Thanks to Alex for this script.

Please enter your comments for this site page.
Please note that all posts are moderated.

Posting rules

HTML is turned off
Maximum word length is 80 characters.
Messages limited to 1200 characters.
Web links should not include 'http://'

Support CSSPLAY

Your donations keep CSS PLAY running.
If your donation is for the use of a demo then please email me with the demo url after making your donation.


CUSTOM SEARCH

Facebook Twitter rss feed Facebook Fan Page