我删除了许多法典。 所需守则如下。 页: 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML >
<HEAD>
</HEAD>
<BODY>
<DIV style="border:1px solid #000;">
<SPAN style="MARGIN-LEFT:20px;">
Previous
</SPAN>
<SPAN style="FLOAT:right; MARGIN-RIGHT:20px;">
Next
</SPAN>
</DIV>
</BODY>
</HTML>
All I want is to display previous and next on the same line. It looks one below another in IE7, but OK in FF and Opera. Chrome was not tested yet. Also, when I remove
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
,
then Opera displays that two words not in one line as well.
All I want is to display the word "Previous" to the left and "Next" to the right within div and in one line.
What s the best way to fix it? Thank you.