/    Sign up×
Community /Pin to ProfileBookmark

Border with a divider (css)

hey people.

I’m looking to add a border to my dotted divider. The codes i’m currently using are:

[QUOTE]

.divider {
border-bottom:20px dotted;
color: #b1e958;
margin-bottom:10px;
margin-left:14px;
margin-right:14px;
padding:0px 0px 10px 0px;
clear:both;
}

<div class=”divider”></div>

[/QUOTE]

I’ve tried adding:

[QUOTE]

border:1px solid #000000;

[/QUOTE]

to the code but it wont work.

any ideas?

please help.

thanks.

to post a comment
CSS

5 Comments(s)

Copy linkTweet thisAlerts:
@aj_nscFeb 13.2012 — This will help you out:

http://css-tricks.com/examples/hrs/
Copy linkTweet thisAlerts:
@kevstarliveauthorFeb 13.2012 — thanks pal.

tried but I can not seem to find what I want.

I would like a thin black border around each dot.

please help. thank you.
Copy linkTweet thisAlerts:
@aj_nscFeb 13.2012 — You can't add a border around each individual dot within a border. Not possible - you'll need an image.
Copy linkTweet thisAlerts:
@cbVisionFeb 13.2012 — Here's an imageless approach using CSS3:

http://jsfiddle.net/dfreema1/rAXhX/

Only works in webkit though ... lol.
Copy linkTweet thisAlerts:
@cbVisionFeb 13.2012 — BTW, I'm not by any means recommending that approach.
×

Success!

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