Forum Moderators: not2easy
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
but when viewed in IE the numbers are 1., 1., 1... , but in Firefox, they render correctly 1., 2., 3......
here is the list where I've tried it two different ways:
<ol>
<li>Ut wisi enim ad minim veniam...</li>
<li>Lorem ipsum dolor sit amet, consectetuer...</li>
<li>Duis autem vel eum iriure dolor...</li>
<li>Lorem ipsum dolor sit amet...</li>
<li>Ut wisi enim ad minim...</li>
</ol>
have also tried...
<ol>
<li><p>Ut wisi enim ad minim veniam...</p></li>
<li><p>Lorem ipsum dolor sit amet, consectetuer...</p></li>
<li><p>Duis autem vel eum iriure dolor...</p></li>
<li><p>Lorem ipsum dolor sit amet...</p></li>
<li><p>Ut wisi enim ad minim...</p></li>
</ol>
has anyone seen this problem or know how to fix it?
Lists are much better to use as they are well recognized in accessibility, usability, and also aid in SEO, don't use images for the numbers.
IMHO you should code using xhtml 1.0 transitional (released 1998) instead of 4.01 which is like 12 years old now lol... Changing DTD shouldn't have any effect on your current problem though.
you should code using xhtml 1.0 transitional
Can you elaborate on why one should be using xhtml 1.0 if you're not actually doing any extensible markup?
Choosing the right doctype for your web site [webmasterworld.com]
Why most of us should not use XHTML Doctype [webmasterworld.com]
Can you give us the URL?