[VE][79] Error Message Feedback

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 UTC