Your problem seems to be a bit complex.
I assume, you don´t really know how to handle CSS and/or XHTML... but... I´ll try to give you some hints without explaining too much...
Let me just guess:
First of all your surrounding DIV (class .thumbscontainer) might need a certain width, assume 400px wide.
Do this by preventing some CSS like this (place it in your template between <head> and </head>)
.thumbscontainer {
padding: 0;
margin: 0;
width: 400px;
}
After that, your "container" will be 400px wide.
I´d float every <li> in that container to the left, giving every <li> a padding/margin of about 10px to the left.
That would be:
.thumbscontainer ul {
padding: 0;
margin: 0;
}
.thumbscontainer li {
float: left;
padding: 0 0 0 10px;
}
All put together:
<script type="text/css">
.thumbscontainer {
padding: 0;
margin: 0;
width: 400px;
}
.thumbscontainer ul {
padding: 0;
margin: 0;
}
.thumbscontainer li {
float: left;
padding: 0 0 0 10px;
}
</style>
Check this out and we might get a bit further down that rocky road
Cheers!