/    Sign up×
Community /Pin to ProfileBookmark

Shadow-looking border at the sides of a page

Hello all you there, Im currently working on a website for my youth company’s webpage (school project). The theme is rather white & blue and therefor I’d like to know how others create that shadowy design to the right & left of a page.

I apologise for my poor English.

Here is a link on what I mean (look at the sides of the white main-content – its black/shadowy).

[URL=”http://www.welive.se/”]http://www.welive.se/[/URL]

Is it even a CSS matter? perhaps its graphical? like a bakground where they have designed it to be shadow-looking just next to the actual page? I don’t know but would really like to 😮

Thanks in advance!

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@KDLAApr 01.2008 — They use two background images:
http://www.welive.se/templates/ja_drimia/images/shadow-right.gif

http://www.welive.se/templates/ja_drimia/images/shadow-left.gif
[/quote]

Then create two divs:
#ja-wrapper2 {
background: url(../images/shadow-left.gif) repeat-y top left;
padding-left: 15px;
}

#ja-wrapper3 {
background: url(../images/shadow-right.gif) repeat-y top right;
padding-right: 15px;
}

which are nested:
<i>
</i>&lt;div id="ja-wrapper2"&gt;
&lt;div id="ja-wrapper3"&gt;
...
&lt;/div&gt;
&lt;/div&gt;
Copy linkTweet thisAlerts:
@WebEmperessauthorApr 01.2008 — Thanks alot I will try it =)
×

Success!

Help @WebEmperess 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.17,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

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