Hi,
If you can add some classes to the last 5 items you can do it like this more easily.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
ul {
margin:0;
padding:0;
list-style:none;
}
a {
text-decoration:none
}
ul.country {
width:600px;
border:1px solid #000;
float:left;
}
ul.country li {
float:left;
width:301px;
clear:left
}
ul.country li.c2 {
width:auto;
clear:none;
float:none
}
</style>
</head>
<body>
<ul class="country">
<li><a href="#" title="">Country 1</a></li>
<li><a href="#" title="">Country 2</a></li>
<li><a href="#" title="">Country 3</a></li>
<li><a href="#" title="">Country 4</a></li>
<li><a href="#" title="">Country 5</a></li>
<li class="c2"><a href="#" title="">Country 6</a></li>
<li class="c2"><a href="#" title="">Country 7</a></li>
<li class="c2"><a href="#" title="">Country 8</a></li>
<li class="c2"><a href="#" title="">Country 9</a></li>
<li class="c2"><a href="#" title="">Country 10</a></li>
</ul>
</body>
</html>
However 2 lists floated side by side would of course be the easiest of all.
Bookmarks