This is why it is better to set all margins/padding to zero and just adjust them where necessary. You can use conditional comments:
<![if IE 7]>
#myul{
margin:0;
padding:0;
}
<![endif]>
This only works for IE.
Here's a link with more info about the list problem.