Link to home
Start Free TrialLog in
Avatar of shaun_hester
shaun_hester

asked on

Outline Text on Webpage

What i'd like to do is to decorate some text with an outline, in the same way you can put a border around a table i'd like to put an outline on the text.
Avatar of glcummins
glcummins
Flag of United States of America image

You can use CSS to add a border around an element, like this:
<p style="border: 1px solid blue">Your text here</p>

Open in new window

Avatar of shaun_hester
shaun_hester

ASKER

Sorry perhaps i did clearly state what i meant, i don't what a border around the text area, i what the text itself to be outlined. Just like an underline or strikethrough can be applied to the text.
I don't know of any way to outline text itself. Borders can be added to nearly any element (p, span, a, input, etc), but not to the text. You can place your text in any of those elements, and add the border as needed.

For more information, please see:

http://www.w3schools.com/css/css_border.asp
ASKER CERTIFIED SOLUTION
Avatar of Valleriani
Valleriani
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can add a border to the text area using css. but a border is not what i'm looking for, i what the text OUTLINED
As you can see here, how they do it is by overlapping words over words over words. It makes a 'glow' effect. Some are midly easy though, but yeah, you'd need to define the text more then once. It makes pages DIRTY.