P
P
petrenckira2015-11-04 00:05:51
iPhone
petrenckira, 2015-11-04 00:05:51

Site layout, the block is on smartphones, what should I do?

What to add to the css code or somewhere else so that the block does not go on the mobile version (iPhone5, Samsung of some kind). The block width is set to 60%, the font is in pixels. Tested for adaptability in different services, everything is "ok", except for iPhone5. What could be the reason?
1b8012683bca4f4198b543b35f6f4444.png12c2ef7865084141b029667378a0cc23.jpge2f8e10321d04ca18670105eab723d27.jpgb708508988554edd94855c7fea1391d2.jpg

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
sergey, 2015-11-04
@zorro76

For the future, I recommend writing through media queries for different devices and definitely !!! in head specify viewport
media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) { ...}
etc.

S
Sasha Ulych, 2015-11-04
@backflipper

url maybe?

T
tef, 2015-11-04
@tef

white-space: nowrap;
either
display: inline-block;
and the button will jump down.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question