MyBB Community Forums

Full Version: How to align in vertical some icons?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
As can you see icons are not aligned well... how could i do?


Screen:
http://img340.imageshack.us/img340/112/catturafc.png

Live:
http://mythemes.netsons.org/index.php
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?
Of the link, for example in a website that I visited yesterday:
http://www.customybb.net/
or in facebook.com (top)
.link1 {
color: #fff;
}

.link1:hover {
background: #fff;
color: #000;
}

I tried but doesn' twork Confused
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;
Pages: 1 2