I have an HTML page that forces line breaks between Lined items "<LI>" in an outline. The problem is that these forced line breaks appear when viewing the page in IE 5.0, but not in IE 6.0? What is the difference and how can I get them to appear in both browsers?
Your quotes are illegal and wreak havoc with my HTML validator.
Josh
Get these: MozillaOperaOpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
I haven't had a problem with any of the quoted styles. The reason I am doing it this way is because the html page is dynamically written from VB and is converted from Rich Text in many places. I am not getting an error with any of the Font or text styles. The only difference I am seeing is that between the line items in internet explorer 5 there are blank lines between the headings where in Explorer 6 there are not. Try changing the text file to an html file and view it in your web browser.
An <OL> tag cannot contain another <OL> tag, only <LI> tags. What's happening is that IE5, in its ignorance, is happily rendering invalid HTML, while IE6 and Mozilla are correctly ignoring the invalid html. And your quotes are closing too early - technically, your style attribute is closed by the first quote after font-family: , the CG Timers floats in space, and the quote after that doesn't have a matching closing quote.
Josh
Get these: MozillaOperaOpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Right - the <li> tag can containing almost anything, but the <ol> tag itself can only contain <li> tags.
Josh
Get these: MozillaOperaOpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.