W3C home > Mailing lists > Public > www-validator@w3.org > February 2005

[VE][79] Error Message Feedback

From: Artemis <artemisdream@tin.it>
Date: Sat, 19 Feb 2005 15:49:25 +0100
Message-ID: <000201c51692$36f96f00$47723752@dream>
To: <www-validator@w3.org>

There's an error on validator. I wrote this script:

<script type="text/javascript">
if (screen.height < 768) {
 document.write('<div id="t1" style="height: 30px; width: 150px"></div>');
}
else {
 document.write('<div id="t1" style="height: 50px; width: 100px"></div>');
}
</script>

It considers only the </div> at the and of expression, probably because the 
initial tag is after a ':

'<div ...>


Bye

Artemis 
Received on Sunday, 20 February 2005 03:35:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:18 GMT