I am currently remaking a website for the group I sing with. I have a vertical menu that I found. Now I will openly say that the menu was just something I found so the coding for it as well as the CSS are not mine. I have tweaked a few things to make them fit what I want. I am TRYING to have a series of small images on the very bottom of the menu. I want them to stay along the bottom no matter what size desktop someone has. Any help that you guys could give me would be appreciated.
www.spoken4quartet.com/test/index.html is the website that I am working on.
#menu {
border-left: 3px solid #831111;
border-right: 3px solid #831111;
background: rgba(0, 0, 0, 0.75);
float: left;
font-size: 1.5em;
height: 100%;
margin-left: 1em;
}
#menu_contact {
vertical-align:bottom;
}
#menu li {
position: relative;
z-index: 1;
}
#menu li a {
display: block;
padding: 0.5em 1em;
white-space: nowrap;
}
#menu li ul {
position: absolute;
overflow: hidden;
display: none;
left: 100%;
top: 0.5em;
float: none;
background-image: -moz-radial-gradient(0 50%, ellipse farthest-side, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%);
background-image: -webkit-radial-gradient(0 50%, ellipse farthest-side, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%);
background-image: radial-gradient(0 50%, ellipse farthest-side, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%);
}
#menu li:hover ul {
display: block;
}
#menu li ul a {
position: relative;
font-size: 0.8em;
}
#menu li ul a:hover:before {
content: "";
display: block;
width: 1em;
height: 1em;
background: rgba(0,0,0,0.75);
border: 1px solid #831111;
position: absolute;
top: 0.5em;
left: -0.75em;
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}`
Above is the CSS. Below is the HTML
<div id="menu">
<ul>
<li>
<a href="#">Home</a>
</li>
<li>
<a href="#">About Us</a>
<ul>
<li>
<a href="#">Spoken 4</a>
</li>
<li>
<a href="#">Jon Charles</a>
</li>
<li>
<a href="#">Cecil</a>
</li>
<li>
<a href="#">Brandon</a>
</li>
<li>
<a href="#">Steven</a>
</li>
</ul>
</li>
<li>
<a href="#">Schedule</a>
</li>
<li>
<a href="#">Store</a>
</li>
<li>
<a href="#">Media</a>
<ul>
<li>
<a href="#">Photos</a>
</li>
<li>
<a href="#">Videos</a>
</li>
<li>
<a href="#">Audio</a>
</li>
</ul>
</li>
<li>
<a href="#">Promotion</a>
</li>
<li>
<li>
<a href="#">Contact</a>
</li>
</li>
</ul>
<div id="menu_contact">
<a href="https://www.facebook.com/Spoken4Quartet"><img src="images/facebook.png" ></a>
<a href="https://www.twitter.com/Spoken4Quartet"><img src="images/twitter.png" ></a>
<a href="mailto:[email protected]"><img src="images/email.png" ></a>
</div>
</div>
Here's what I did:
and added the following CSS:
#menu_contact {
position:absolute;
bottom:0;
width:100%;
}
#menu {
position:relative;
}
#menu_contact a, #menu_contact a img {
width:30%;
}