Hi all,
I have two images, and I’m trying to place them side by side with each other on my sidebar, but it doesn’t seem to be working. Does anyone know how to fix it?
.twitter {
background: url(link);
width: 40px;
height: 40px;
display: block;
opacity: 70;
text-indent: -99999px;
}
.facebook {
background: url(link);
width: 40px;
height: 40px;
display: block;
text-indent: -99999px;
}
```html
<div style='display:inline;'><a href='http://twitter.com' class='twitter'>Twitter</a><a href='http://facebook.com' class='facebook'>Facebook</a></div>
The images show up fine but on top of each other. The sidebar is 200px wide, and each image is 40px, so size shouldn't be the problem. I tried wrapping them both in <p> tags, but that didn't work.
I have another unrelated problem. Does anyone know why the colors used in Blogger look different compared with Photoshop even though I use the same color codes?