You are here: Re: Ignoring a Stylesheet « HTML « IT news, forums, messages
Re: Ignoring a Stylesheet

Posted by Jonathan N. Little on 06/06/05 04:03

Spartanicus wrote:
<snip>
>
> Layout should be presentational, if it's provided via css and the css
> isn't used for some reason then nothing essential should be lost.
>
> As a quality check authors should switch off images, css, client side
> scripting, java, plugins and other optional technologies, a page or site
> should remain fully functional.
>

A place where CSS specified img dims can be useful is with a gallery of
thumbnails so the layout doesn't reflow as the thumbs load.

1. resample images to actual display size, like 50x50 px for thumbs with
image editor

2. make a class for the specified images not to general image tag IMG

3. then code your spec'd image with that class...


<img class="thumbs" src="someImage.jpg" title="thumbnail of some image"> ...
<img class="thumbs" src="someOtherImage.jpg" title="thumbnail of some
other image">
....

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

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

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