Forums

How can you stretch 2 backgrounds around a picture? (2 posts)

  1. Sarahc
    Member
    Posted 3 years ago #

    Here is the problem, the corners should go around the image. the image width is auto.
    http://local-legend.com/winddown/test-post/

    Here is what is in my style.css

    div.entry2 p a {display:block; background:url(http://windup-winddown.com/img/corners_top_small.gif) 0 0 no-repeat; padding-left: 2px; padding-right: 4px; padding-top: 3px;}
    div.entry2 img {display: block; padding: 5px; background: url(http://windup-winddown.com/img/corners_bottom_small.gif) 0 100% no-repeat; float: left; width:auto;}
    }

  2. Sarahc
    Member
    Posted 3 years ago #

    anyone?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.