You need to pay attention to Steve's solution in the larger context. So
many new users of CSS think that the only way to go is to create a custom
class for every style. As a result, your stylesheet fills with hundreds of
indecipherable custom classes that will be a mystery to you in a few short
months away from that site.
Instead, leverage the inheritance and cascade of CSS by using your selectors
wisely. For example, if you only wanted certain images (those within a
particular table/div to have the border style, you could do this -
table.special img {border:2px dashed red; }
and that would apply ONLY to image tags within a table having a class
assignment of "special".
One neat thing would be to use this approach to specify certain styles ONLY
on certain pages, e.g.,
body#contact img {border:12px indent green; }
would apply only on this page -
<body id="contact"
See what I mean?
--
Murray
--------------
MVP FrontPage
"Don" <(E-Mail Removed)> wrote in message
news:-(E-Mail Removed)...
>
> "Steve Easton" <(E-Mail Removed)> wrote in message
> news:%23U$(E-Mail Removed)...
>> What you want to do is easy.
>>
>> All it requires is:
>>
>> img {
>> border: 1px solid;
>> border-bottom-color: Black;
>> border-right-color: Black;
>> border-left-color: #E3E3E3;
>> border-top-color: #E3E3E3;
>> }
>>
>> The above will be applied to all images in all pages that use the style
>> sheet,
>> and you will not have to apply a class.
>>
>>
>>
>> --
>> Steve Easton
>> Microsoft MVP FrontPage
>> FP Cleaner
>> http://www.95isalive.com/fixes/fpclean.htm
>> Hit Me FP
>> http://www.95isalive.com/fixes/HitMeFP.htm
>
> Steve that is fantastic. I cannot thank you enough. I have struggled
> with that for days and failed to find the answer by Googling. You are a
> star mate.
>
> Jon
>