On 22 Feb 2006, at 9:16 AM, Paul Hempsall wrote:
Issue 1: In the Head section of my XHTML I had an empty script element
(see below). IE refused to load the page. FF had no problem with this.
<script type="text/javascript" src="nav.js"/>
To get IE past this line in the markup I had to change the text to
read:
<script type="text/javascript" src="nav.js"></script>
Issue 2: In the body of my document I have an empty <div>. IE rendered
the page correctly. FF didn't close the element, so my CSS didn't get
implemented correctly.
<div class="clear"/>
To allow FF to process the div, I had to modify the line to:
<div class="clear"></div>
Easy. In both cases, 'self-closing' elements is incorrect. Both
<script> and <div> need full closing: </script> and </div>, whether
they're empty or not.
HTH
N
___________________________
Omnivision. Websight.
http://www.omnivision.com.au/
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************