I have this CSS code:
.tab-box {
border-bottom: 1px solid #666666;
padding-bottom:5px;
}
.tab-box a {
border:1px solid #666666;
color:#FFFFFF;
padding: 0 5px 0 5px;
text-decoration:none;
background-color: #eee;
background:#666666;
color:#FFFFFF;
}
.tab-box a.activeLink {
background-color: #eeeeee;
color:#666666;
border-bottom: 0;
padding: 5px 15px;
}
.tabcontent {
padding: 5px;
width: 99%;
}
.hide { display: none;}
.small {
color: #999;
margin-top: 100px;
border: 1px solid #EEE;
padding: 5px;
font-size: 9px;
font-family:Calibri;
}
I am trying to add a margin top to the links.
I have tried adding margin-top:30px;
to .tab-box a
but it's not adding it.
I need it so if the tabs altogether are bigger than then screen width when they go below each other they are not overlapping.
Here is a fiddle with the full code http://jsfiddle.net/5rZP8/