D
D
Drold2015-10-23 20:37:38
css
Drold, 2015-10-23 20:37:38

What could be the problem with css?

Hello,
in general, I have been suffering for a very long time with this problem, attention to the screen:
ZYzBMgr7cIo.jpg
* - this should not be.
Link (and generally a problem in categories) - https://android-1.com/igry/ (Not advertising!!)
This problem appears with the resolution of media screen and (max-width: 470px), and somewhere before media screen and (max-width: 910px) (Indents appear on the right).
Help! I will be extremely grateful..

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Gromov, 2015-10-23
@Drold

The main problem is related to the calculation of the width and padding of the "div.FFF". You combine percentages with pixels and you end up with empty areas, because this approach is inflexible, at least in your execution.
Here is an example of how you can implement what you want: jsfiddle.net/e1b3d4z3 .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question