简体   繁体   中英

Github-hosted website looks different than when I locally download it

On my computer, my locally-hosted webpage looks like this:

However, when I pushed my webpage to GitHub, the entire site changes. The "Calendar" image gets bigger and my entire navigation bar shifts left and changes style:

I have two other pages on my website (The homepage and the contact page) and they are both working fine.

Does anybody else have the same problem?

It may be a problem in CSS code. Please check your CSS code. Or fix CSS code via Inspect in chrome browser. Or comment your site link

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM