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" 

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!"

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:03 UTC