Re: using images as headings...

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 UTC