Website Help: Border To Text

Discussion in 'Web Design & Coding' started by Bman, Sep 14, 2008.

  1. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    I have this website (attached image)

    The text is by itself at the moment, I need to add a border to it, something like the second attached image.

    I have no idea how to do this. I was wondering if anyone could help. I know there is away to do it with laying text over an image, i know there is away to do it with tables, I just can't figure it out.

    Anyone want to take a shot at it?
     
    Last edited: Aug 4, 2009
  2. LordOfLA

    LordOfLA Godlike!

    Messages:
    7,027
    Location:
    Maidenhead, Berkshire, UK
    thats a div tag with a border and some images at the two rounded corners. Might even be a table.

    Why not just borrow the code and tweak it ?
     
  3. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    I didn't even think of that. Also, getting that code isn't always easy. Trying that out now.

    *edit, can't, that website is all done in Flash or something. I took the html and css but can't find the code for it.

    Do you know the code, or another way to do this?
     
  4. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    I just did it with a table, but it's of course square. Not sure how to make a table rounded corners.
     
  5. madmatt

    madmatt Bow Down to the King Political User

    Messages:
    13,312
    Location:
    New York
    You need to use images to create the rounded corners.
     
  6. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    Yes but how do I place those images where I want them, and keep them there. That is something I have never understood with CSS.