WordPress.org

Ready to get started?Download WordPress

Forums

Another code conundrum (5 posts)

  1. Dot
    Member
    Posted 2 years ago #

    Calling you lovely coders,

    I am wondering why the following shows up via firebug on my site:

    img {
    background-color: #FFFF00;
    }

    .profile_pic {
    border: 1px solid #000000 ! important;
    }
    The top one giving me a yellow rim around all my images
    The bottom doing nothing (I'd wanted to deselect the header image)
    When the first part of the code isn't in my editor (I removed it days ago) and the following ISNT being read:
    img {
    padding:1px
    border:1px solid #021a40;
    background-color:#ff0;
    }
    (I'd wanted to put a lovely border around chosen images)

    :/

  2. s_ha_dum
    Member
    Posted 2 years ago #

    What is your URL?

  3. Dot
    Member
    Posted 2 years ago #

    deardot.com

  4. s_ha_dum
    Member
    Posted 2 years ago #

    What is an example of an image you are trying to change?

  5. Dot
    Member
    Posted 2 years ago #

    Hello!
    Things have moved on: I think have parsed...I want to select some images and put different colour borders around them; I think that I have to create a class attribute for them in the html first, right? And I do that via my post page?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.