Sunday, 15 September 2013

CSS background syntax not working in Safari and IE8

CSS background syntax not working in Safari and IE8

This is my background image syntax:
background:url(images/img.jpg) repeat-x scroll left bottom / 100% 100%
transparent;
I copied this from the web and not sure what the forward slash is meant to
be doing there. I am using this to resize the background on responsive
layouts. This works perfectly for me in FF, Chrome, Opera, IE10 and IE9
but it does not work in Safari and IE8.
Is there a workaround for Safari and IE8?

No comments:

Post a Comment