naifyboy123
asked on
decorate text
hi
is there a way to decorate text using css?
i dont just mean underline and overline.
i am looking to add a small black line that flows around the letters of some white text.
is there a way to decorate text using css?
i dont just mean underline and overline.
i am looking to add a small black line that flows around the letters of some white text.
ASKER
hi roonan
that's not what i mean.
i meant to decorate text as per http://www.flowersdelivereduk.com/image.html
you will notice the green background - but the white text has a small black line going round it like a border.
that's not what i mean.
i meant to decorate text as per http://www.flowersdelivereduk.com/image.html
you will notice the green background - but the white text has a small black line going round it like a border.
For internet explorer you might be able to use different filters.
However for this kind of things, you'd better just use a graphic.
-r-
However for this kind of things, you'd better just use a graphic.
-r-
ASKER
thanks roonan - i was afraid that would be the anwser.
the text i want to change is pulled from a db, so i can produce a grpahic.
will leave the Q open for a couple of days to see if anyone else can help.
thanks for help......
the text i want to change is pulled from a db, so i can produce a grpahic.
will leave the Q open for a couple of days to see if anyone else can help.
thanks for help......
That will be possible with CSS3: http://www.w3.org/TR/2003/CR-css3-text-20030514/#text-shadows
For the time beeing you should use graphics.
There is a trick that consists of using several different overlapping layers that contain the same text and use some offsets to give the illusion of a border, but that's not recommended because it requires artificial duplicate content.
In case you want to do that, using non-obscursive javascript to duplicate your text is the best option.
For the time beeing you should use graphics.
There is a trick that consists of using several different overlapping layers that contain the same text and use some offsets to give the illusion of a border, but that's not recommended because it requires artificial duplicate content.
In case you want to do that, using non-obscursive javascript to duplicate your text is the best option.
ASKER
thanks - do we have to wait for people to update their browsers before css3 will work? or when will it be available?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
> do we have to wait for people to update their browsers before css3 will work? or when will it be available?
Yes, CSS3 is still in its draft version. But Firefox 1.5 already implements some features of CSS3:
http://developer.mozilla.org/en/docs/Category:CSS_3
Yes, CSS3 is still in its draft version. But Firefox 1.5 already implements some features of CSS3:
http://developer.mozilla.org/en/docs/Category:CSS_3
ASKER
thanks guys - radnor offered me a solution using css - although not ideal, it is something i can implement now using css2.
thanks for all your input
thanks for all your input
> thanks guys - radnor offered me a solution using css
That's exactly what i explained in my first post.
That's exactly what i explained in my first post.
ASKER
oops sorry - i took the view that radnor posted code for me....
maybe i should get the points split....
maybe i should get the points split....
> maybe i should get the points split....
that's fine, don't worry about that...
i just wanted to make sure you read my comments on that technique.
=)
that's fine, don't worry about that...
i just wanted to make sure you read my comments on that technique.
=)
Whatever.... with the points, I'm in a CLOSE 2nd.... Cant spend em....
ASKER
yeah - thanks GrandSchtroumpf i certainly did read your comments.
i always value everything both you and Roonaan have to offer (plus all the other guys) - without your comments past and present i would never have moved on from using FrontPage!!!!
LOL
thanks everyone!
i always value everything both you and Roonaan have to offer (plus all the other guys) - without your comments past and present i would never have moved on from using FrontPage!!!!
LOL
thanks everyone!
<span style="text-decoration:ove
<span style="text-decoration:lin
-r-