/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] CSS Custom Bullets

Hey all,

Im having a rather stupid issue, the custom bullet points I made for my un-ordered lists are not showing up. Here is my code:

[CODE]
#points ul {
list-style-image: url(images/bullet.png) left no repeat;
}
[/CODE]

Any ideas?

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@holyhttpOct 26.2012 — Your CSS style is not properly written;

#points ul {

list-style-image: url(images/bullet.png) left top no-repeat;

}

You should play with the margin-left and padding-left ( 20px) to display the icon then adjust its position by changing those values.

I generally recommend:

#points ul {

list-style: none;

margin-left:0;

padding-left:0;

}

#points ul li{

background-image: url(images/bullet.png) left middle no-repeat;

margin-left: 15px;

padding-left: 20px;

}
Copy linkTweet thisAlerts:
@UAL225authorOct 26.2012 — Yea, after I wrote this, I saw where i was goofing! DOH!

Thanks anyways!
×

Success!

Help @UAL225 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.19,
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,
)...