G
G
GreatRash2013-01-21 15:28:23
css
GreatRash, 2013-01-21 15:28:23

How to add padding between inline-blocks in IE7?

Everywhere they write how to get rid of indents between inline blocks, but my situation is the opposite: I need to add indents. I wrote an example on jsfiddle. If you look at the example in IE7, there will be no padding between the buttons, and I need the padding to be like in Chrome.

There is one catch: I cannot set the margin in pixels, because I need to build on the font size, I'm completely satisfied with the value of margin-left: 0.02em, but IE, apparently, rounds it down and the indent does not work.

Please advise what to do?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Bobylev, 2013-01-21
@GreatRash

margin set for buttons

M
MiXei4, 2013-01-21
@MiXei4

Maybe remove the space between the elements and set the same margin?
True, 0.02em does not show either IE or chrome ... 0.05 is already starting to show

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question