Hi having a problem getting a menu's links to line up next to each other with no gap.
Here is my html:
Here is my css:
As you can see i am playing around with the margins and padding at the moment. You can see the gap between the links when you hover over the links.
Any help on this would be great, thanks.
Here is my html:
Code:
<div id="menu">
<ul>
<li><a href="#">Link One</a></li>
<li><a href="#">Link Two</a></li>
<li><a href="#">Link Three</a></li>
<li><a class="apply_online" href="#">Apply Online</a></li>
</ul>
</div>
Here is my css:
Code:
#menu {
position:relative;
width: 100%;
margin: 0px;
padding: 0px;
height: 25px;
/* border: 1px solid #000000; */
background-color: #376EB1;
}
#menu ul {
position: absolute;
list-style-type: none;
margin: 0px;
padding: 0px;
right: 0px;
top: 0px;
height: 25px;
}
#menu ul li {
display: inline;
padding: 0px;
margin: 0px;
}
#menu ul a, #menu ul a:visited {
color: #FFFFFF;
font-size: 12px;
font-family: Verdana, Arial, Helvetica, sans-serif;
text-decoration: none;
padding: 10px 15px;
margin: 0px;
/* background-color: #CCCCCC; */
}
#menu ul a.apply_online, #menu ul a.apply_online:hover {
background-color: #CD3558;
}
#menu ul a:hover {
background-color: #0097E8;
}
As you can see i am playing around with the margins and padding at the moment. You can see the gap between the links when you hover over the links.
Any help on this would be great, thanks.