www.webdeveloper.com
Results 1 to 4 of 4

Thread: How to make an ornate border on a box

  1. #1
    Join Date
    Mar 2014
    Posts
    2

    How to make an ornate border on a box

    I am doing html on ebay. I want to make an ornate border on a box. Could somebody tell me how to do this, please?

  2. #2
    Join Date
    Mar 2012
    Posts
    1,280
    Here are the CSS border properties, and the deprecated HTML border properties...
    Last edited by jedaisoul; 03-10-2014 at 10:18 AM.

  3. #3
    Join Date
    Mar 2011
    Posts
    1,136
    The basic idea is pretty simple. You just nest your "box" element in a special <div> that would provide the border. Something like:
    Code:
    <style type="text/css">
     .borderBox { padding:12px; background-image:url('images/border_image.jpg'); }
    </style>
    .
    .
    <div class="borderBox">
    <div>
      Your "box".
    </div>
    </div><!-- end .borderBox -->
    The exact coding will depend on the border image. Will it be a pattern that can be repeated or is it an image that will need to be scaled to fit?
    Rick Trethewey
    Rainbo Design

  4. #4
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,208

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