#navigation-area {
width: 94%;
margin: 0 auto;
padding: 20px 0px 0px 0px;
}
#nav li {
list-style-type: none;
padding-right: 10px;
font-weight:bold;
font-size: 0.75em; /* 12px/16px */
color: 141D5A;
}
#nav li.last {padding: 0px;}
#nav li a:link, #nav li a:visited { color: #141D5A; text-decoration: none; }
#nav li a:hover, #nav li a:active { color: #F29400; text-decoration: underline; }
and my html:
<div id="navigation-area"> <ul id="nav"> <li><a href="#">List item</a></li> <li><a href="#">List item</a></li> <li><a href="#">List item</a></li> <li><a href="#">List item</a></li> <li><a href="#">List item</a></li> <li><a href="#">List item</a></li> <li><a href="#">List item</a></li> <li><a href="#">List item</a></li> <li class="last"><a href="#">List item</a></li> </ul> </div> <!-- END navigation-area -->
I'd bascially want to overide these styles with a media query for small screens so that I get a neat 2 column menu on mobile devices that I can style with background coloured boxes rather than an inline list. Very much like the menu you get on this site when viewing on a small screen:
http://thebritishvoiceoverguy.com/
I've looked at the source code and can't figure it out.
I've never done any multi column css - any ideas?
Help




















