You are here: Re: Strange Image Size Problem. « HTML « IT news, forums, messages
Re: Strange Image Size Problem.

Posted by JD on 05/14/07 17:24

John Hosking wrote:
> Rob White wrote:
>> Since my thumbnails are only allocated 100x100 it
>> gets squashed by the browsers and looks rubbish.
>
> No, I don't see that. What I see is that you're not setting the height
> and width to 100px, you're setting it to 9.5em. Watch what happens when
> you bump up the text size in FF, e.g.
>
>>
>> The page is here: http://www.jacquelinewhite.co.uk/photographs.html
>> and it's the last image in the list
>>
>
> If I may, I'd like to also comment that your alt attributes aren't too
> helpful. alt="[jac3]" is pretty unhelpful to those who can't see the
> picture (and if you mean for it to be a tooltip in IE, that it's also
> unhelpful in that context).

On a similar note, you shouldn't put HTML tags in title or alt attribute
values:

title="Emmie Spashitt, <i>Albert Herring</i>, Operamus 2007"

Also, include a space before the closing / in empty elements, e.g.:

<img src="Jekyll_redrats_thumb.jpg" alt="alt text" />
^
You do this on some elements in your page, but not others.

JD

 

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

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