Home  >  Article  >  Web Front-end  >  Why are local and spatial styles different_html/css_WEB-ITnose

Why are local and spatial styles different_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:22:401320browse

This post was last edited by roro5119 on 2013-06-28 21:22:37

Browser

Use the same browser to browse

This is local :

This is space:

It feels like there is an extra pixel, which exposes the other pictures that are combined. . There is an extra red line on the space button, do you see it? ? Did you see that? ?

It’s really puzzling. .

Reply to discussion (solution)

I once encountered a problem. I used UTF-8 to store documents in BOM format. As a result, the BOM was treated as 3 invisible characters by the server. Output directly causes the marked DOCTYPE to be invalid, and then the page becomes paralyzed. . .

What the person above said makes sense, try clearing the BOM and take a look

The text sizes of your two buttons are different
Have you tried setting the text size

It’s not like you used two different browsers to access it...

The space will change your source code, and it’s filtered.

----------------------------------------------- ----------AutoCSDN signature file------------------------------------- ------------------
aa

It seems that the CSS failed to load successfully. Use chrome or firebug to see if the styles loaded on the elements are complete. Consistent?

It seems that the CSS failed to load successfully. Use chrome or firebug to see if the styles loaded on the elements are completely consistent?
A certain CSS file

Learn to use f12 to debug

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