S
S
Stanislav Pavlov2018-06-15 08:57:57
css
Stanislav Pavlov, 2018-06-15 08:57:57

Why firefox and chrome work differently with css?

Tell me why firefox and chrome work differently with css?
I installed the voting and rating form on the site _ https://lik-astana.kz/posmotret-vse-otzyvy.html
everything works well in firefox, but if you open the same page in chrome, then the styles for the rating in the form do not work.
Tell me how to solve the problem?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
ValeraValera, 2018-06-15
@cluberr

Because firefox and chrome use different CSS rendering engines and implemented CSS spec differently
In Firefox - Gecko
In Crome - WebKit
Try using prefixes

S
Stanislav Pavlov, 2018-06-15
@Stasweb

Please clarify, I don't quite understand. Tell me how to do it?

A
Alexey Strekalov, 2018-06-15
@ryter

you can use autoprefixer
https://github.com/postcss/autoprefixer

T
tyzberd, 2018-06-15
@tyzberd

you can do it like this

.input-rating {
    display:block;
    margin: 0px 638px 0px 0px;
    border: none;    
}
.input-rating.radio input, .input-rating.radio label {
    width: auto;
    vertical-align: middle;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question