|
Posted by Greg N. on 06/26/05 23:33
Els wrote:
> If the image is content, it shouldn't be a background-image
> at all. People on text browsers wouldn't see it...
It's sortof a photoalbum application, so I don't care much for those who
don't care for pictures.
> So, if it really is content, and not decoration,
> you'll have to make it an <img src="..." alt="...">.
I'm willing to use semantically correct markup where possible, in other
cases I'll use just about any markup that works for me the way I want. <g>
> But the fact that you're okay with clipping the
> right side of the image, my guess is that it is
> indeed decoration, and as such, not content.
It's certainly content. As I said, it's a photoalbum app. I have a
number of panoramic images that I have built such that the more relevant
part is in the left half of the image, hence, I don't mind a certain
amount getting clipped off the right.
> For that, there is the style attribute:
> <td style="background-image:url(...);"> </td>
I thought about this, but how about browsers that don't understand CSS
at all?
Navigation:
[Reply to this message]
|