|
|
|
|
|
|
|
![]() |
#1 |
Certified Nice Person
|
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">
HTML Code:
.thumb { width:320px; height:240px; padding:4px; background-color:#ffffff; border-style:solid; border-color:#000000; border-width:1px; } HTML Code:
<img class="thumb" src="photo.jpg" alt="sexy photo" />
__________________
Click here to purchase a bridge I'm selling. |
![]() |
![]() |
![]() |
#2 | |
Madness is like gravity. All it takes is a little... push.
Join Date: Feb 2006
Location: California
Posts: 1,679
|
Quote:
# CSS HTML Code:
.thumb img { width:320px; height:240px; padding:4px; background-color:#ffffff; border-style:solid; border-color:#000000; border-width:1px; } HTML Code:
<div class="thumb"> <img src="photo1.jpg" alt="sexy photo 1" /> <img src="photo2.jpg" alt="sexy photo 2" /> <img src="photo3.jpg" alt="sexy photo 3" /> </div>
__________________
~Warm and Fuzzy. ![]() |
|
![]() |
![]() |
![]() |
#3 | |
Certified Nice Person
|
Quote:
![]() Licker, you can also replace the three separate border style lines with just this: border: 1px solid #000000; I knew you could do it that way, but I was too lazy to find my style sheets earlier.
__________________
Click here to purchase a bridge I'm selling. Last edited by Useless; 2008-12-21 at 05:59 PM.. |
|
![]() |
![]() |
![]() |
#4 |
Mean people suck, nice people swallow, are you mean or nice?
|
Thanks guys! That's what I needed!
![]() |
![]() |
![]() |
![]() |
|
|