Hi,
How can I use border-bottom under the full <li> rather than just the text [ Some text here...] here?
Code:
<style type="text/css">
ul.latest {
list-style-type: none;
margin: 0px;
padding: 0px 0px 5px 10px;
}
ul.latest li.latestlist {
font-weight:bold;
text-align:center
margin: 0px 0px 5px 1px;
padding: 3px 0px 5px 3px;
}
ul.latest li.latestlist a, a:visited {
font-weight:bold;
border-bottom: 1px dotted #000000;
clear: both;
padding: 3px 0px px 15px;
text-align:center
color: #1c1c1c;
}
ul.latest li.latestlist a:hover {
text-align:center
color: #000000;
text-decoration: underline;
}
</style>
HTML Code:
<div style="background: #ffffff;
border: 1px solid #C8C8C8;
-moz-border-radius: 0px 0px 8px 8px;
-webkit-border-radius: 0px 0px 8px 8px;
-khtml-border-radius: 0px 0px 8px 8px;
border-radius: 0px 0px 8px 8px;">
<ul class="latest">
<li class="latestlist"><a href="#">Some text here....</a></li>
<li class="latestlist"><a href="#">Some text here....</a></li>
<li class="latestlist"><a href="#">Some text here....</a></li>
<li class="latestlist"><a href="#">Some text here....</a></li>
<li class="latestlist"><a href="#">Some text here....</a></li>
</ul>
</div>
__________________
"Think 100 times before you take a decision, But once that decision is taken, stand by it as one man." - Quaid-e-Azam
Last edited by asmalik12; 03-29-2011 at 04:11 AM..
|