• Would I be right in thinking that to apply images to do this all I do is:

    border-top: url('images/posttop.jpg')
    border-bottom: url('images/postbottom.jpg')
    border-left: url('images/postleft.jpg')
    border-right: url('images/postright.jpg')

    Does that work or can you only apply a colour?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yes you can do that. Remember though that the URIs are relative to the current location unless you precede them with a /

    Thread Starter jinsan

    (@jinsan)

    I just tried that, and it borked the thing!

    Ok here’s the css for the post bit:

    .post {
    width: 426px;
    margin: auto;
    background: #fff;
    border: 2px solid #009900;
    padding: 6px;
    text-align: justify;
    }

    .post:hover {
    border-top: 2px solid #cc3;
    border-bottom: 2px solid #cc3;
    border-left: 2px solid #cc3;
    border-right: 3px solid #cc3;
    padding-right: 5px;
    padding-left: 6px;
    padding-bottom: 6px;
    padding-top: 6px;
    }

    So should I remove the padding and then try it? Dunno, the image is 23px big

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Simple post question’ is closed to new replies.