Thread: CSS Help
View Single Post
Old 2008-12-21, 01:48 PM   #12
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
First, make sure you're using a good DOCTYPE or it won't work in IE.
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Stick this where ever you're keeping your CSS and adjust to your needs:
HTML Code:
.thumb {
width:320px;
height:240px;
padding:4px;
background-color:#ffffff;
border-style:solid;
border-color:#000000;
border-width:1px;
}
Finally, make sure you remember to give each thumb the class:
HTML Code:
<img class="thumb" src="photo.jpg" alt="sexy photo" />
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote