^^ OK..doing that does work; so that when I need images to be inline,
I'll have to handle it with stylesheets? Is this a best practice, to
declare images as block up in the area where we have our other resets?
Thank you, Tom
On Thu, Sep 22, 2016 at 9:18 AM, John J <cr8...@gmail.com> wrote:
> Are you saying to do this to my initial img tag so that this is universal?
> On Thu, Sep 22, 2016 at 9:16 AM, Tom Livingston <tom...@gmail.com> wrote:
>> 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
>> > 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
>> css-discuss [firstname.lastname@example.org]
>> 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/
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/