Could you please suggest the best way to hack the background-size issue with IE8 ?
Asked
Active
Viewed 3,968 times
0
-
Possibly the same issue: http://stackoverflow.com/questions/2991623/make-background-size-work-in-ie – Billy Moat Sep 03 '12 at 15:38
2 Answers
1
You could reference for the "cross-browser" solution of background-size
.
As far as I know, you can achieve it by following THIS TUTORIAL link, as you have no code to show us in your questions, so I can only recommend you to take a look on that link.
By the way, as it is mentioned, it will work fine if need to fill the whole screen ( or bigger elements ), and it will be buggy with small-size items.
But anyway, there is a solution to fix IE problem when dealing with sprites.

aspirinemaga
- 3,753
- 10
- 52
- 95
0
Not sure what your issue is, but this CSS IE8 hack might be of some use. Any CSS within these brackets will only be read by IE8.
@media \0screen {
/*put css tags here as normal*/
div.example {
background-color: #FFFFFF;
}
}

Andrew
- 1,963
- 3
- 25
- 35