Div Sidebar float: left; : Siderbar « CSS Controls « HTML / CSS

HTML / CSS » CSS Controls » Siderbar 
Div Sidebar float: left;
  




?<!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" dir="ltr" lang="en-US"
  xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title></title>
<style rel="stylesheet" type="text/css">


#content {
  background: url(images/bg.giftop left repeat-y;
  width: 1001px;
  float: left;
  font-family: Tahoma, sans-serif;
  font-size: 11px;
  color: #676767;
}

.inside {
  background: url(images/main_bg.jpgtop left no-repeat;
  padding: 30px 0 0 0;
  float: left;
}

#sidebar {
  width: 328px;
  float: left;
  padding: 0 38px 45px 29px;
}


</style>
</head>
<body>
  <div id="content">
    <div class="inside">
      <div id="sidebar">
        <div class="order">
          <form action="#">
            <h3>Reservation</h3>
            <div class="button"><a href="#"><img src="images/button.gif" alt="" width="134" height="21" /></a></div>                                                                                                                                                                                                                        <div class="inner_copy"><a href="http://www.beautifullife.info/">beautiful</a><a href="http://www.grungemagazine.com/">grunge</a></div>
          </form>
        </div>
        <div class="block">
          <h4>Locations</h4>
          <p>Magna a luctus lacinia, sem Lorem vestibulum neque ac onsectetuer Donec fermentum varius erat. Sed sit amet tellus. Duis tristique, lacus vel nonummy lobortis, nibh massa dapibus diam a viverra augue ipsum et diam. </p>
          <img src="images/map.jpg" alt="" width="304" height="207" class="map" /><br />
          <a href="#" class="more">more info</a> <a href="#">ZOOM</a>
        </div>
      </div>


    </div>  
  </div>
</body>

</html>

   
    
  
Related examples in the same category
1.siderbar float right
2.Content floats left, side bar floats right
3.Sidebar with absolute position
4.Inner left and right bar
5.Sidebar with float left
6.Side bar contains list
7.side bar 2
8.Link bar with dotted line
9.Latest news sidebar
10.Sidebar with link and text
11.Sidebar with read more link
12.Text paragraph with sidebar
13.Sidebar with border
14.Div Sidebar padding: 0 38px 45px 29px;
15.Div Sidebar width: 328px;
16.Div based sidebar
17.Sidebar column
18.Sidebar with read more link 3
19.Layout for sidebar and article
20.Navigation sidebar
21.Two columns with sidebar
22.position: absolute; Sidebar
23.Sidebar Link list
24.Sidebar with right border
25.Links inside sidebar
26.Sidebar title
27.Sidebar with read more
28.Sidebar with around corner
29.Login form inside sidebar
30.Shading sidebar title
31.Using border to add boundary to the sidebar item
32.Sidebar with two columns
33.With link sidebar on both sides
34.Site news inside sidebar
35.Sidebar floating right
36.Sidebar Links with mouse hover effect
37.Using H4 as the sidebar section title
38.Sidebar li a:hover background:#94CC29;
39.Link side bar
40.Two column links and text
41.Two column right link bar
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.