Grow your CSS skills. Land your dream job.

background image repeat has border around each image

  • # February 11, 2013 at 3:05 pm

    Hi. My first post so please be patient. I’m trying to set up a background similar to “#12: Converting a Photoshop Mockup: Part Two, Episode One ” but each one of the images has a white border. I used a .png file. Is there a css command to remove the borders or did I do something wrong in Corel? Thanks for your help and I’m proud to be a new member!

    # February 11, 2013 at 3:10 pm

    Hi terry, it’s always best to provide a link to the page or test page, or set up a quick testbed in codepen or jsfiddle or similar.

    My best guess is that the png has the border as part of the image…

    # February 11, 2013 at 3:26 pm

    hi,

    i agree with wolfcry911 : any link ? or maybe all your png’s already have some border…

    have you tried in your css file :

    img { border: none 0}

    ?

    youn.

    # February 11, 2013 at 3:34 pm

    Well if it’s a background image then img {border: none 0 } will not help with that.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".