Previous Message
Next Message

Re: frame to go around images (Joel Kitching)

Sent by V Jordan on 21 June 2004 19:07


Thank you! Just what I needed to know!

>I'm guessing that by frame you mean border..

So you could either include a css rule that all images should have a
border except ones with the class noborder (or some other name):

img {
border: 1px solid black;
padding: 5px;
}
img.noborder {
border: none;
padding: none;
}

Or if you just have a few images you want borders around, and others
without the class "withborder" don't have borders:

img.withborder {
border: 1px solid black;
padding: 5px;
}

Classes are specified with the class="" attribute.

ex) <img class="noborder" src="huhu.png" alt="huhu">

_________________________________________________________________
Make the most of your family vacation with tips from the MSN Family Travel 
Guide! http://dollar.msn.com

______________________________________________________________________
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/
Previous Message
Next Message

Message thread: