Posted by Doug on 11/02/06 21:43
Hi all,
I would like to display the list horizontally. I've learned that the li
style need to be inline.
I have the code as follow but it doesn't work.
Thank you for helping
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<ul>
<li style="display:inline;">
<div>
<table border="1">
<tr>
<td>
<td><input type='text' id="fieldName1" value="Field
1"></input></td>
</td>
</tr>
</table>
</div>
</li>
<li style="display:inline">
<div>
<table border="1">
<tr>
<td>
<td><input type='text' id="fieldName1" value="Field
1"></input></td>
</td>
</tr>
</table>
</div>
</li>
<li style="display:inline">
<div>
<table border="1">
<tr>
<td>
<td><input type='text' id="fieldName1" value="Field
1"></input></td>
</td>
</tr>
</table>
</div>
</li>
</ul>
</body>
</html>
Navigation:
[Reply to this message]
|