I am creating a print CSS for IE browser, within which I have to add text and an image in a div through CSS.
I am using content
to add text and background
to add an image, but somehow Image is not being shown.
This is how I'm doing.
#header .container:after {
content: "@The_Text_after_Twitter_Logo";
background: url("../path_to/logo-twitter.png");
position:absolute;
width:999em;
height:25px;
margin:0 0 0 5px;
}
Is this the right way to do it? Am I doing it wrong somewhere?
Thanks.