Rank: Advanced Member Groups: Member
Joined: 12/12/2011 Posts: 294 Points: 394 Location: Lahore
|
i need HTML codeHTML code needed to make an outline to text. So, a letter will be, for example, orange, but with a black border to each letter. Thanks.
|
Rank: Advanced Member Groups: Member
Joined: 12/12/2011 Posts: 175 Points: 234 Location: birmingham
|
i need HTML code Unless you do 4 different text-shadows?
Code is as :
text-shadow: 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000, 1px 0 0 #000; -webkit-text-shadow: 0 -1px - #000, 0 1px 0 #000, -1px 0 0 #000, 1px 0 0 #000; -moz-text-shadow: 0 -1px - #000, 0 1px 0 #000, -1px 0 0 #000, 1px 0 0 #000;
Would make a solid black border round the text.
And as above, in WebKit-based browsers (Chrome and Safari) you could use:
and its Code is :
-webkit-text-stroke: 1px #000;
|