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
Add a border-left and border-top to the parent. Add border-right and border-bottom to each of the children.
Use the -webkit-text-stroke Property to Apply Borders to Font in CSS. We can use the text-stroke property on a text to apply borders to a font in CSS. We need to use the webkit prefix ahead of the text-stroke property to use the feature. However, it only works on the web-kit based browsers like Safari and Chrome.
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;
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 :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With