/    Sign up×
Community /Pin to ProfileBookmark

Border with images

Hello together, I am trying to use images for my left & right borders, but somehow they were not displayed… has anyone of you an idea why it doesn´t work?
The path of the pictures are working 100%.
I refered to this article:
[url]http://www.css3.info/preview/border-image/[/url]

This is my CSS

[CODE]body {
border-left-image: url(abc.jpg);
border-right-image: url(abc.jpg);
}[/CODE]

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@CaptainSessaSep 20.2011 — My guess would be that you cannot apply these properties to the body selector, but only to things that actually have a border (and the body does not afaik), but I'm not sure.

i think what you're trying to do is best achieved with 2 divs placed left and right of your content and using the background property afterwards!
Copy linkTweet thisAlerts:
@Major_PayneSep 21.2011 — Using those CSS properties means you have to use a browser that supports CSS 3. Possibly it is not working because you left off the other attributes required.
×

Success!

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