JSFiddle - React, Tailwind, and code Playground

HTML

<?php
//we need to set a var to find what page we are on
$pageOn = basename($_SERVER['PHP_SELF']);
//this is used for the title bar
$mItem = $pageOn;
?>

<link href="css/pndales.css" rel="stylesheet" type="text/css" />
<div class="menu">
<ul>
	<li><a href="index.php" class="hide"<?php if($pageOn == 'index.php'){?> id="selected"<?php }?>>Home</a></li>
    <li><a href="first_time.php" class="hide"<?php if($pageOn == 'first_time.php'){?> id="selected"<?php }?>>First Time Buyer</a></li>
    <li><a href="remortgaging.php" class="hide"<?php if($pageOn == 'remortgaging.php'){?> id="selected"<?php }?>>Remortgaging </a></li>
    <li><a href="moving.php" class="hide"<?php if($pageOn == 'moving.php'){?> id="selected"<?php }?>>Moving Home</a></li>
    <li><a href="buytolet.php" class="hide"<?php if($pageOn == 'buytolet.php'){?> id="selected"<?php }?>>Buy To Let</a></li>
    <li><a href="insurance.php" class="hide"<?php if($pageOn == 'insurance.php'){?> id="selected"<?php }?>>Insurance</a></li>
  </ul>
</div>

CSS

/* CSS Document */
html, body, div, span, applet, object, iframe, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td{
	margin:0;
	border:0;
	outline:0;
	font-weight:inherit;
	font-style:inherit;
	font-size:100%;
	font-family:Calibri, Verdana, Arial, Helvetica, sans-serif;
	vertical-align:baseline;
	padding-bottom: 0px;
}

.warning {color: #CC0000; font-style:italic;}
.pleasenote {color: #5D0286; font-style:italic;}

div#preload { 
display: none; 
visibility: hidden;
}

#quotelink{
	text-indent:10px;
	height:30px;
	line-height:30px;
	font-weight:800;
	background-image:url(../images/quote_link.jpg);
	text-align: left;
}

#quotelink a:hover{
	width:180px;
	height:30px;
	display:block;
	background-image:url(../images/quote_link_over.jpg);
	text-decoration:none;
	text-align: left;
}

#green{
width:180px;
height:30px;
background-image:url(../images/green_narrow.gif);
text-indent:10px;
display:block;
line-height:30px;
margin-bottom:15px;
}

#green a:hover{
width:180px;
display:block;
background-image:url(../images/green_narrow_over.gif);
text-decoration:none;
}

#grey{
width:180px;
height:30px;
background-image:url(../images/grey_narrow.gif);
text-indent:10px;
display:block;
line-height:30px;
margin-bottom:15px;
letter-spacing:inherit;
}

#grey a:hover{
width:180px;
display:block;
background-image:url(../images/grey_narrow_over.gif);
text-decoration:none;
}


body{
\font-size:1em;
font-size:smaller;
font-family:Calibri, Verdana, Arial, Helvetica, sans-serif;
color:#333333;
text-align:left;
}


body a{
font-weight:900;
text-decoration:none;
color:#333333;
text-decoration:underline;
}

body a:hover{
font-weight:900;
color:#333333;
text-decoration:underline;
}

.hidden {
	display:...