A
A
Alexey Prilovsky2015-07-16 19:55:16
css
Alexey Prilovsky, 2015-07-16 19:55:16

Why is the gradient not displayed and padding(!) Collapsing in IE?

the block is given vertical padding and a gradient to the background. in the donkey, the background is not displayed (I also tried to put a solid fill), and if you look in the inspector, then the paddings are on top of neighboring blocks. if there is nothing around the block, then the paddings simply disappear. in fact, the donkey simply ignores all the rules specified in the css for this block.
Link to the project prilovski.ru/eventfeed
406cc0549696457ba437303a1acbf21c.png22bdbc403e3743bbacf0b4d48702a940.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Prilovsky, 2015-07-16
@enjoijkee

All figured out. IE does not understand the tag had to be replaced with div.main

A
Alexander, 2015-07-17
@mais64

Use the HTML5 Shiv library to make IE understand the tags

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question