Stacked Top Links 4-Up
Navigation begins as a single row at the top of the layout. At a specified breakpoint, the nav stacks into a two column grid at the top.
<style>
.main_cta img { width: 100%; height: auto !important; }
/* Stacked Top Links Navigation Pattern CSS */
@media only screen and (max-width: 400px) {
td[class="main_nav"] {
padding: 10px 0;
}
td[class="main_nav"] td {
display: block;
float: left;
padding: 0 !important;
width: 50%;
}
td[class="main_nav"] a {
display: block;
padding: 20px 0;
background: #eee;
}
td[class="main_nav"] .nav1 a,
td[class="main_nav"] .nav2 a {
border-bottom: 1px solid #999;
}
td[class="main_nav"] .nav1 a,
td[class="main_nav"] .nav3 a {
border-right: 1px solid #999;
}
}
</style>
<table cellpadding="0" cellspacing="0">
<tr>
<td class="main_nav" width="600">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="nav1" align="center" style="padding: 15px 10px; font-family: arial,sans-serif; font-size: 12px; font-weight: bold;">
<a href="#" style="text-decoration: none; color: #999999;">Navigation 1</a>
</td>
<td class="nav2" align="center" style="padding: 15px 10px; font-family: arial,sans-serif; font-size: 12px; font-weight: bold;">
<a href="#" style="text-decoration: none; color: #999999;">Navigation 2</a>
</td>
<td class="nav3" align="center" style="padding: 15px 10px; font-family: arial,sans-serif; font-size: 12px; font-weight: bold;">
<a href="#" style="text-decoration: none; color: #999999;">Navigation 3</a>
</td>
<td align="center" style="padding: 15px 10px; font-family: arial,sans-serif; font-size: 12px; font-weight: bold;">
<a href="#" style="text-decoration: none; color: #999999;">Navigation 4</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="main_cta">
<img src="http://placehold.it/600x300&text=Main+CTA" alt="" style="display: block; border: 0;" />
</td>
</tr>
</table>