Div color: #676767; : div « Tags « HTML / CSS






Div color: #676767;

      



?<!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.gif) top left repeat-y;
  width: 1001px;
  float: left;
  font-family: Tahoma, sans-serif;
  font-size: 11px;
  color: #676767;
}

.inside {
  background: url(images/main_bg.jpg) top 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.'div' Example
2.DIV color: white;
3.div::before content: "I said, \"Hello, world!\"";
4.div::before color: white;
5.div with id selector
6.Using div as img tag
7.This div stretches across the whole window.
8.div content: "This string is placed inside of all div elements.";
9.Using div to layout table elements
10.Div element
11.Div based multi-column
12.Div color: red;
13.Div color: #FEF9ED;
14.DIV overflow: hidden;
15.DIV as container
16.Using two Nested DIV to do the layout
17.DIV color: #9D9C6A;
18.DIV color: #505050;
19.Nested div box
20.Default layout for div tags
21.The dialogue div element is aligned vertically and horizontally, no matter what the size of the browser window.
22.div for header and body
23.Grouping Elements Using the div Element
24.Two boxes with div tags
25.HTML divisions
26.Division tag
27.div with id style
28.div with class name
29.div.className (tag.className)
30.div in a div with class name
31.Use DIV as wrapper
32.Click to show or hide DIV section
33.Click to show and hide DIV content (IE only)
34.Block divider
35.'nowrap' is similar to the 'pre' element