I'm attempting to showcase images inside a table cell using CSS. Here's what I currently have:
HTML:
<td class="activity-status status_not_started">Not Started</td>
CSS:
td.activity-status {
font: 0/0 a !important;
color: transparent !important;
width: 80px !important;
padding: 0 !important;
}
td.status_major_issues:after {
content: url(/sites/ih/Style%20Library/org-ih/img/status_major_issues.png) !important;
}
When I visit the following URL in my browser:
http://myspsite/sites/ih/Style%20Library/org-ih/img/status_major_issues.png
The image displays as expected.
However, after the CSS is applied on the webpage, the image appears broken.
The path to the page is:
http://myspsite/sites/ih/46/Pages/status.aspx
The path to the CSS file is:
http://myspsite/sites/ih/Style%20Library/ih-status/css/style.css
Any thoughts on what might be causing this issue?
Thank you! Eric