Div Sidebar padding: 0 38px 45px 29px; : Siderbar « CSS Controls « HTML / CSS

Div Sidebar padding: 0 38px 45px 29px;


?<!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"
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<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;

  <div id="content">
    <div class="inside">
      <div id="sidebar">
        <div class="order">
          <form action="#">
            <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>
        <div class="block">
          <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>




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 width: 328px;
15.Div Sidebar float: left;
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