[thelist] display="inline" and DTD HTML 4.01

super super supercop at shaw.ca
Tue Nov 22 13:33:44 CST 2005


I am stuck with a javascript rollover problem with DTD,
for some reason, after I declared DTD HTML 4.01, the display="inline" doesn't worked in firefox (worked in IE)

If I pull off the DTD, it worked in both browser,

Does somebody know whats wrong???
If the display="inline" is not good to use, is there a better way to show a layer of HTML codes for rollovers???

Thank you very much for your help, the file is uploaded and attached below for reference,

thanks again,




<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">

function displayover3(obj, where)


function displayover2(obj, where)



<body >

<table width="776" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
      <td><a href="#"
				onmouseover="displayover3();">test1</a> &nbsp; <a href="#"

      <td><span id="ob0" style="display:none">0</span><span id="ob3" style="display:none">3</span><span id="ob2" style="display:none">2</span></td>
		<td valign="top" class="otherbg">&nbsp;</td>

More information about the thelist mailing list