On Thu, Sep 22, 2016 at 12:13 PM, John J <cr8...@gmail.com> wrote:
> I have 6 image tiles; 2 rows of 3 at desktop size. Each square has a
> background color, and an image placed inside.
> Each of these "tiles" shows through the background color of about 3-4
> pixels. I can not see what's allowing this. I have my styles for the tiles
> set at max-width:30%; height:auto;
> Can anyone see what the source of this unwanted space is?
> Thank you!
Images are inline elements. If you add a display:block; rule to your
images, you can remove this gap.
Tom Livingston | Senior Front End Developer | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | medialogic.com
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/