SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
-
Oct 27, 2004, 11:51 #1
- Join Date
- Oct 2004
- Location
- bellmore
- Posts
- 81
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Keeping the Code down with images
Quick questions, is there anyway to enter Alt text to a backround image, but have the alt text appear in the html file and backround remain in the CSS file?
I've setup all the images on our main page to be backround pics to keep the code down within the html file which is what's being spidered. I'm trying to eliminate crap and keep content only.
Any idea's
-
Oct 27, 2004, 11:55 #2
Hello
I do not think there is. I may be wrong.
Johnny
-
Oct 27, 2004, 12:07 #3
- Join Date
- Oct 2004
- Location
- Manchester, England
- Posts
- 8
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
If you for example set and image as a background for a table, instead of alt
use title="My Image" in the table you have the background set for.
You can do the body background image, but it's kinda pointless!
If that's not the case, could I see an image of your website with a piece
of the HTML coding, so I can tell ya for sure.
"title" replaces "name" as W3C XHTML / HTML 4.01 standards
-
Oct 27, 2004, 13:02 #4
- Join Date
- Oct 2004
- Location
- bellmore
- Posts
- 81
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Sure... www.mmprint.com/indexcss.htm
This is the template page for the new redesign using CSS
The older site is Table hell!
-
Oct 27, 2004, 13:05 #5
Background images are decorative, and don't need alts/titles. If your background image is important as far as page content goes, then use the <img /> tag with the proper alt/title attributes.
Bookmarks