Images without borders? Inuit Types

  • Author
    Posts
  • #477337

    Dear All,

    I would like to have no borders on my images. I’ve changed the CSS but wasn’t totally successful. The site is: http://solidgoldcreativity.com

    Thank you for any suggestions.

    SGC

    The blog I need help with is solidgoldcreativity.com.

    #477545

    hallluke
    Member

    It looks fine to me, the images in your posts have no borders. What else do you want to change?

    lh

    #477547

    @ hallluke,

    hi, I want to take out the light grey box around the images, as seen in this post here:

    http://solidgoldcreativity.com/2010/05/10/a-short-cultural-history-in-yarn/

    Cheers
    SG

    #477607

    phoxis
    Member

    Actually the default style of the img tag is defined as to fill the background with #f4f4f4 color which appears as the border in your pictures. You either need to make a CSS upgrade inorder to edit it and make it change to any other colour or transparent. Else you need to all this style manually in each img tag to override the CSS settings. To do it you need to add the following with the img tag.

    <img style="background: transparent;" src="link_to_image" />

    the style=”background: transparent;” will override the colour border settings and remove the border from your images.

    #477611

    hallluke
    Member

    I obviously need to change my screen contrast, I completely missed that. If you want to do it all with CSS then add this to your styles:

    .entry img {background:transparent;}

    lh

    #477641

    @hallluke,

    Great! That works. Thanks so much.

    SGC

    #477642

    @phoxis,

    Thanks very much. All great now.

    SGC

The topic ‘Images without borders? Inuit Types’ is closed to new replies.