I
I
Igor2016-01-17 15:40:42
css
Igor, 2016-01-17 15:40:42

How to set the indent correctly on IOS?

http://carolinamassage.rf/
on the PC everything is fine.
TAXLB4c.png
but with IOS such garbage:
PKUMpB-hboc.jpg
that is, the matgin-top of the bottom img is not respected.
I tried with -webkit- to write a margin but to no avail ...
I think the problem is in the line-height or something ...
How to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SerzN1, 2016-01-21
@IgorBee

Actually, this is not the marginpoint, but in the rendering of fonts. You have another crooked font. Generally Safari = IE6 on the modern web.
The first option is to try to remove all fonts except WOFF and include only WOFF and for old IE EOT format if necessary.
The second option is to add properties only for Safari through validation navigator.userAgentor a CSS hack.

if (/Safari/i.test(navigator.userAgent)) {
    document.body.className += ' safari';
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question