Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1758 | Replies: 2
•
•
Join Date: Oct 2004
Location: San Francisco, CA
Posts: 338
Reputation:
Rep Power: 5
Solved Threads: 2
I want to make a list where the list is complexly aligned against the left hand side. Here is an example code snippet that I am using, I put the list inside a black table so you can see the gap. How do I get rid of them?
http://dems.brangle.com/list.jpg
[html]<html>
<head>
<style type="text/css">
ul {
list-style-type: disc;
}
td {
color: #FFFFFF;
text-align: left;
vertical-align: top;
background-color: #000000;
width: 300px;
}
</style>
</head>
<body>
<table><tr><td>
<ul>
<li>Link 1</li>
<li>Link 2</li>
<li>Link 3</li>
</ul>
</td></tr></table>
</body>
</html>[/html]
http://dems.brangle.com/list.jpg
[html]<html>
<head>
<style type="text/css">
ul {
list-style-type: disc;
}
td {
color: #FFFFFF;
text-align: left;
vertical-align: top;
background-color: #000000;
width: 300px;
}
</style>
</head>
<body>
<table><tr><td>
<ul>
<li>Link 1</li>
<li>Link 2</li>
<li>Link 3</li>
</ul>
</td></tr></table>
</body>
</html>[/html]
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)






Threaded Mode