Hi,
I will be in and out of the office Friday, October 15-Monday October 18. I will
be back in the office on Tuesday, October 19.
Thank you,
Jamie Peloquin
---
Jamie Peloquin Design :: web : print : identity ::
Return Receipt
Your RE: [WSG] Long documents
document:
Hi
I'm trying to build some attribute selectors in CSS to check for missing
content. Ie.
IMG[alt=]
{
border-width: 3px;
border-color: #ff;
border-style: solid;
}
// will place a red border around any image with an empty ALT tag
Tim,
:not() is a CSS3 pseudo-class, IE8 doesn't support any CSS3 pseudo-classes.
However you could use http://selectivizr.com/ to add that support using
javascript.
Cheers,
Ryan
On Tue, Oct 19, 2010 at 11:54 AM, Tim Baillie tim.bail...@acu.edu.auwrote:
Hi
I’m trying to build some
Or, if you're already using a Javascript library (which many IE CSS3
replacement scripts require) - like jQuery - you can simply add a class
to the targeted element because jQuery understands CSS3 selectors, eg.
{
$(img:not([alt])).addClass(empty-image);
}
Disclaimer: I haven't used the