JSFiddle - React, Tailwind, and code Playground

by swati

HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="css/StyleSheet.css" rel="stylesheet" type="text/css" />
    <title>Esthetic Dental Care</title>
          
    <style type="text/css">
        .style1
        {
            font-family: "Monotype Corsiva";
            color: #FFFFFF;
        }
    </style>
          
</head>
<body>
<div id="header" >
<div id="esthetic">
</div>
<div id="tagline">
<h1 class="style1" 
        
        style="z-index: 1; left: 42px; top: 27px; position: absolute; height: 33px; width: 492px">We Love to see you Smile !!</h1>
</div>
</div>


<div id="wrap">
<div id-="banner">
<img src="images/crown.jpg" alt="image 1"class="is-showing" />
<img src="images/implants.jpg" alt="image 2/>
<img src="images/smile-design.jpg" alt="image 3/>
</div>
</div>


<div id="bodybg"> 
<div id="nav">
    <ul>
        <li><a href="#">Home</a></li>
        <li><a href="#">About Us</a></li>
        <li><a href="#">Services</a></li>
        <li><a href="#">Contact</a></li>
        <li><a href="#">Gallery</a></li>
        <li><a href="#">Appointment</a></li>
        <li><a href="#">FAQs</a></li>
        <li><a href="#">Contact Us</a></li>
    </ul>
</div>
</div>





<div class="maincontent">

<div class="leftcol">
<h2>We Offer</h2>
<p>Tooth Coloured Filling</p>
<p>Tooth Coloured Filling</p>
<p>Tooth Coloured Filling</p>
<p>Tooth Coloured Filling</p>
</div>
<div class="rightcol">
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
</div>


 
</body>
</html>

CSS

body {    margin-left:15%;
          margin-right:15%;
          margin-top:0;
          padding:0%;
          border:0;
          text-align:center;
               
          
}

#header
{
    background-image: url('../images/head_bg.jpg');
    background-repeat: repeat-x;
    background-attachment: scroll;
    background-position: center top;
    height: 86px;
    margin-top: 0px;
    position:relative;
    
}
#esthetic
{
    border-style: none;
    background-image: url('../images/esthetic.gif');
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: left top;
    position:absolute;
    height: 86px;
    top: 0px;
    left: 15px;
    width: 306px;
    z-index:1;
}
    #tagline
{
   
   Text-align: center;
    height: 89px;
    margin-left: 200px;
    z-index:1;
    position:absolute;
    height: 91px;
    top: -2px;
    left: 152px;
    width: 492px;
}

#bodybg
{
   width:100%;
    margin-right: auto;
    margin-left: auto;
    
}

#nav {
     width: 100%;
    float: left;
    margin: 0 0 1em 0;
    padding: 0;
    background-image: url('../images/but_bef.jpg');
    background-repeat: repeat-x;
    border-bottom: 1px solid #ccc;
    z-index:1;    
      }
      
#nav ul {
    list-style: none;
    width: 869px;
    margin: 0 auto;
    padding: 0; 
    font-family: "verdana";
    font-size:small;
    }    
    
#nav li {
    float: left; }
#nav li a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    border-right: 1px solid #ccc; }
#nav li:first-child a {
    border-left: 1px solid #ccc; }
#nav li a:hover {
    color: #000;
    background-image:url('../images/but_aft.jpg');
    background-repeat:repeat-x;
 }
    
    .maincontent
    {
     background-image: url('../images/body_gradient-02.jpg');
    background-repeat: repeat-y;
    background-attachment: scroll;
    position:relative;
    height: 242px;
    top: 1px;
    left: 0px;
    z-index:-1;
    
}
   ...