CSS help
- Started
- Last post
- 9 Responses
- Atkinson
www.caferoyal.org/zines.htm, I'd like to use CSS to make each image have a #333333 1px border. Problem is there are trans gifs on the page too and they end up with a grey border too. Can anyone tell me how to set the CSS to only the 145x207px images?
Thanks in advance if you can help...C
- ********0
- gabriel20
I would just define a class for the images you would like to have the border. Then apply that class to them.
- caseyc0
Nah, put them images in a container with an id, like "galleryThumbs" then do:
#galleryThumbs img {
border: 1px solid red;
}
- version30
wrappers fo life
- caseyc0
word to the renderer
- Atkinson0
hmm, I'm thinkin it's quicker to add a border to each image in dreamweaver than a title to each cell?
- version30
who's the silly goose that wrote it in tables?
- version30
body table tbody tr td img {
margin:0px;
padding:0px;
border-style:solid;
border-width:1px;
border-color:black;
}
- version30
you're welcome