Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Oct 2009
    Thanked 3 Times in 3 Posts

    Best method for using images as borders for a rounded border effect

    Hey all,

    I have an image which I want to serve as the border of the main content area, which will just be a div with white background. What is the best approach using html and css to wrap a beveled image border around the main content using the image I attached here:

    Thanks for any suggestions. I took a look at the CSS border image property but it doesn't seem compatible with some browsers. Does anyone have any suggestions as to the approach i should take with the above beveled image?

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Thanked 1,845 Times in 1,829 Posts
    Hello johnmerlino,
    Your image doesn't show so I don't know what your trying to use... here's an example of a good method for rounded corners though - http://nopeople.com/CSS/rounded%20corners/index.html
    View the source to see how it's done.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • Users who have thanked Excavator for this post:

    johnmerlino (11-10-2009)


    Posting Permissions

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