PDA

View Full Version : I cannot add Custom Lists


fauzool
01-24-2011, 08:06 PM
Ive made some lists into dreamweaver and It isnt showing up and im not sure why.
>I put my sentence<
</p>
<ul type="disc" class="list_money">
<li class="list_money"> </li>

Style T Black CSS

}

.list_money {

margin-left: 90px;

width: 410px;

}

Corrosive
01-24-2011, 08:08 PM
No closing </ul> tag maybe?

gentleone
01-24-2011, 08:15 PM
and maybe some content in the list item?

Corrosive
01-24-2011, 08:16 PM
and maybe some content in the list item?

Good spot! Totally passed me by...

fauzool
01-24-2011, 08:58 PM
and maybe some content in the list item?
What do you mean? and I do have ending now.

Corrosive
01-24-2011, 09:03 PM
The list is empty...

<li class="list_money">needs something here!</li>

fauzool
01-24-2011, 09:05 PM
The list is empty...

<li class="list_money">needs something here!</li>
Oh I do have something there, but its still not working.

gentleone
01-24-2011, 09:14 PM
can you post the full code of your HTML and CSS?

Corrosive
01-24-2011, 09:16 PM
Why have you added the class list_money to both the UL and the LI items? Also add the 'disc' styling to the CSS and take it out of the HTML;

HTML:
<ul>class="list_money">
<li> Item</li>
</ul>

CSS:

.list_money {
list-style-type: disc;
margin-left: 90px;
width: 410px;
}

Although I believe that 'disc' is actually the default anyway.

If that doesn't work then comment out the CSS altogether and check it displays then.