Using image value for :before and :after pseudo class content property in IE7
76 views
Skip to first unread message
Joff
unread,
Sep 19, 2012, 7:41:17 PM9/19/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ie7...@googlegroups.com
I'm having problems getting IE7 (with IE9.js) to correctly display image data as the content property when using either the :before or :after pseudo classes. An example:
In IE8 & 9 the image is displaying correctly but in IE7 it fails to display, text content displays fine. I've experimented with using base64 encoded values for the content property with no success.
Has anyone come across this before?
artnik
unread,
Oct 20, 2012, 10:58:36 AM10/20/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ie7...@googlegroups.com
Joff, You can use background:url(image.png) insted.
I have similar problem with displaying an image when using .myelement:hover:before { ... }. It works in IE9 but not in 7 and 8. Im also use ie9.js.
Message has been deleted
artnik
unread,
Oct 21, 2012, 5:25:28 AM10/21/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message