www.webdeveloper.com
Results 1 to 6 of 6

Thread: Text on 2nd bgimg!

  1. #1
    Join Date
    Nov 2008
    Location
    Hazleton, PA
    Posts
    19

    Question Text on 2nd bgimg!

    Okay, I have 2 bgimgs, and I want to make it so that the text I have overlayed on the second bg image has a margin all around it. Can anyone help me?

    This is my first post about css, so if I'm not making sense, let me know.

  2. #2
    Join Date
    Feb 2003
    Location
    Aberdeen, Washington, USA
    Posts
    1,859
    Moving to the proper forum...

  3. #3
    Join Date
    Nov 2008
    Location
    Hazleton, PA
    Posts
    19
    K! What category should I have put it under? And, can you help me out? I'm really getting frustrated with it.

  4. #4
    Join Date
    Feb 2003
    Location
    Aberdeen, Washington, USA
    Posts
    1,859
    Let me see if I understand you correctly... You want to have an outline around some text that you are positioning over a background image via CSS? If I do understand you correctly then, I don't believe that is possible with plain CSS. You could always add the text to the background image and add the outline in your imaging program.

    However, if you wish to get more complicated, I think I have an idea. You could have two layers with the same text. Position one above the other via CSS positioning and z-index. Then make the text in the back a larger size than the text in the front. That should give you the effect of an outline.

    Does that help at all?

  5. #5
    Join Date
    Nov 2008
    Location
    Hazleton, PA
    Posts
    19
    Actually, as strange as it may sound.....even though you and I weren't talking about the same thing....it gave me an idea. Thank you!

  6. #6
    Join Date
    Feb 2003
    Location
    Aberdeen, Washington, USA
    Posts
    1,859
    Ha! Cool.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles