hotel 2 : Hotel « Templates « HTML / CSS






hotel 2

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Free web template - hotel - by spyka Webmaster</title>
<style type='text/css'>
* {
  margin:0;
  padding:0;
}
body {
  background:#333333 none repeat-x scroll top left;
  margin:0 auto;
  padding:0;
  font-family:Arial, Helvetica, sans-serif;
}


/* wrapper */
div#wrap {
  width:90%;
  margin:0 auto;
  padding:0 10px;
}


/* header & nav */
div.header {
  margin:0 auto;
}
div.nav {
  padding:0;
  margin:0 0 0 15px;
  background:#5E008D url('hotel-images/nav-bg-right.png') no-repeat scroll bottom right;
}
div.title {
  padding:50px 20px;
  margin:0 auto; 
  background:#333 url('hotel-images/titlebg.png') repeat-x scroll 50% 50%;
}
div.innernav { 
  margin:0 15px 0 0;
  background:#5E008D url('hotel-images/nav-bg.png') repeat-x scroll bottom left;
  height:80px;
}
div.outernav {
  width:90%;
  margin:0 auto;
  background:#5E008D url('hotel-images/nav-bg-left.png') no-repeat scroll bottom left;
}
div.innertitle {
  width:90%;
  margin:0 auto;
}
div.nav ul {
  list-style:none;
  padding:0 0 0 10px;
  margin:0;
  position:relative;
}
div.nav ul li {
  display:inline;
  float:left;
}
div.nav ul li a, div.nav ul li a:visited {
  float:left;
  margin:0 5px;
  padding:30px 20px 10px 20px;
  height:40px;
  text-decoration:none;
  color:#ffffff;
  font-weight:normal;
  font-size:0.9em;
  font-family:Arial, Helvetica, sans-serif;
}
div.nav ul li a:hover {
  background-color:#360050;
}


/* headers */
h1, h2 {
  text-align:left;
  color:#fff;
}
h1 {
  font-size:3em;
  padding-left:10px;
}
h1 a, h1 a:hover, h1 a:visited {
  text-decoration:none;
  color:#ffffff;
}
h2 {
  padding:0 0 10px 10px;
  font-size:0.9em;
  font-family:Georgia, "Times New Roman", Times, serif;
}
h3 {
  font-size:1.5em;
  font-family:'Lucida Sans Unicode','Lucida Grande',verdana,sans-serif;
  font-weight:normal;
  color:#333333;
}
h4 {
  color:#51007A;
  font-family:Georgia, "Times New Roman", Times, serif;
  font-size:1.4em;
  font-weight:normal;
  padding:5px 5px 5px 10px;
  border-left:10px solid #500078;
}


/* element defaults */
p {
  margin-bottom:20px;
  line-height:1.7em;

  font-size:0.95em;  color:#333333;
}
ul {
  padding:0 0 20px 35px;
}
code {
  border:1px solid #51007A;
  border-left-width:10px;
  display:block;
  padding:10px;
  margin:10px 0;
}

/* default forms */
form {}
form input, form textarea {
  border:2px solid #dddddd;
  padding:5px;
  color:#666666;
  font-family:Arial, Helvetica, sans-serif;
  font-size:1.0em;
}
form input.formbutton {
  background:#5E008D url('hotel-images/nav-bg.png') repeat-x scroll bottom left;
  color:#ffffff;
  font-size:0.9em;
  border:1px solid #220033;
  font-weight:bold;
  font-family:Verdana, Arial, Helvetica, sans-serif;
}

/* default tables */ 
table {
  width:100%;
  margin-bottom:10px;
}
table tr th, table tr td {
  padding:5px 10px; 
}
table tr th {
  background:#5E008D url('hotel-images/nav-bg.png') repeat-x scroll bottom left;
  color:#ffffff;
}
table tr td {
  border-bottom:1px solid #dddddd;
}


/* default links */
a { 
  color:#51007A;
}
a:visited { 
  color:#51007A;
} 
a:hover { 
  color:#300047; 
}
  

/* centeral page */
div.pagewrapper {
  margin:0 auto;
  background:#ffffff url('hotel-images/content-bg-right.png') no-repeat scroll top right;
  
}
div.innerpagewrapper {
  background:#ffffff url('hotel-images/content-bg-left.png') no-repeat scroll top left;
  margin:0 11px 0 0;
}
div.page {
  margin:0 0 0 11px;
  background-color:#ffffff;
  padding:10px 10px 0 10px;
}
div.page ul {
  list-style:square;
  font-size:0.95em;
}
div.page ul li {
  padding:3px 0;
}


/* content */
div.content {
  width:65%;
  float:left;
}


/* sidebar */
div.sidebar {
  width:30%;
  float:right;
}
div.sidebar ul {
  list-style:none;
  padding:10px 10px 25px 10px;
}
div.sidebar ul li {
  padding:7px 0;
}
div.sidebar ul li a {
  font-family:Georgia, "Times New Roman", Times, serif;
  text-decoration:none;
  font-size:1.1em;
}

/* footer */
div.footer {
  clear:both;
  margin-top:10px;
  border-top:1px solid #c6c6c6;
  background:#dddddd url('hotel-images/footerbg.png') repeat-x scroll bottom left;
  height:80px;
}
div.footer p {
  text-align:center;
  color:#666666;
  padding-top:30px;
  font-size:0.9em;
  font-family:"Trebuchet MS", Verdana, Arial;
}
div.footer p a {
  color:#666666;
}

/* search form */
form.searchform {
  padding-top:10px;
}


/* misc classes */
*:focus {
  outline:none;
}
.clear {
  clear:both;
}

</style>


</head>
<body>
<div class="header">
  <div class="outernav">
    <div class="nav">
      <div class="innernav">
        <ul>
        
          <!-- MENU -->
          <li><a href="index.html">Home</a></li>
          <li><a href="examples.html">Examples</a></li>
          <li><a href="#">Solutions</a></li>
          <li><a href="#">Support</a></li>
          <li><a href="#">Contact</a></li>
          <!-- END MENU -->
          
        </ul>
      </div>
    </div>
  </div>
    
  <div class="clear"></div>
  
  <div class="title">
    <div class="innertitle">
      
      <!-- TITLE -->
      <h1><a href="#">hotel</a></h1>
      <h2>just another free template</h2>
      <!-- END TITLE -->
      
    </div>
  </div>
</div>
<div id="wrap">
  <div class="pagewrapper">
    <div class="innerpagewrapper">
      <div class="page">
        <div class="content">
        
          <!-- CONTENT -->
          <h3>List</h3>
  
          <ul>
            <li>List item</li>
            <li>List item</li>
            <li>List item</li>
          </ul>
          <p>&nbsp;</p>
          
          <h3>Code</h3>
  
          <code>&lt;? echo('Hello world'); ?&gt;</code>
          <p>&nbsp;</p>
          
          <h3>Form</h3>
          <form action="#" method="get">
            <p><label for="name">Name:</label><br />
            <input type="text" name="name" id="name" value="" /><br /></p>
  
            <p><label for="email">Email:</label><br />
  
            <input type="text" name="email" id="email" value="" /><br /></p>
            <p><label for="message">Message:</label><br />
    
            <textarea cols="60" rows="11" name="message" id="message"></textarea><br /></p>
            <p><input type="submit" name="send" class="formbutton" value="Send" /></p>
          </form>
          <p>&nbsp;</p>
          
          <h3>Table</h3>
  
          <table>
            <tr>
              <th>ID</th>
              <th>Name</th>
              <th>Age</th>
            </tr>
            <tr>
  
              <td>1</td>
              <td>John Smith</td>
              <td>28</td>
            </tr>
            <tr>
              <td>2</td>
              <td>Fred James</td>
  
              <td>49</td>
            </tr>
            <tr>
              <td>3</td>
              <td>Rachel Johnson</td>
              <td>19</td>
            </tr>
  
          </table>        
          <!-- END CONTENT -->
          
        </div>
        
        <div class="sidebar">  
          
          <!-- SIDEBAR -->    
          <h4>About us</h4>
          <p>A little bit of information about your website, what you do, what's on offer and why visitors should stick around</p>
    
          <h4>Links</h4>
          <ul>
            <li><a href="http://www.spyka.net" title="spyka Webmaster resources">spyka webmaster</a></li>
            <li><a href="http://www.justfreetemplates.com" title="free web templates">JustFreeTemplates</a></li>
            <li><a href="http://www.spyka.net/forums" title="webmaster forums">Webmaster forums</a></li>
            <li><a href="http://www.profileartist.net" title="premium templates">Premium templates</a></li>
    
            <li><a href="http://www.awesomestyles.com" title="free forum skins and templates">Forum resources</a></li>
    
          </ul>
          <h4>Search</h4>
          <form action="#" method="get" class="searchform">
            <p>
              <input type="text" id="searchq" name="q" />
              <input type="submit" class="formbutton" value="Search" />
            </p>
          </form>
          <!-- SIDEBAR -->
      
        </div>
        
        <div class="footer">
          <p><a href="http://validator.w3.org/check/referer" title="valid XHTML">XHTML</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer" title="valid CSS">CSS</a> &nbsp;&nbsp; &copy; YourWebsiteName. Design: <a href="http://www.spyka.net">spyka webmaster</a> | <a href="http://www.justfreetemplates.com">Free Web Templates</a></p> 
        </div>
      </div>
    </div>
  </div>
</div>
</body>
</html>

   
  








Related examples in the same category

1.hotel-and-travel
2.hotel_blue
3.hotel_green
4.hotel_orange
5.hotel_red