style="background-image:url('image_link.jpg');and it was working in all browsers like Internet Explorer, Firefox and Opera EXCEPT safari and chrome. After some trial and error, i found that this was due to the fact that my table cell (TD) was not having any contents. I inserted an non-breaking space and Voila! It works now.
Thursday, February 18, 2010
CSS background image URL setting not working for table cell in Safari and Chrome
I was scratching my head over this one. The inline style was specified as
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment