/    Sign up×
Community /Pin to ProfileBookmark

Bullets are not displaying

I’m trying to make a small module (like a widget) that is a children of many <divs>, <tables>, etc. which may of some css declaration in a css file. I’m trying to insert a list (using <ul> <li>’s) but their bullets are not showing up by default.

I’m thinking that my list is inherting a css property from its parent that is preventing the bullets to show up. But im unaware some of the css properties that can even do that. If this is the case, what css property do i have to set in the <ul> or <li>’s to override this inherited property?

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@House_of_HausOct 12.2006 — Its hard to say without seeing your code, but the default value for ul list type is list-style-type:disc
If you put that in your <ul> tag, that will overwrite any previous style declaration.
Copy linkTweet thisAlerts:
@burnt1ce85authorOct 12.2006 — You're right. In javascript i made my ul as this ulRssList.className = document.createElement("div");

obviously, it's suppose to be ulRssList.className = document.createElement("ul");

sorry.........
Copy linkTweet thisAlerts:
@KravvitzOct 12.2006 — Don't you mean this?
var ulRssList = document.createElement("ul");
×

Success!

Help @burnt1ce85 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 5.18,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...