Image Properties & CSS
Beginning CSS.
Using CSS to setup a page template. I can work with DIV, SPAN, P, and most page elements with little trouble. However, I have been unable to apply a default style to the image tag - i.e. border, border-width, etc.
I've tried using the img tag in the style sheet
img{
border:XXXX
}
But this did not work.
Although I didn't want to add a "class" to each image, I tried and that didn't work either
style sheet
.img1{
border:XXXXX
}
img tag in document body
<img src="XXXX" class="img1">
Any help would be appreciated.
Best regards,
sabertec2
|