Adding vertical-align: top; to either the image or the link will do it.
Oh thanks it works! Anyway I used bottom and not top..
Another thing, I ask here to not open another thread..
Do you know mouseover links that change the background?
How could I do them? Using CSS it doesn't work!
(2010-06-16, 05:50 PM)Trinit Wrote: [ -> ]Another thing, I ask here to not open another thread..
Do you know mouseover links that change the background?
How could I do them? Using CSS it doesn't work!
Change the background of what?
.link1 {
color: #fff;
}
.link1:hover {
background: #fff;
color: #000;
}
Alright hold on, I'll whip something up on my localhost...
Thanks, I was wrong.. I wrote a:link, a:hover and not just :hover
You can try these codes for
img from global.css
vertical-align: sub;
vertical-align: super;
vertical-align: top;
vertical-align: text-top;
vertical-align: text-bottom;
vertical-align: middle;
vertical-align: baseline;
vertical-align: bottom;