Hi, sorry i see now what you are trying to do, by wanting to center
the list itself as well.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
.mpl {
float:left;
display: block;
text-align:center;
font-size:0.9em;
padding-right:1em;
}
.mpl strong {
font-size:1.3em;
display:block;
}
.last {
padding:0;
}
</style>
</head>
<body>
<div style="margin:0 auto; text-align:center;" class="list">
<div style="display:block; text-align:center;"><strong>Center |
Center</strong></div>
<ul style="width:350px; margin: 0 auto; border: 1px solid black;">
<li class="mpl">1 - 14<br /><strong>$6.62</strong></li>
<li class="mpl">15 - 49<br /><strong>$5.00</strong></li>
<li class="mpl">50 - 199<br /><strong>$3.76</strong></li>
<li class="mpl last">200+<br /><strong>$3.38</strong></li>
</ul>
</div>
</body>
</html>

I added some code to the listing actually, just margin: 0 auto and a
border to see how far the list reaches out. This displays centered in
IE7,IE6,FF,Safari,Opera.

-- 
So long, and thanks for all the fish!
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to