Click to See Complete Forum and Search --> : LIST tag / doc declaration not working right


Duke Will
08-19-2003, 07:43 AM
I have an unordered list in my page that the bullets are not showing up in Mozilla. Through W3 validator, I had it down to 8 errors but now I'm back up to 53 errors. Maybe a conflict of something with the first line, the document declaration? What the heck am I supposed to put for the declaration?

The page is http://www.dukewill.com/index.html and the LIST is not very deep into the page. I even put closing tags at end of each list item but that didn't fix it. Are you supposed to use those? Are you supposed to begin and end a <UL> with a <P> tag?

pyro
08-19-2003, 08:04 AM
I'd be willing to bet that the bullets are there in Mozilla, but you can't see them, because you have a black background. Try adding this to the <head>:

<style type="text/css">
ul li {
color: #ffffff;
background-color: transparent;
}
</style>

Duke Will
08-19-2003, 10:03 AM
Wow, you're smart. That is exactly right. Man, something as "simple" as a bullet, you would think Mozilla would figure that out like IE. Thanks!

Say, anything you can tell me what to "say" in the document declaration? I've read up on it but they confuse me. When I'm creating HTML by hand, I just want to know what to put up there in that first line.

pyro
08-19-2003, 10:27 AM
Actually, when you think about it, Mozilla gets it right. Why should the browser change the color of the bullet point, unless you specify that it should be changed?

As far as doctypes go, take a look at http://www.webdevfaqs.com/html.php#doctype and perhaps http://www.webdevfaqs.com/html.php#validate. If you want a more comprehensive explination of doctypes, see http://www.alistapart.com/stories/doctype/