Sent by Gunlaug_Sørtun on 30 November 2004 06:06
> http://www.biddymurphy.com/bmtest/index2.html
Add "padding: 0;" on body, and Opera will be happy with it.
However, there is no alt-attributes on those images, so it isn't very
accessible. "image"..."image"..."image" is what I read now, except for
on one image.
<img ... alt="Jewelry" /> and so on, is the proper way to do it.
Purely decorational images should get an empty alt-attribute, like
<img ... alt="" />
Also, alt-attributes isn't correct on a link. Put it on the image inside
the link instead, and use a title-attribute on the link if you need a
tool-tip.
The old hspace="4" vspace="19" is better styled as "margin: 19px 4px;".
A small detail for later maintenance is to use more suitable
class-names. <div class="green"... is not the most logical name if you
decide to change the style to "blue" from CSS at a later date-- unless
you plan to change it in the page-code itself by swapping class-names.
Georg
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/