Re: [css-d] How to define CSS alt/title attributes in stylesheet

2006-01-14 Thread Christian Heilmann
> Search engines ignore CSS files. Even if they start indexing them, it would > be a labour intensive code disaster. Image trying to define alt/title > attributes for your "catchy header slogan" background with your top > two/three keywords in mind. And, let's say you have a small web site around >

Re: [css-d] How to define CSS alt/title attributes in stylesheet

2006-01-13 Thread Kelly Miller
Just as an addon to that, the alt attribute is supposed to be describing the embedded image for those who can't view it. This is assuming that the image in question actually has something to do with the content of the site to begin with; if it's a CSS background image, odds are it's either bei

Re: [css-d] How to define CSS alt/title attributes in stylesheet

2006-01-13 Thread Cem Meric
> In html you define the alt/title attributes in the page markup. How > would you do the same in a CSS stylesheet for a background or other > image? Should you? > > -Bob Interesting question Bob. Short answer; you shouldn't, or even if you could you wouldn't. Search engines ignore CSS files.