I found these posts that might help you:
See now some of the possible solutions described in the references. It is important that you find out how these hacks work, where they come from and how or why to use them, that is, in what situations it would be appropriate to use them.
Example that can be used to fix layout issues in IE10/11
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
/* IE10+ specific styles go here */
}
Some hacks for IE and Microsoft Edge Windows 10
IE 6
* html .ie6 {property:value;}
IE 7
*+html .ie7 {property:value;}
IE 6 and 7
@media screen\9 {
.ie67 {property:value;}
}
or
.ie67 { *property:value;}
IE 6, 7 and 8
@media \0screen\,screen\9 {
.ie678 {property:value;}
}
IE 8
html>/**/body .ie8 {property:value;}
or
@media \0screen {
.ie8 {property:value;}
}
IE 8, 9 and 10
@media screen\0 {
.ie8910 {property:value;}
}
IE 10
_:-ms-lang(x), .ie10 { property:value\9; }
Edge
@supports (-ms-ime-align:auto) {
.selector { property:value; }
}
While this link may answer the question, it is best to include the essential parts of the answer here and provide the link for reference. Replies per link only can be invalidated if the page with the link is changed. - Of Revision
– rbz
Ah yes! Thank you. I’ll do it.
– Felipe Maia
I managed to fix it. With your help and a few more changes to the code. Vlw :)
– Guilherme Luis
Good. I’m glad I could help.
– Felipe Maia