Box-shadow shows around block not around text when applying it to h2?

I think you are confusing box-shadow with text-shadow.

Up vote 1 down vote favorite share g+ share fb share tw.

HTML: Set RSVP & Check in Set RSVP to remind all events you plan to go. CSS: . Div1 { float: left; margin: 0 20px 0 0; padding: 0; width: 300px; height: 156px; } .

Div1 h2 { color: #fff; font-size: 24px; font-weight:bold; box-shadow: 1px 1px 0 black; } And border appears like "table border" not the border on text: screencast.com/t/OrFfBL9MK html css box-shadow text-shadow link|improve this question edited Oct 28 '11 at 0:20nheinrich9139 asked Oct 27 '11 at 23:00.

You're confusing box-shadow with text-shadow, shown in the answer below. Also, borders don't apply to text. As of now, there is no CSS for text border/stroke.

– Joey Oct 27 '11 at 23:43.

I think you are confusing box-shadow with text-shadow. Try this: . Div1 h2 { color: #fff; font-size: 24px; font-weight:bold; text-shadow: #000000 1px 1px 0px; }.

You are my hero! :) Thx – Hello World Oct 28 '11 at 13:46 1 lol, you're welcome :) – Francisco Paulo Oct 28 '11 at 15:16.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions