Horizontal Rollover Images
-
Hello!Please any one help me with this issue! I have a set of rollover images in my menu, but I cannot figure out how to horizontally align them.
I have tried some tips from this forum but it didn’t help me…
I have put two buttons for instance on my page. I want them to be horizontal, NOT vertical.
Thanks in advance!page: https://businesmarketing.org/?page_id=846
css:
#home {
width: 112px;
height: 22px;
margin-left: 5px;
margin-top: 20px;
margin-bottom: 20px;
}#home a {
background-position: center top;
text-decoration: none;
background-repeat: no-repeat;
background-attachment: scroll;
display: block;
text-align: center;
height: 101%;
font-size: xx-small;
line-height: 3px;
color: #E6F4F1;
background-image: url(‘/Home.png’);
}
#home a:hover {
background-position: center bottom;
text-decoration: none;
background-repeat: no-repeat;
background-attachment: scroll;
background-image: url(‘/Home.png’);}
#company {
width: 112px;
height: 22px;
margin-left: 5px;
margin-top: 20px;
margin-bottom: 20px;
}#company a {
background-position: center top;
text-decoration: none;
background-repeat: no-repeat;
background-attachment: scroll;
display: block;
text-align: center;
height: 101%;
font-size: xx-small;
line-height: 2px;
color: #E6F4F1;
background-image: url(‘/company.png’);
}
#company a:hover {
background-position: center bottom;
text-decoration: none;
background-repeat: no-repeat;
background-attachment: scroll;
background-image: url(‘/company.png’);
}
- The topic ‘Horizontal Rollover Images’ is closed to new replies.