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

Turns out negative z-indexes are a no-no.

Back to square one. Can anyone tell me why #content won't scroll in the following example?

I know #content is positioned relatively (necessary to get the z-index working) but the Holy Grill example does the same and it scrolls just fine. :-(
(18.04.2007, 15:19)

Alan Whiteman:-
Hi Stu,

I noticed the following code in your CSS:

#menu {position:fixed; display:block; ... }
* html #menu {position:absolute;}

Is there a particular reason why the #menu selector needs to be referenced twice, with different positions?
It's kind of a mistery.
(19.04.2007, 06:45)

Alan, this is the whole point of this deminstration and the reason why it works in IE.
IE5.5 and IE6 do not understand position:fixed so they must be fed a different style. Hence the second style which uses the * html hack to target IE5 and IE6 only and gives them a position:absolute which acts like position:fixed in these browsers.
(19.04.2007, 11:35)

Alan Whiteman:-
Thank you Stu...

Great site by the way.

As for hacks, well, every site I design has the "best viewed with Mozilla Firefox" linked blurb: Anyone with IE5 or IE6, for various reasons, should really be upgrading to FF2.

Also, IE7 is rolling out more widely which should behave as expected.
(20.04.2007, 03:12)

Amazing what YOU can achieve with css. I'm working on css-based layouts for some time now but I'm far from having your skills.

(24.04.2007, 22:32)

Hi Stu ,
Your site is a great source for CSS learning. However i am jewish and take deep offense to your site. I suggest you modify some of your scripts to avoid offending religious and ethnic minorities
(12.05.2007, 00:22)

There are some truly skilled CSS'ers out there and you have to rank in the top 5!! Brilliant examples of how things can be done, simple and well explained.

Keep up the good work!!
(14.06.2007, 08:25)

very cool site. I am trying to remove frames from an application of mine with css. SO i am going through your site. Excellent work.
(16.08.2007, 01:49)

Your a genius! I always love coming to your site. And the Friar layout is great!
(21.09.2007, 01:05)


Great site...

I'm beginer with CSS, but I'm lovin't.

Indonesian CSS'ers ^_^
(17.10.2007, 11:34)

10 of 268 comments (part 5). [ « ] [ » ] [ * ]


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