SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot themusicman's Avatar
    Join Date
    Nov 2004
    Location
    Wales
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Image for CSS border...? Is this possible?

    Hi All

    Quick qn... is it possible to have an image url specified as the background to a css border? I am trying this but no joy;

    Code:
    .outer_border {
      width: 802px; 
      border-left: url('path/to/border/left_border.gif');
      border-right: url('path/to/border/right_border.gif');
      margin-left: auto;
      margin-right: auto;
      }
    Am I coding this wrong or are images not permitted on css borders?

    Basically I am trying to put a 15px left and right border around an 802px wide page by using images at either end of the class.

    left_image-background behind content-right_image
    John

  2. #2
    Winemaster bronze trophy BonRouge's Avatar
    Join Date
    Oct 2004
    Location
    Sendai, Japan
    Posts
    2,417
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No, you can't do that yet. It's CSS3 but not supported by anyone as far as I'm aware.


Bookmarks

Posting Permissions

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