EmirTheBest7
EmirTheBest7

Reputation: 5

Chrome compiling problems

Chrome screenFirefox example So, I developed a website and it looks good on all browsers. But when I uploaded it to webserver, it looks different on google chrome. I tried to open my html project directly from computer via chrome and it looks ok. Why G.Chrome compiling different on webserver when directly from computer it looks good. Where can be a problem? How can I fix it?

Upvotes: 0

Views: 37

Answers (1)

user14118101
user14118101

Reputation:

Well it could be because most web browsers have pre assigned CSS rules. Perhaps google overrided your rules? I think you can fix this with the !important tag in your css file. Example

body {

  background-color: blue !important;

  border-left: 2rem !important;

}

Upvotes: 1

Related Questions