/    Sign up×
Community /Pin to ProfileBookmark

LIST tag / doc declaration not working right

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 [url]http://www.dukewill.com/index.html[/url] 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?

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@pyroAug 19.2003 — 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>:

&lt;style type="text/css"&gt;
ul li {
color: #ffffff;
background-color: transparent;
}
&lt;/style&gt;
Copy linkTweet thisAlerts:
@Duke_WillauthorAug 19.2003 — 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.
Copy linkTweet thisAlerts:
@pyroAug 19.2003 — 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/
×

Success!

Help @Duke_Will spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...