WordPress.org

Support

Support » How-To and Troubleshooting » Border won’t work

Border won’t work

  • 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) */

  • The topic ‘Border won’t work’ is closed to new replies.