Steve Green wrote:

> You can do a lot of what Betsie does using CSS but the one thing you
> can't do is replace the images with their 'alt' attributes.

CSS is quite capable of that.

The following works fine in Opera 9.62 (the only browser I've bothered
to test for this proof of concept).

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd";>
   <title>Replace Image With Alt</title>
   <style type="text/css">
        img {
                height: 0; width: 0;
        }

        img::after {
                content : attr(alt);
        }
   </style>
   <h1>Replace Image With Alt</h1>

   <div>
        <img src="http://dorward.me.uk/images/wheel/logo.png";
                alt="Dorward Online">
   </div>


-- 
David Dorward                               <http://dorward.me.uk/>


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to