Mobile Friendly Website


Doing it with style

conditional comments 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}

Post a comment

Current posts

<!--[if IE 6]-->
You are using EITHER Internet Explorer version 6<br />
OR a non-IE browser

Ifôve found out, that this will have the same result.
greetings Julian
(10.04.2006, 17:50)

Hi Julian,

I did try that but found that IE6 prints out the --> as well. So i put in <! to get rid of this.
(10.04.2006, 18:09)

It does also work with
<!--[if IE 6] -->
<h1>You are using EITHER Internet Explorer version 6<br />
OR a non-IE browser</h1>
<!--[endif] -->

adding a space between the '[if IE 6]spc-->' and
(10.04.2006, 19:03)

Well you´re right i´m using space in my sourcecode as well
(11.04.2006, 17:09)

Doesn't work with the !IE version though ;o)
(11.04.2006, 17:56)

Sorry Julian, I take it all back. It doesn't work this way.
Try it with [if IE 7] and it will display the text even if it is IE 6.
<!--[if IE 7]><!-->
<h1>You are using EITHER Internet Explorer version 7<br />OR a non-IE browser</h1>
will not display anything if you are using IE 6.
(11.04.2006, 19:09)

6 of 16 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