WordPress.org

Ready to get started?Download WordPress

Forums

Border won't work (1 post)

  1. skrp
    Member
    Posted 8 years ago #

    I'm trying to add borders to images. I have tried what the codex says yet it still dosen't work.

    http://codex.wordpress.org/Using_Images

    Below is a copy of my style.css file. Can't anywho please tell me why this isn' working?

    /* End Headers */

    /* Begin Images */
    p img {
    padding: 0;
    max-width: 100%;
    border: solid black 1px
    }

    /* Using 'class="alignright"' on an image will (who would've
    thought?!) align the image to the right. And using 'class="centered',
    will of course center the image. This is much better than using
    align="center", being much more futureproof (and valid) */

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags