04-06-2008, 01:01 AM
|
#9 (permalink)
|
|
The Contributor
Join Date: Apr 2008
Posts: 78
Thanks: 0
|
My problem turned out to be a silly coding problem. The list is in a table but the <td> was missing. I found that while I was setting up a test site to show it here. I do apologize for wasting the members time with such a mistake but I may not have found it without everyone's help.
After fixing that, there is only one problem left. The bullet is not in the same position for lists that have two lines and for one that has one line. I have uploaded an example here New Page 1 The complete code for that example is as follows. I tried playing around with the settings but I don't really know which would control something like that, even if it is controllable. I would appreciate it if someone would take a look at this last problem.
HTML Code:
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><title>New Page 1</title>
<style type="text/css">
ul {margin:0.5em 0 0 20px; list-style:none; font-family: Verdana, Arial, sans-serif; font-size: 10px; border: 0px; padding: 0px;}
ul li {
margin:0 1px 1em 1px;
background: transparent url('images/bullet.jpg') center left; background-repeat: no-repeat;
font-weight: bold;
padding-left: 20px;
}
</style>
</head>
<body>
<table border="0" cellpadding="0">
<tr>
<td>
<ul>
<li><a href="somepage.com">Line One<br>Line Two</a></li>
<li><a href="somepage.com">Line One<br>Line Two</a></li>
<li><a href="somepage.com">Line One<br>Line Two</a></li>
</ul>
</td>
</tr>
<tr>
<td>
<ul>
<li><a href="somepage.com">Line One</a></li>
<li><a href="somepage.com">Line One</a></li>
<li><a href="somepage.com">Line One</a></li>
</ul>
</td>
</tr>
</table>
</body>
</html>
|
|
|
|