JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
</head>
<body>
<div id="wrapper">
<div id="mysql">
<form name="mysql" action="mysql.php" method="post" target="mysqlfrm">
<div><label for="url">url/gallery:</label><input type="text" id="url" name="url"/></div>
<div><label for="title">title:</label><input type="text" id="title" name="title"/></div>
<div><label for="desc">description:</label><input type="text" id="desc" name="description"/></div>
<div><label for="country">country:</label><input type="text" id="country" name="country"/></div>
<div><label for="categories">categories:</label><input type="text" id="categories" name="category"/></div>
<p class="clear"/>
<input type="submit" value="insert"/>
<input type="reset" value="clear"/>
</form>
<iframe id="mysqlfrm" name="mysqlfrm"/>
</div>
<div id="gallery">
<form name="gallery" action="upload.php" method="post" enctype="multipart/form-data" target="uploadFrm">
<input id="image" name="file[]" type="file"/>
<input type="submit" value="upload"/>
<input id="galName" name="galName" type="text"/>
</form>
<div id="fList"></div>
<iframe id="uploadFrm" name="uploadFrm"></iframe>
</div>
</div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
</body>
</html>
CSS
*{
margin:0;
padding:0;
font: 12px arial,helvetica,verdana,sans-serif;
color:black;
list-style: none;
text-decoration: none;
text-align: left;
}
body{
text-align: center;
}
html{
overflow-y: scroll;
}
#wrapper{
width:85%;
margin:0 auto;
min-width:720px;
max-width:1000px;
}
/* #header, #logo, #category,#country{
width: 100%;
float:left;
}*/
#header{
margin-top: 15px;
width: 100%;
}
#logo{
float: left;
}
#search{
float: right;
vertical-align: bottom;
}
#horNav{
border-bottom: 2px solid #d5d5d5;
border-top: 2px solid #d5d5d5;
padding: 2px 0;
overflow: hidden;
display: block;
width: 100%;
}
input{
display: inline;
}
#posts{
width:50%;
max-width: 522px;
z-index: 200;
}
div.post{
position: relative;
}
#verNav{
width:20%;
margin:0 2%;
max-width: 130px;
}
#adverts{
width:25%;
}
#posts,#verNav,#adverts{
float:left;
}
#posts div.post,#verNav div, #adverts div{
margin-top:25px;
}
#posts embed, #posts object{
width: 100%;
max-width: 512px;
height: 280px;
}
#pages{
display: block;
overflow: hidden;
width: 100%;
}
#footer{
width:100%;
border-bottom: 2px solid #d5d5d5;
border-top: 2px solid #d5d5d5;
padding: 2px 0;
clear:both;
display: block;
overflow: hidden;
margin-bottom: 20px;
}
#mysql{
margin-top: 20px;
}
#mysql label{
float: left;
width: 100px;
}
#mysql label,#mysql input{
...