W3C home > Mailing lists > Public > www-html@w3.org > March 2003

Re: using images as headings...

From: Toby A Inkster <tobyink@goddamn.co.uk>
Date: Mon, 24 Mar 2003 06:43:34 +0000
To: Kevin Hanna <lists@kevinhanna.com>
Cc: www-html@w3.org
Message-ID: <20030324064334.GA21659@ophelia.goddamn.co.uk>
On Mon, Mar 24, 2003 at 12:07:15AM -0500, Kevin Hanna wrote:
| Often when I work on a site, I get a composite image handed to me by the 
| client of how they would like the pages to look.  They often have big 
| flashy text headings that I am unable to recreate in HTML/CSS so I need 
| to use the image.

Ah, clients. Damn them!

| Is there any recommended/common way to conform to the practice of using 
| <h1>'s, <h2>'s, etc... while using these big bloated images as headers?

<h1><img src="heading.png" height="60" width="300" alt="Things To Make 
And Do"></h1>

Browsers that don't understand images will use the alt text instead, so 
will effectively produce:

<h1>Things To Make And Do</h1>

Using an object tag is arguably even better, but lack of decent support 
in a particular mainstream browser rules this out for "real world" 
projects.

-- 
Toby A Inkster BSc (Hons) ARCS | mailto:tobyink@goddamn.co.uk | pgp:0x6A2A7D39
    aim:inka80 | icq:6622880 | yahoo:tobyink | jabber:tobyink@a-message.de
            http://www.goddamn.co.uk/tobyink/ | "You've got spam!"
                             playing://(nothing)

Received on Monday, 24 March 2003 01:43:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:54 GMT