Mobile Friendly Website


Doing it with style


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}

Post a comment

Current posts

Sorry to burst the bubble - but the 'now working with anchors' is simply not true. I had problems with anchors jumping beneath the header for a year now & tried to tackle with it more than once.
Then I stumbled over your example which seemed to get it goin' & I was all "Hail Stu - Almighty CSS-God"... but it appears I gave you credit before you actually deserved it: You just positioned that #middle anchor high enough above the actual element that is the middle of you content so that the anchor jumps correctly. That's not really "working with anchors"... :(
As I didn't get this thing solved for a year now, I do not deserve much credit either, I know. I'll now eventually resort to an ugly Javascript-solution by use of the behaviour-library. It seems to be the REALLY ONLY way to get anchors to jump correctly. *sob*
(26.03.2007, 21:21)

Tobias, if you don't mind it not quite working in IE5.01 and IE5.5 then there is an answer that does work in IE6, FF, Opera etc
(26.03.2007, 23:07)

Basic3 is a possibility - but my client wants the vertical scrollbar at full height of the browser-window and is quite deaf when I'm trying to explain why it might be smart to do otherwise. But that's just the way clients are, I guess!
Thanks anyway! My co-worker and I have now implemented some fancy JS-scroller that scrolls down when clicking on an anchor. It's not clean, nice, accessible and needs JS enabled - but it makes our client happy because it's fancy and his beloved scrollbar is at full height... ;)
(29.03.2007, 11:45)

Tobias, clients eh.....who'd 'ave 'em?
(29.03.2007, 13:11)

Marco Soria:-
Is there a way to achieve this using a static width, lets say 900 px, and to align header, content and footer in the center of the screen?
(09.04.2007, 02:38)

Your style is beautiful. Thank you for the poetry.
(29.08.2007, 04:13)

Toomas Lepik (Estonia):-
Vau. Just when I had a thought to make
a beautiful page and was searching for
something like "back to basics 2", it
was there. Perfect! Keep up the good work :)
(05.03.2008, 22:04)

Is it possible to add a background image that will stay visible for the entire site? Like one big fixed image in the middle.
(30.03.2008, 10:28)

brilliant , i was looking this for ages, thanks so much
(30.07.2008, 14:00)

Great code Stu, Fixed Layout version 2 works a treat and in IE7.

Note, if using a fixed width element in the scrolling content, IE6 needs "width: 100%;" otherwise you lose scrollbars off the edge.
(04.09.2008, 05:52)

10 of 68 comments (part 2). [ « ] [ » ] [ * ]


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://'


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.


Facebook Twitter rss feed Facebook Fan Page