View Full Version : Using two images in one class of CSS
kashif_jml
07-27-2007, 10:37 AM
hi,
This is Kashif from Pakistan. Plz help me that how to use 2 images in one css class ? waiting to hear from u soonest
Veronica
07-27-2007, 04:15 PM
You would use one class for 2 (or more) images, when you want the images to share a similar style. So, if you wanted some images to have a red border, your would put that in your css, and then add that class to each picture:
<style>
.redpics {border:red solid 1px;}
</style>
<img src="left.gif" class="redpics">
<img src="right.gif" class="redpics">
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.