Mobile Friendly Website

CSSPLAY

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}cssplay.co.uk.

Post a comment


Current posts

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

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

Stu:-
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)

Stu:-
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
[endif]spc-->
(10.04.2006, 19:03)

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

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

Stu:-
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.
Whereas
<!--[if IE 7]><!-->
<h1>You are using EITHER Internet Explorer version 7<br />OR a non-IE browser</h1>
<!--<![endif]-->
will not display anything if you are using IE 6.
(11.04.2006, 19:09)

6 of 16 comments (part 2). [ « ] [ * ]



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