12

Possible Duplicate:
CSS Font Border?

Is it possible to set a 'text-border' with CSS?

Best would be to have multiple borders? something like on the image

enter image description here

1
  • I would look into fonts like google.com/webfonts Commented Jan 27, 2013 at 22:43

3 Answers 3

21

Well you could try a font shadow. Something with multiple borders might have to be done with an image though.

           text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
Sign up to request clarification or add additional context in comments.

3 Comments

this will not do the efect from the image. I want to make a consistent line around the letter, but with a little spacing from the letter
I luv you @AgnosticDev. You really saved a lot of my time
Glad I could help out @Ben Lind
3

I think you may want to take a look at CSS text-shadow

http://www.quirksmode.org/css/textshadow.html

You cannot achieve multiple borders but you can do some amazing things with it:

http://line25.com/articles/using-css-text-shadow-to-create-cool-text-effects

(i love that neon effect :)

1 Comment

Cool stuff, thanks for the link! The "anaglyphic" effect is my favorite.
-1

You could simulate stroked text as in this previous answer:-

Outline effect to text

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.