- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hello,
I need help with menubar icon.
1. How to delete the img.icon border?
2. How to move img.icon that he would be in center of the text.
Picture: [http://www.part.lt/img/26e003364b8f70d429fde0f8ee2e69b6921.JPG](http://www.part.lt/img/26e003364b8f70d429fde0f8ee2e69b6921.JPG “Picture”)
3. How to do when you hover the < li > that img.icon change his background-color to white?
Code: [http://codepen.io/anon/pen/rKfiE](http://codepen.io/anon/pen/rKfiE “Code”)
So someone could help me?
ul#menubar li a img.icon {
vertical-align: -4px;
…
}
ul#menubar li:hover a img.icon {
background-color: white;
}
I can’t get rid of the border…
Thanks. Someone know how rid of the border?
You can make it a span. Change `img` to `span` in html and css and add `display: inline-block;` to css.
thanks. :)