JSFiddle - React, Tailwind, and code Playground
by Rob Sedgwick
HTML
<body>
<script type="text/javascript" src="//cdn.thefishy.co.uk/blahdocs/spin.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<div id="container">
<div class="surround">
<div id="menu">
<div class="content">
<a href="//thefishy.co.uk/home.php"><img src="//cdn.thefishy.co.uk/menuimages/home.png" class="menuimage nomobile" alt="Main Site Home" /> Site Home</a>
<a href="//thefishy.co.uk/news.php"><img src="//cdn.thefishy.co.uk/menuimages/newspaper.png" class="menuimage nomobile" alt="News" /> News</a>
<a href="//thefishy.co.uk/football-season.php"><img src="//cdn.thefishy.co.uk/menuimages/features.gif" class="menuimage nomobile" alt="Football Season" /> Football</a>
<a href="//thefishy.co.uk/season.php"><img src="//cdn.thefishy.co.uk/menuimages/soccer_ball.gif" class="menuimage nomobile" alt="Grimsby Season" /> Season</a>
<a href="//thefishy.co.uk/resultsdb.php"><img src="//cdn.thefishy.co.uk/menuimages/database_key.png" class="menuimage nomobile" alt="Database" /> Database</a>
<a href="//thefishy.co.uk/story.php?id=7952809"><img src="//cdn.thefishy.co.uk/menuimages/info.gif" class="menuimage nomobile" alt="Club" /> Club</a>
<a href="//thefishy.co.uk/story.php?id=8503378"><img src="//cdn.thefishy.co.uk/menuimages/chat.gif" class="menuimage nomobile" alt="POM" /> POM</a>
<a href="//thefishy.co.uk/contact.php"><img src="//cdn.thefishy.co.uk/menuimages/contact.gif" class="menuimage nomobile" alt="Contact" /> Contact</a>
<div class="nomobile" style="float: right; background: none repeat scroll 0% 0% transparent;">
<script type="text/javascript" src="https://apis.google.com/js/platform.js" async defer></script>
<g:plusone></g:plusone>
</div>
</div>
</div>
<div class="header-eblah" style="height: 25px">
<div style="float: left">
...
CSS
/* Default Theme Layout */
#container {
margin: auto;
padding: 0;
margin-top: 0;
margin-bottom: 10px;
background: #FCFDFF;
display: table-cell;
}
@media(min-width: 600px) {
#container {
width: 100%;
}
}
body {
width: 95%;
margin: 10px;
}
}
@media(max-width: 600px) {
#container {
width: 825px;
}
body {
width: 825px;
margin: 0;
}
}
#container .surround {
border: 1px #8D969B solid;
border-top: 0;
padding: 1px;
padding-top: 0;
}
#copyright {
width: 95%;
margin: auto;
}
#title {
float: left;
background: url('/images/top_grad.gif');
background-color: #FFF;
font-size: xx-large;
font-weight: bold;
text-align: left;
vertical-align: middle;
padding: 25px;
}
#menu-container {
float: left;
}
#content {
clear: both;
padding: 10px;
}
/* Global Table Settings */
body,
table,
td {
font-family: Arial, Verdana, Helvetica;
font-size: medium;
line-height: 1.3;
color: #1D1F22;
}
body {
background-color: #D8D8D8;
text-align: center;
}
body {
display: table;
vertical-align: middle;
margin-left: auto;
margin-right: auto;
}
td {
text-align: left;
}
img {
border: 0;
}
img {
border: 0;
}
blockquote {
border: 1px #4385DB solid;
border-left: 5px #4385DB solid;
}
blockquote .quoteby {
padding: 10px;
border-bottom: 1px #4385DB dotted;
}
blockquote .quotebody {
padding: 10px;
}
.catdesc {
padding: 4px;
line-height: 130%;
}
.normaltext {
font-size: medium;
text-decoration: none;
font-weight: normal;
}
.indextitle {
font-size: x-large;
font-weight: bold;
white-space: nowrap;
margin: 0pt;
}
.indextitle2 {
font-size: x-large;
font-weight: bold;
margin: 0pt;
}
.subtitle {
font-size: medium;
font-weight: bold;
white-space: nowrap;
}
.pages {
font-weight: normal !important;
font-size: small;
line-height: 1.5;
white-space: nowrap;
padding-top: 4px;
padding-bottom: 4px;
}
.pages a,
.pages a:link,
.pages a:active,
.pages...