How would I make this Navigation Bar Drop Down? - html

I am Trying to make a drop down menu for my website ( http://www.imsev.com ) and I cannot figure out how to get my menu to drop down inside the CSS. JSFiddle of the navigation bar.
Here is my HTML for the Navigation Bar.
<div style="background-color:#FFF; z-index:5; height:auto; width:auto;">
<div id="header">
<img id="nav_img" src="graphics/nav_img.svg" height="122" width="201" alt="Lanier Canoe and Kayak Club logo"/>
<div id="nav_bar" style:"color:#FFF;">
<header id="title">Lanier Canoe and Kayak Club</header>
<nav>
<ul id="nav_words">
<li class="selected items">Home</li>
<li class="items">About Us</li>
<ul>
<li>Board Of Directors</li>
<li>Coaches and Staff</li>
<li>Sponsors</li>
<li>Contact Us</li>
</ul>
<li class="items">Events</li>
<ul>
<li>Polar Bear Swim</li>
<li>Lula Bridge Race</li>
<li>Southeast Paddle Sport - Kayak Trader Challenge</li>
<li>USACK Collegiate Nationals & Spring Sprints</li>
<li>Paddlethon and Cardboard Boat Race</li>
<li>Gainesville-Hall Dragon Boat Challenge</li>
<li>Southern Invitational Regatta</li>
<li>USACK Sprint National Championschip</li>
<li>Halloween Howl</li>
</ul>
<li class="items">Programs</li>
<ul>
<li>Recreational Membership</li>
<li>Summer Camp</li>
<li>BBI Jr. Olympic Program</li>
<li>Six Weeks to Nationals</li>
<li>Adult Learn to Kayak</li>
<li>Rentals</li>
<li>Moonlight Paddles</li>
<li>Dragon Boat</li>
<li>Competitive Programs (Kids and Adults)</li>
</ul>
<li class="items login">Log In</li>
</ul>
</nav>
</div>
</div>
Here is the Active CSS
#title {
float: left;
vertical-align: middle;
padding-top: 13px;
margin-top: 0px;
left: 0px;
padding-left: 136px;
font-size: 25px;
font-family: 'Carrois Gothic', sans-serif;
}
#header_img{
border: none;
margin: 0 auto;
display: block;
z-index: -10;
position: relative;
top: 1px;
}
#header {
width: 100%;
height: 150px;
padding-bottom:20px;
color:white;
position:static;
}
#nav_bar {
height: 56.088px;
width: 88%;
background-color: #629B5D;
z-index: 2;
position: absolute;
left: 120px;
border-top: 68px solid white; /* Added. */
top: 0; /* Added. */
}
#nav_img {
z-index: 3;
position: absolute;
top: 15px;
left: 37px;
}
#nav_words {
display: inline;
padding-top: 0px;
float: right;
padding-left: 0px;
padding-right: 0px;
margin-right: 0px;
margin-left: 0px;
vertical-align: middle;
margin-top: 15px;
}
#nav_words a {
text-decoration:none;
}
.items {
display: inline;
padding-top:5px;
vertical-align: middle;
margin-right: 25px;
font-family: 'Carrois Gothic', sans-serif;
list-style-type:none;
}
#nav_words a {
color: #FFF;
background-color: #629B5D;
font-size:18px;
}
#menu_item :hover {
color: #D4D4D4;
opacity: 75%;
}
.login {
border: solid 1px;
border-radius: 50px;
padding: 4px;
background-color:#7DC476;
border-color:#7DC476;
}
.login :hover {
background-color: #7DC476;
border-color: #9FD39A;
}
.selected {
border: solid 1px #92CD8D;
background-color: #92CD8D;
padding: 18px 5px;
margin-right:10px;
}
`

There's an error in your HTML. Do not use IDs to refer to multiple items with the same ID; use classes instead.

Related

What is wrong with my navbar?

For some reason my navbar is bigger than it's supposed to be. Or atleast I think it's my navbar. Whenever I remove #rect It goes away. What's the problem here?
#tagline {
font-style: italic;
padding-right: 150px;
padding-left: 10px;
}
nav {
background-color: white;
display:flex;
align-items:center;
overflow: hidden;
}
#logo {
padding-top: 8px;
padding-left: 30px;
vertical-align: middle;
}
li, li>a {
text-decoration: none;
list-style-type: none;
color: black;
display: inline-block;
float: right;
padding: 5px 10px 5px 10px;
}
li>a:hover {
background-color: #7bcc1d;
color: white;
}
.active {
background-color: #7bcc1d;
color: white;
}
#main-bg {
background-image: url('https://s15.postimg.org/ra1dhmjkb/main-bg.png');
background-size: 100% 100%;
height: 500px;
margin: 0;
}
#rect {
background-color: white;
position: relative;
top: 50px;
left: 100px;
width: 400px;
height: 400px;
text-align: center;
}
h2 {
padding-top: 15px;
margin-bottom: 0;
}
span {
margin: 0;
}
#enroll_button {
text-decoration: none;
padding: 10px 20px 10px 20px;
background-color: #7bcc1d;
color: white;
}
<nav>
<img src="https://s12.postimg.org/n0yt5tenx/lb_logo.png" id="logo" alt="logo">
<span id="tagline">Live, 1-to-1, flexible and personalized</span>
<ul id="nav-items">
<li>How it Works</li>
<li>Courses</li>
<li>Teachers</li>
<li>Enroll</li>
<li>Login</li>
</ul>
</nav>
<div id="main-bg">
<div id="rect">
<h2>3 Steps to Complete<br>Your High School Foreign<br>Language Requirement</h2><br>
<span><strong>Convenient Scheduling: </strong>Pick lessons<br>to fit your schedule.</span><br><br>
<span><strong>Interactive Courses: </strong>Learn through<br>live, personal lessons.</span><br><br>
<span><strong>Earn Approved Credits: </strong>Earn credits<br>to satisfy high school requirements.</span><br><br>
Enroll in Your Course
</div>
</div>
You haven't set #rect as a block element and the h2 margin is pulling the whole thing down.
#rect h2{margin-top:0;}
That's because of margins which set in user agent stylesheet from the browser. You can link the reset.css and set your desire margins in your own css.

Dropdown Menu on hover image

W3Schools
Hello,
I've been trying to integrate a drop down menu based upon the hover over function of an image. I've gone to the above website which gives an example, but I cannot figure it out. Below is my current HTML. The image I would like to have the hover over function work on and from that have a drop down menu is the Logo.png file. I simply cannot figure out how to integrate this into my code. Any direction or help would be appreciated.
::-webkit-scrollbar {
display: none;
}
body {
margin: 0;
background-color: #808080;
}
#menu {
position: fixed;
width: 100%;
height: 140px;
background-color: #555555;
}
#logopic {
height: 100px;
width: 140px;
}
#logo {
float: left;
margin: 1%;
width: 160px;
}
.menuoptions {
border: 1px solid white;
border-radius: 50px;
padding: 14px;
float: left;
letter-spacing: 2px;
list-style-type: none;
color: #FFFFFF;
margin-top: 30px;
margin-left: 45px;
font-size: 125%;
font-weight: bold;
}
.menuoptions:hover {
color: #00b9f1;
background-color: #FFFFFF;
}
#topsection {
padding-top: 150px;
}
ul li {
list-style-position: inside;
}
<div id="menu">
<div id="logodiv">
<a href="index.html">
<img id="logo" src="images/Logo.png">
</a>
</div>
<div id="menulinks">
<ul id="options">
<a href="#income">
<li class="menuoptions">INCOME</li>
</a>
<a href="#expenses">
<li class="menuoptions">EXPENSES</li>
</a>
<a href="#incomedistribution">
<li class="menuoptions">INCOME DISTRIBUTION</li>
</a>
<a href="#spending">
<li class="menuoptions">SPENDING</li>
</a>
<a href="#sidemenu">
<li class="menuoptions">SIDE MENU</li>
</a>
</ul>
</div>
</div>
Use the sibligns selector "+"
::-webkit-scrollbar {
display: none;
}
body {
margin: 0;
background-color: #808080;
}
#menu {
position: fixed;
width: 100%;
height: 140px;
background-color: #555555;
}
#logopic {
height: 100px;
width: 140px;
}
#logo {
float: left;
margin: 1%;
width: 160px;
}
.menuoptions {
border: 1px solid white;
border-radius: 50px;
padding: 14px;
float: left;
letter-spacing: 2px;
list-style-type: none;
color: #FFFFFF;
margin-top: 30px;
margin-left: 45px;
font-size: 125%;
font-weight: bold;
}
.menuoptions:hover {
color: #00b9f1;
background-color: #FFFFFF;
}
#topsection {
padding-top: 150px;
}
ul li {
list-style-position: inside;
}
#menulinks {
display: none;
}
#logodiv:hover + #menulinks {
display: block
}
<div id="menu">
<div id="logodiv">
<a href="index.html">
<img id="logo" src="images/Logo.png">
</a>
</div>
<div id="menulinks">
<ul id="options">
<a href="#income">
<li class="menuoptions">INCOME</li>
</a>
<a href="#expenses">
<li class="menuoptions">EXPENSES</li>
</a>
<a href="#incomedistribution">
<li class="menuoptions">INCOME DISTRIBUTION</li>
</a>
<a href="#spending">
<li class="menuoptions">SPENDING</li>
</a>
<a href="#sidemenu">
<li class="menuoptions">SIDE MENU</li>
</a>
</ul>
</div>
</div>
Germano Plebani > I believe it won't work, because when you stop hovering the logo, the menu will disappear again.
I changed your code a bit to make it a bit more simple (at least, in my opinion) :
<div id="menu">
<ul>
<li id="logo"><img src="your_path"></li>
<li class="menuoptions">INCOME</li>
<li class="menuoptions">EXPENSES</li>
<li class="menuoptions">INCOME DISTRIBUTION</li>
<li class="menuoptions">SPENDING</li>
<li class="menuoptions">SIDE MENU</li>
</ul>
::-webkit-scrollbar {
display: none;
}
body {
margin: 0;
background-color: #808080;
}
#menu {
position: fixed;
width: 100%;
height: 140px;
background-color: #555555;
}
#logo {
height:140px;
}
#logo img{
width:160px;
}
ul{
height:inherit;
width:160px; /* Your menu has the size of your logo */
}
ul:hover {
width:auto; /* when you hover your menu, it will take 100% of the width of it's container */
}
ul li {
float: left;
list-style:none;
}
ul:hover .menuoptions {
display:block;
}
.menuoptions {
border: 1px solid white;
border-radius: 50px;
padding: 14px;
letter-spacing: 2px;
list-style-type: none;
color: #FFFFFF;
margin-top: 30px;
margin-left: 45px;
font-size: 125%;
font-weight: bold;
display:none;
}
.menuoptions:hover {
color: #00b9f1;
background-color: #FFFFFF;
}
I didn't go for optimization neither, but it works fine.

how to fix the last div container on the bottom of the sidebar

i build a basic sidebar, with an navigation list inside. What i'm trying is to get the last div container .sidebar-footer on the bottom of the sidebar. When i gave the class a position absolute, it's overlaying over the list item, what should i do to get it like in our design pic?
<div class="pulse-menu">
<div class="menu-bg clearfix">
<div class="sidebar-profile">
<img src="img/users/avatar.jpg" class="sidebar-img" alt="Candice Swanepoel" title="Candice Swanepoel" />
<h5>Candice Swanepoel</h5>
</div>
</div>
<nav>
<ul>
<li>Dashboard</li>
<li>Models</li>
<li>Kunden</li>
<li>Finanzen</li>
<li>Mitarbeiter</li>
<li>Einstellung</li>
</ul>
<div class="sidebar-footer">
<li><i class="icon-cloud-upload circle-icon"> </i></li>
</div>
</nav>
</div>
Css:
.pulse-menu {
background-color: #fafafa;
width: 19.286em;
position: fixed;
z-index: 1050;
top: 0;
bottom: 0;
height: 100%;
text-transform: uppercase;
overflow-y: scroll;
}
.menu-bg {
width: 270px;
height: 230px;
background: url(../img/media/menu_bg.svg) ;
background-size: 270px 221px;
background-repeat: no-repeat;
}
.sidebar-profile {
margin: 0 auto;
width: 100%;
text-align: center;
box-sizing: border-box;
padding: 20px 0;
color: #333;
line-height: 0.6em;
}
.sidebar-profile img {
border-radius: 100%;
height: 60px;
width:60px;
}
.sidebar-profile h5 {
padding-top: 0.50em;
color: #a8a8a8;
font-size: 1.02em;
}
.pulse-menu>nav ul {
padding: 0;
list-style-type: none;
}
.pulse-menu>nav>ul>li>a {
color:#333;
display:block;
font-size:1.02em;
height:40px;
line-height:0px;
padding-bottom:1.5em;
padding-left:2em;
padding-right:2em;
padding-top:1.5em;
text-align:center;
}
here is a working jsfiddle with my code
Give your footer class this styles
.sidebar-footer{
height: 50px;
position: absolute;
width: 100%;
bottom: 0;
list-style-type: none;
padding-bottom:5.5em;
}
You can use the :last-child selector in your CSS.
HTML:
<nav>
<ul>
<li>Dashboard</li>
<li>Models</li>
<li>Kunden</li>
<li>Finanzen</li>
<li>Mitarbeiter</li>
<li>Einstellung</li>
</ul>
<div class="sidebar-footer">
<li><i class="icon-cloud-upload circle-icon"> </i></li>
</div>
</nav>
CSS
.nav ul li:last-child {
//your styling
}
CSS
<style>
.pulse-menu {
background-color: #fafafa;
width: 19.286em;
position: fixed;
z-index: 1050;
top: 0;
bottom: 0;
height: 100%;
text-transform: uppercase;
overflow-y: scroll;
}
.menu-bg {
width: 270px;
height: 230px;
background: url(../img/media/menu_bg.svg) ;
background-size: 270px 221px;
background-repeat: no-repeat;
}
.sidebar-profile {
margin: 0 auto;
width: 100%;
text-align: center;
box-sizing: border-box;
padding: 20px 0;
color: #333;
line-height: 0.6em;
}
.sidebar-profile img {
border-radius: 100%;
height: 60px;
width:60px;
}
.sidebar-profile h5 {
padding-top: 0.50em;
color: #a8a8a8;
font-size: 1.02em;
}
.pulse-menu>nav ul {
padding: 0;
list-style-type: none;
}
.pulse-menu>nav>ul>li>a {
color:#333;
display:block;
font-size:1.02em;
height:40px;
line-height:0px;
padding-bottom:1.5em;
padding-left:2em;
padding-right:2em;
padding-top:1.5em;
text-align:center;
}
.specialelement {
padding-top: 500px;
display:block;
padding-left:6em;
list-style-type: none;
color: #333;
}
</style>
HTML
<div class="pulse-menu">
<div class="menu-bg clearfix">
<div class="sidebar-profile">
<img src="img/users/avatar.jpg" class="sidebar-img" alt="Candice Swanepoel" title="Candice Swanepoel" />
<h5>Candice Swanepoel</h5>
</div>
</div>
<nav>
<ul>
<li>Dashboard</li>
<li>Models</li>
<li>Kunden</li>
<li>Finanzen</li>
<li>Mitarbeiter</li>
<li class="specialelement">
<li>Einstellung</li>
</li>
<div class="sidebar-footer">
<li><i class="icon-cloud-upload circle-icon"> </i></li>
</div>
</nav>
</div>
Result

Dropdown Menu Moves List Item Out Of Alignment

I'm really pulling my hair out on this one...I have a dropdown menu which is hidden but displays when the user hovers over a list item. However, the list item gets shifted downward on hover, instead of staying put. Which makes the menu shift further down than I want.
My code: http://codepen.io/anon/pen/PPYKJg
<div id="header">
<nav id="menunav">
<ul id="top-menu">
<li id="topmenu-news" class="toplink">news</li>
<li id="topmenu-shows" class="toplink">info</li>
<li id="topmenu-help" class="toplink">help</li>
<li id="topmenu-rules" class="toplink">rules</li>
<li id="topmenu-about" class="toplink">about</li>
<li id="topmenu-other" class="toplink">»
<ul class="more-menu">
<li id="moremenu-blog" class="morelink">blog</li>
<li id="moremenu-stats" class="morelink">stats</li>
<li id="moremenu-terms" class="morelink">terms</li>
<li id="moremenu-privacy" class="morelink">privacy policy</li>
<li id="moremenu-volunteer" class="morelink">volunteer!</li>
</ul>
</li>
</ul>
</nav>
</div>
html {
overflow-y: scroll;
}
body {
margin: 45px 0px;
text-align: center;
background: #191919;
}
.header {
color: #FE353D;
}
#top-menu {
background-color:rgba(0,0,0,0.85);
height: 34px;
width: 49.1%;
float: right;
position: relative;
margin-top: 15px;
top: 21px;
left: 88px;
font: bold 20px sans-serif;
border-top-left-radius: 10px;
z-index: 10;
}
#top-menu:hover {
}
.more-menu {
background-color: #111111;
display: none;
position: relative;
top: 16px;
right: 25px;
height: 27px;
width: 475px;
font: bold 14px sans-serif;
outline: 1px solid #000000;
z-index: 11;
}
.toplink {
margin-right: 35px;
}
ul {
text-align: left;
display: inline;
list-style: none;
}
ul li {
display: inline-block;
position: relative;
margin-right: 30px;
padding-top: 5px;
}
ul li a {
color: #FFFFFF;
text-decoration: none;
}
li.option {
margin-left: -30px;
margin-top: -25px;
}
$('#top-menu').hover(
function (){
$('.more-menu').css('display','inline');
},
function (){
$('.more-menu').css('display','none');
}
);
Any idea what's happening here? This is driving me crazy!
well all I could see is the .more-menu not diplaying right below the top menu so to fix that change the top property of the .more-menu class to this so to make the dropdown menu display right below the navigation menu
.more-menu {
background-color: #111111;
display: none;
position: relative;
top: 0px; /*this was 16px but is now 0px*/
right: 25px;
height: 27px;
width: 475px;
font: bold 14px sans-serif;
outline: 1px solid #000000;
z-index: 11;
}
I made my own out of your HTML you can go off of.
JsFiddle: https://jsfiddle.net/469knbfq/
HTML:
<div id="header">
<nav id="menunav">
<ul id="top-menu">
<li id="topmenu-news" class="toplink">news</li>
<li id="topmenu-shows" class="toplink">info</li>
<li id="topmenu-help" class="toplink">help</li>
<li id="topmenu-rules" class="toplink">rules</li>
<li id="topmenu-about" class="toplink">about</li>
<li id="topmenu-other" class="toplink">»
<ul class="more-menu">
<li id="moremenu-blog" class="morelink">blog</li>
<li id="moremenu-stats" class="morelink">stats</li>
<li id="moremenu-terms" class="morelink">terms</li>
<li id="moremenu-privacy" class="morelink">privacy policy</li>
<li id="moremenu-volunteer" class="morelink">volunteer!</li>
</ul>
</li>
</ul>
</nav>
</div>
CSS:
#header{ background: #000; padding: 15px 0px; }
#menunav{ }
#top-menu{ }
ul{ display: inline; margin: 0px; padding: 0px 0px 0px 20px; }
li{ display: inline; margin: 0px 10px; }
a{ color: #FFF; font-size: 18px; text-decoration: none; }
.more-menu{ background : grey; margin: 0px 0px 0px 20px; padding: 0px; display: none; }
JS:
$('#top-menu').mouseenter(function(){
$('.more-menu').css('display','inline-block');
});
$('#top-menu').mouseleave(function(){
$('.more-menu').css('display','none');
});
note: I am using JQuery
Thanks for the feedback...I actually wound up fixing my own problem by tweaking the CSS and the jQuery a bit. See below for the updated code:
http://codepen.io/anon/pen/ZbzvGQ
HTML:
<div id="header">
<nav id="menunav">
<ul id="top-menu">
<li id="topmenu-news" class="toplink">news</li>
<li id="topmenu-shows" class="toplink">info</li>
<li id="topmenu-help" class="toplink">help</li>
<li id="topmenu-rules" class="toplink">rules</li>
<li id="topmenu-about" class="toplink">about</li>
<li id="topmenu-other" class="toplink">»
<ul class="more-menu">
<li id="moremenu-blog" class="morelink">blog</li>
<li id="moremenu-stats" class="morelink">stats</li>
<li id="moremenu-terms" class="morelink">terms</li>
<li id="moremenu-privacy" class="morelink">privacy policy</li>
<li id="moremenu-volunteer" class="morelink">volunteer!</li>
</ul>
</li>
</ul>
</nav>
</div>
CSS:
html {
overflow-y: scroll;
}
body {
margin: 45px 0px;
text-align: center;
background: #191919;
}
.header {
color: #FE353D;
}
#top-menu {
background-color:rgba(0,0,0,0.85);
height: 34px;
width: 49.1%;
float: right;
position: relative;
margin-top: 15px;
top: 21px;
left: 88px;
font: bold 20px sans-serif;
border-top-left-radius: 10px;
z-index: 10;
}
.more-menu {
background-color: #111111;
display: none;
position: absolute;
float: clear;
top: 35px;
right: -32px;
height: 27px;
width: 475px;
font: bold 14px sans-serif;
outline: 1px solid #000000;
z-index: 11;
}
.toplink {
margin-right: 35px;
}
ul {
text-align: left;
display: inline;
list-style: none;
}
ul li {
display: inline-block;
position: relative;
margin-right: 30px;
padding-top: 5px;
}
ul li a {
color: #FFFFFF;
text-decoration: none;
}
li.option {
margin-left: -30px;
margin-top: -25px;
}
JQUERY:
$('#topmenu-other, .more-menu').hover(
function (){
$('.more-menu').css('display','inline-block');
},
function (){
$('.more-menu').delay(7500).queue(function(next){
$(this).css('display','none');
next();
});
}
);
This keeps the >> symbol in place when hovered over and also keeps more-menu displayed for a time while the user decides what option to choose.
Thanks again! :)

html css absolute layout-content coming below footer

I am trying to create a simple page (Only using HTML and CSS) but I am having a difficulty with some elements.
main-nav and content is coming below the footer and tilda. Battling this for hours.
Please help !!!
html:
<div id="container">
<div id="header">
<div id="logo">
<a class="logo-image" href="/Common/vwWelcomeForm">Home</a>
</div>
<div id="version">
Version: <label for="Product_Version">AUSQUAD 1.5 SQL 1.5</label>
</div>
<div id="top-nav">
<label for="">24/10/2013 13:38:44</label> |
Home |
<label for="Administrator">Administrator</label> |
Log Out
</div>
<div id="header-title">
<h2>
Welcome to {<label for="Ausquad">Ausquad</label>}
</h2>
</div>
</div>
<div id="main-nav">
<div role="navigation" aria-label="Main menu">
<ul class="nav">
<li>Security Management
<ul>
<li>Company Setup</li>
<li>User List</li>
<li>Change Password</li>
<li>Module Permission</li>
<li>List Master</li>
<li>Master Groups</li>
<li>User Groups</li>
</ul>
</li>
<li>Message Administration
<ul>
<li>Message Type Master</li>
<li>Enquiry Source Master</li>
<li>Standard Message Master</li>
<li>Message</li>
<li>Message Log Management</li>
</ul>
</li>
</ul>
</div>
</div>
<div id="main-content">
test
</div>
<div id="tilda">
</div>
<div class="footer_left">
Copyright © 2013 Private Limited.
</div>
</div>
Css is:
#container{
width: 100%;
min-height: 100%;
position: relative;
overflow: hidden;
}
#header{
position: relative;
}
#logo{
padding: 0.625em 0 0 1.250em;
float:left;
}
/* converted px to em */
#version{
text-decoration: none;
color: #000000;
font-size: 0.750em;
position: absolute;
top: 4em;
left: 17em;
}
#logo a {
display:inline-block;
}
a.logo-image {
background: url('../images/logo-dashboard.png') no-repeat top left;
width: 147px;
height:76px;
text-indent: -9999px; /* hides the link text */
}
a.advertiser-logo-image {
background: url('../images/Evangelsoft_Logo_Orginal_1.jpg') no-repeat top left;
display: block;
width: 100px;
height: 63px;
text-indent: -9999px; /* hides the link text */
}
#top-nav{
position:absolute;
right:0.5em; /* rtl-review */
top:0.25em;
font-size:0.9em;
z-index: 1000;
}
#top-nav a {
text-decoration: none;
color: #039;
padding: 0.15em 0em 0.15em 0em;
}
#top-nav a:hover{
color: #017cc2;
}
#header-title{
width: 100%;
position: absolute;
top: 20px;
margin: 0 auto;
text-align:center;
}
#header-title h2{
font-size: 1.1em;
font-weight: 600;
border-bottom: 1px solid #cecfce;
color: #039;
margin: 1em 0em 0.5em 0.25em;
line-height: 1.2em;
}
#main-nav{
float: left;
margin-top: 1em;
width: 100%;
}
#main-content{
float: left;
width: 100%;
padding: 10px;
padding-bottom: 60px;
margin-top: 1em;
clear: left;
}
#tilda {
position: absolute;
bottom: 24px;
height: 36px;
width: 100%;
left: 0;
right:0;
}
.footer_left {
bottom: 0;
height: 24px;
margin: 2px 0 0;
position: absolute;
text-align: right;
width: 100%;
padding: 10px 0px 5px 0px;
color: #434343;
border-top:1px solid #ddd;
background: none repeat scroll 0 0 #E8E8E8;
}