Friday, 15 January 2010

html - Unable to set background image for a span/div in IE(8/9/10) -


I, including trying to use all possible improvements, I could find; Checking spaces, RGBA solutions etc. But, nothing is working.

Please tell if there is a problem in the following

HTML:

  & lt; Div class = "viewReminders" title = "see reminder" & gt; & Amp; Nbsp; & Lt; / Div & gt;   

CSS:

  .view riders {background-image: url ('viewReminders.jpeg'); Repeat Background: No Repetition; Display: Inline-block; float right; Width: 16px; Opacity: 0.5; Filter: Alpha (Opacity = 50); Cursor: indicator; }    

  .viewReminders {background-image: url ('viewReminders.jpeg '); Repeat Background: No Repetition; Display: Inline-block; float right; Width: 16px; Height: 16px; Opacity: 0.5; Filter: Alpha (Opacity = 50); Cursor: indicator; }   

You need to specify the height in your CSS.

No comments:

Post a Comment