Results 1 to 5 of 5

Thread: Make a text with a outline??

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Location
    Kalix, Norrbotten, SWEDEN
    Posts
    343

    Make a text with a outline??

    What I want to do is make a text that has an outline around it.

    Can this be done with CSS???

    I could do this by making the text into a image, but would like to know if this could be done with CSS instead. Wouldnt that speed up things a little...

    To clarify what I mean with a outline:

    If the text is white, I would like a small "border" around the letters in black....

    /Smirre
    Visual Basic
    C, C++
    Java
    Access
    SQL Server

    MCP, MCSD

  2. #2
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    You can do this will css. Try this:

    Code:
    <span id="border:1px solid black; color:white;">Some Text</span>
    If you want some futher information check here http://www.w3.org/TR/REC-CSS1#border
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Location
    Kalix, Norrbotten, SWEDEN
    Posts
    343
    Not a border around the div....

    A outline around the text, make the text with two colors....
    One around the text, and one fill color...
    Visual Basic
    C, C++
    Java
    Access
    SQL Server

    MCP, MCSD

  4. #4
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    oh right. sorry I misunderstood the question. I.E. has it's own built in filter to do this but theres nothing in the standard that's supported by any browsers to achieve it.

    Code:
    <span style="width=60%; filter:glow(color=green;strength=5;);">Some Text</span>
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Location
    Kalix, Norrbotten, SWEDEN
    Posts
    343
    Ok...

    then I have to do small images instead...

    Thanks!
    /Smirre
    Visual Basic
    C, C++
    Java
    Access
    SQL Server

    MCP, MCSD

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width