# Table list indent problem

**URL:** <https://forum.kirupa.com/t/table-list-indent-problem/169308>\
**Category:** Uncategorized\
**Created:** [November 15, 2005, 8:17am UTC](https://forum.kirupa.com/t/table-list-indent-problem/169308 "2005-11-15T08:17:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlcoholicArt](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/alcoholicart/32/1928_2.png) [@AlcoholicArt](https://forum.kirupa.com/u/AlcoholicArt)\
**Post date:** [November 15, 2005, 8:17am UTC](https://forum.kirupa.com/t/table-list-indent-problem/169308/1 "2005-11-15T08:17:03Z")

</div>

Hi everyone!  
First time poster here with a problem. I’m making a site and stumbled on the following problem:

I’ve made a menu from this handy-dandy javascript menu found here:

[http://www.squidfingers.com/code/dhtml/expandingmenu/](http://www.squidfingers.com/code/dhtml/expandingmenu/)

works great. I made it so the list at the bottom is made via PHP. Now the problem: I wanted to create 2 rows with tables in the menu. so the code looks a little like this:

```auto
echo "<ul id='menu'>";
echo "<li>{$tabelone}";
echo "<ol>";
echo "<table width='185px' border='0' cellspacing='0' cellpadding='0'>"; 
while($row1 = mysql_fetch_array($result1)) {
echo "<tr>";
echo "<td>";
echo "<li>{$row1['date']}</li>";
echo "</td>";
echo "<td>";
echo "<li><a href='../templates/{$tabelone}.php?id={$row1['id']}' target='framemain'>{$row1['title']}</a></li>";
echo "</td>";
echo "</tr>";
}
echo "</table>";
echo "</ol>";
echo "</li>";
echo "<li>{$tabeltwo}";
echo "<ol>";
echo "<table width='185px' border='0' cellspacing='0' cellpadding='0'>"; 
while($row2 = mysql_fetch_array($result2)) {
echo "<tr>";
echo "<td>";
echo "<li>{$row2['date']}</li>";
echo "</td>";
echo "<td>";
echo "<li><a href='../templates/{$tabeltwo}.php?id={$row2['id']}' target='framemain'>{$row2['title']}</a></li>";
echo "</td>";
echo "</tr>";
}
echo "</table>";
echo "</ol>";
echo "</li>";
echo "</ul>";

```

It works but in IE I see an automatic indent. I’ve searched the web all night and I found some workaround but none work. Most of the time I found these:

margin: 0px;  
padding: 0px;  
float: left;

My question to you guys(girls): How can I fix this (if ofcourse it is possible). Hope you can help me out here.

Thanks in advance!
