CSS Alternate text for background image

Associate
Joined
22 Dec 2004
Posts
1,828
Location
Southampton, UK
I'm currently working on a site where i would like the comapny logo to be a bacground image in the header - reason is so that if the logo ever changes i only have to change the location of the image in the style sheet.

There is nothing else in the header just the logo. Is there anyway to add a text version so that when viewed with no style sheet you can still read the company name? At the moment with the style sheets turned off there is no reference to the company name.
 
I would make the company logo an image and not a background image, this way you can attach 'alt' text to it; also Hyper-link it etc.

I would wrap it with an ID and then you can still have site wide CSS positioning control when you require it.

You can still use a background image for the rest of the header.
 
Last edited:
Back
Top Bottom