Home >Web Front-end >HTML Tutorial >Answers to extremely difficult CSS questions_html/css_WEB-ITnose

Answers to extremely difficult CSS questions_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:39:421098browse

http://gzw.fcst.cn/cn/
When accessing the homepage using chrome, the work dynamics are divided into upper and lower parts. If you adjust the left and right columns back.
In IE8, this does not exist now.
According to the analysis in chrome's developer tools, it may be caused by OffLeft=119, but I have tried all the methods and can't figure out where this left offset value comes from. Is it a BUG in chrome?


Reply to the discussion (solution)

Remove all float: left

Remove all float: left



After testing, remove float:left; and the problem becomes more serious!
Which float:left should be removed?
I can’t even understand your idea!

I don’t understand your needs. . . If you want the work dynamics to be centered. . . You can remove float:left. . . Then change the margin to margin:10px auto; and that’s it. . . . But I don't know if this can meet your needs. . .

The poster said ten sentences,,,, eight of them were typos,,,, should we test everyone’s brainpower like this? . . We are here to help you solve your problems, not to do brain teasers. . .
If it is the offset of 199 pixels on the left caused by OffLeft, it is useless for the author to check the html and css codes. Take a good look at your js script. Have you done any mobile processing? of. . .

There is no expert in the forum, I solved it myself. Thanks to those who responded!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn