Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS What’s the best way to make rounded borders with pngs

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26358
    BaylorRae
    Member

    I redesigned my website and added rounded corners for each blog post. When I started exporting it I removed all the elements around the box, trimmed it, and spliced it into three parts. The top, middle, and bottom.

    The background on my page is a gradient so I have to remove the blue color around the borders of each box so it will scroll correctly. But when I do that it the white from the middle section to go behind the top of the box.

    This is my CSS and html from the page.

    Code:
    .box {
    background: url(../images/content-bg.jpg) repeat-y;
    }

    .post {
    background: url(../images/content-top.png) repeat-x;
    padding: 15px;
    }
    .post-footer {
    background: url(../images/content-bot.png) no-repeat bottom;
    height: 41px;
    margin-top: -1px;
    }

    Code:

    Custom Droid Speeder

    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

    [attachment=1]website template.jpg[/attachment]
    [attachment=0]Picture 1.png[/attachment]

    #65125
    cybershot
    Participant
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.