You are here: Horizontal List Issue « HTML « IT news, forums, messages
Horizontal List Issue

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация