•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 401,693 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,757 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1589 | Replies: 2
![]() |
•
•
Join Date: Oct 2004
Location: San Francisco, CA
Posts: 338
Reputation:
Rep Power: 4
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]
![]() |
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- HTML CSS bullet style (HTML and CSS)
- What is wrong wtih my css? (JavaScript / DHTML / AJAX)
- Problems with Linked Lists in C (C)
Other Threads in the HTML and CSS Forum
- Previous Thread: On Paste
- Next Thread: Border help in CSS



Linear Mode