[thelist] crashing code

Aylard JA (James) jaylard at equilon.com
Tue May 23 12:43:19 2000


Annie,

> For some godforsaken reason, this document (code below) is 
> causing IE5 to
> crash when I try to open it.

	It doesn't crash my copy of IE 5.01 running on NT4. You do have some
nesting errors that *might* be the cause of a problem, however. 

<span style ="color:#ffffff; font-size:12px; 
> line-height:20px">
>             Specializing in
>             <ul>
>             <li>international shipping</li>
>             <li>admiralty litigation and arbitration</li>
>             <li>general commercial and corporate litigation
>             <li>guidance for domestic and international
> clients<br></span></ul>

	As an aside, I'd also recommend that you consistently close your
<li> elements. Although this is not required by the HTML 4.01 spec, it is
necessary for forward compatibility with XHTML, and as such is good coding
practice. Also, you might find it easier to manage your style sheets by
avoiding inline style declarations (i.e., using the "style" attribute), and
instead either embed them in a <style> declaration in the <head> of your
document or link them in an external style sheet. 

hth,
James Aylard
jaylard@equilon.com