|
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]
|