CSS - How to add border to an image

Jan 27, 2012 13:24

I have the follow div class on my CSS:

.image {
background-color: #eaeaea;
border: 1px solid #d0d0d0;
padding: 4px;
margin: 1px; }

.image:hover {
background-color: #eaeaea;
border: 1px solid #808080;
padding: 4px;
margin: 1px; }

So everytime I wanted to add border to an image in one of my posts, all I needed to do was add class="image" to the image tag. However, recently I noticed that it's not working anymore, I didn't changed anything on my CSS, so I guess it was some LJ main change?! Anyway, how do I make this class work again?

solved, stylesheet, entries

Previous post Next post
Up