0
I want to put the 3 divs
on the same line with width: 33.3333%
, but a space is appearing between them. Note in the image that the padding
, margin
and borda
are zero, and I have declared box-sizing:border-box
in the reset
.
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
box-sizing: border-box;
}
I don’t know where this came from if the browser itself says nothing by the element inspector. Does anyone know how I can remove this?
I thought I’d seen it all, here you come with this one. Or rather "these". The two solutions have no sense! But if it works that’s what it’s worth. Thanks for the tip. Now, I think I’ll never suffer to put the elements in the same line. Great hug!
– Mr Genesis
does not even kk just you jump the line in the code visually gets that demon space, fortunately has how to solve
– Lennon S. Bueno