streetcarp
11-30-2003, 08:05 AM
Can you put alt tags on the image you use for your background image? I tried putting it in the place you normally would for regular HTML, but then my image didn't register on my server. If you can put them on, where do you put them? It's driving me crazy trying to figure it out!
the ALT property is used in the IMG tag only.
it is not used for background images or in css coding.
streetcarp
11-30-2003, 10:02 PM
Oh okay. Thanks for letting me know. Is there by chance, anyway to get something similar to ALT tags in CSS?
Rosey
12-01-2003, 04:26 AM
No. The css will just change the look of things, colors, style, font size...
Like pb&j said the alt tag goes in your <img> tag. A background image doesn't have an alt tag. it's just <body background="whatever.jpg">
streetcarp
12-01-2003, 04:38 AM
Thanks. I guess I was just really hoping that there was away to get around it! Thanks for all the help anyway.
Rosey
12-01-2003, 04:40 AM
why would you want an alt tag on your background image?
The alt tags are just important for actual images other than your background.
streetcarp
12-01-2003, 04:45 AM
Well for layouts that I make I use images that I get from free sites. And on some of these sites, they ask that you put an alt tag on the image, with the name of their site as part of the credit back to them. And some of these images are ones that end up being the background image.
Rosey
12-01-2003, 01:41 PM
That's not possible for the bakcground, you might want to contact them and see if perhaps a link on the page would be good enough where the background image is concerned.