/    Sign up×
Community /Pin to ProfileBookmark

Hi All,

When using css shadow text on a colored background html page as following code,

<div style=”font-size:60px;letter-spacing:normal;font-style:normal;font-family:verdana;color:red;filter:Shadow(color=#0000FF,strength=10);height:60px;”>TESTING</div>

it looks okay on the browser. However, when printing out the page a white background appears round the text area. How do you get rid of it?

Tao

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@memarkMay 04.2005 — "filter" is a CSS attribute that only works in Internet Explorer. Users of other browsers will not see your shadow at all! I think you should try to avoid it. (Sorry for not being able to help.)
Copy linkTweet thisAlerts:
@Ivan_BliskavkaMay 05.2005 — In case you do not figure out how to fix the shading, you can

create a "printer friendly" stylesheet with no shadow filter.

<link rel="stylesheet" href="print.css" media="print">

<link rel="stylesheet" href="screen.css" media="screen">

Just link them up in the document.
×

Success!

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