You are here: Re: css bug in IE: circumvention, anybody? « HTML « IT news, forums, messages
Re: css bug in IE: circumvention, anybody?

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(...);">&nbsp;</td>

I thought about this, but how about browsers that don't understand CSS
at all?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация