a-Hover Menu keeps disappearing on mouse over - html

When I mouse over the services link the right hand side hover keeps disappearing. I have looked at the css and I cant seem to find where to fix it. This website is http://www.aoaluminiumproducts.com.au and my CSS is as below:
html
{ height: 100%;}
*
{ margin: 0;
padding: 0;}
body
{ font: 0.8em/1.5 "arial",sans-serif;
color: #303030;
background: #990000;
}
p
{ padding: 0 0 20px 0;
line-height: 1.7em;}
img
{ border: 0;}
h1, h2, h3, h4, h5, h6
{ font: normal 175% 'century gothic', arial, sans-serif;
color: #43423F;
margin: 0 0 15px 0;
padding: 15px 0 5px 0;}
h2
{ font: normal 200% 'century gothic', arial, sans-serif;
color: #1293EE;}
h4, h5, h6
{ margin: 0;
padding: 0 0 5px 0;
font: normal 120% arial, sans-serif;
color: #1293EE;}
h5, h6
{ font: italic 95% arial, sans-serif;
padding: 0 0 15px 0;
color: #000;}
h6
{ color: #362C20;}
a, a:hover
{ outline: none;
text-decoration: underline;
color: #CC0000;}
a:hover
{ text-decoration: none;}
.left
{ float: left;
width: auto;
margin-right: 10px;}
.right
{ float: right;
width: auto;
margin-left: 10px;}
.center
{ display: block;
text-align: center;
margin: 20px auto;}
blockquote
{ margin: 20px 0;
padding: 10px 20px 0 20px;
border: 1px solid #E5E5DB;
background: #FFF;}
ul
{ margin: 2px 0 22px 17px;}
ul li
{ list-style-type: circle;
margin: 0 0 6px 0;
padding: 0 0 4px 5px;}
ol
{ margin: 8px 0 22px 20px;}
ol li
{ margin: 0 0 11px 0;}
#main, #logo, #menubar, #site_content, #footer
{ margin-left: auto;
margin-right: auto;}
#header
{ background: #990000;
height: 240px;}
#logo
{ width: 810px;
position: relative;
height: 120px;
background: #150517; url(logo.png) no-repeat;}
#logo #logo_text
{ position: center;
top: 20px;
left: 0;}
#logo h1, #logo h2
{ font: normal 300% 'century gothic', arial, sans-serif;
border-bottom: 0;
text-transform: none;
margin: 0;}
#logo_text h1, #logo_text h1 a, #logo_text h1 a:hover
{ padding: 22px 0 0 0;
color: #FFF;
letter-spacing: 0.1em;
text-decoration: none;}
#logo_text h1 a .logo_colour
{ color: #FAF700;}
#logo_text h2
{ font-size: 100%;
padding: 4px 0 0 0;
color: #DDD;}
#menubar
{ width: 877px;
height: 72px;
padding: 0;
background: #150517; url(menu.png) repeat-x;
}
ul#menu, ul#menu li
{ float: left;
margin: 0;
padding: 0;}
ul#menu li
{ list-style: none;}
ul#menu li a
{ letter-spacing: 0.1em;
font: normal 100% 'lucida sans unicode', arial, sans-serif;
display: block;
float: left;
height: 37px;
padding: 29px 26px 6px 26px;
text-align: center;
color: #FFF;
text-transform: uppercase;
text-decoration: none;
background: transparent;}
ul#menu li a:hover, ul#menu li.selected a, ul#menu li.selected a:hover
{ color: #FFF;
background: #451C1B url(menu_select.png) repeat-x;}
ul#menu li ul#sub_nav
{
/*border:1px solid red;*/
position: absolute;
left: 0; top:35px;
padding: 15px 0;
width: 170px;
margin:0;
display:none;
background:#150517;
}
ul#menu li:hover #sub_nav
{
display:block;
}
#site_content
{ width: 900px;
overflow: hidden;
margin: 0 auto 0 auto;
padding: 20px 24px 20px 37px;
background: #DCDCDC;}
.sidebar
{ float: right;
width: 200px;
padding: 0 15px 20px 15px;}
.sidebar ul
{ width: 178px;
padding: 4px 0 0 0;
margin: 4px 0 30px 0;}
.sidebar li
{ list-style: none;
padding: 0 0 7px 0; }
.sidebar li a, .sidebar li a:hover
{ padding: 0 0 0 40px;
display: block;
background: transparent url(link.png) no-repeat left center;}
.sidebar li a.selected
{ color: #444;
text-decoration: none;}
#content
{ text-align: left; position: absoulte;
width: 595px;
padding: 0;}
#content ul
{ margin: 2px 0 22px 0px;}
#content ul li
{ list-style-type: none;
background: url(bullet.png) no-repeat;
margin: 0 0 6px 0;
padding: 0 0 4px 25px;
line-height: 1.5em;}
#footer
{ width: 878px;
font: normal 100% 'lucida sans unicode', arial, sans-serif;
height: 33px;
padding: 24px 0 5px 0;
text-align: center;
background: #000000;
color: #b1b1b1;
text-transform: uppercase;
letter-spacing: 0.1em;}
#footer a
{ color: #FFF;
text-decoration: none;}
#footer a:hover
{ color: #FFF;
text-decoration: underline;}
.search
{ color: #5D5D5D;
border: 1px solid #BBB;
width: 134px;
padding: 4px;
font: 100% arial, sans-serif;}
#colours
{ height: 0px;
text-align: right;
padding: 66px 16px 0px 300px;}
.form_settings
{ margin: 15px 0 0 0;}
.form_settings p
{ padding: 0 0 4px 0;}
.form_settings span
{ float: left;
width: 200px;
text-align: left;}
.form_settings input, .form_settings textarea
{ padding: 5px;
width: 299px;
font: 100% arial;
border: 1px solid #E5E5DB;
background: #FFF;
color: #47433F;}
.form_settings .submit
{ font: 100% arial;
border: 1px solid;
width: 99px;
margin: 0 0 0 212px;
height: 33px;
padding: 2px 0 3px 0;
cursor: pointer;
background: #7D0F0F;
color: #FFF;}
.form_settings textarea, .form_settings select
{ font: 100% arial;
width: 299px;}
.form_settings select
{ width: 310px;}
.form_settings .checkbox
{ margin: 4px 0;
padding: 0;
width: 14px;
border: 0;
background: none;}
.separator
{ width: 100%;
height: 0;
border-top: 1px solid #D9D5CF;
border-bottom: 1px solid #FFF;
margin: 0 0 20px 0;}
table
{ margin: 10px 0 30px 0;}
table tr th, table tr td
{ background: #DCDCDC;
color: #DCDCDC;
padding: 7px 4px;
text-align: left;}
table tr td
{ background: #DCDCDC;
color: #DCDCDC;
}
#testimonials{
width: 133px;
padding: 45px 45px 35px;
background:url('../img/quotes.png') no-repeat 20px 20px rgba(178,178,169,0.2);
min-height:90px;
-moz-border-radius:12px;
-webkit-border-radius:12px;
border-radius:12px;
}
#testimonials ul{ list-style:none;}
#testimonials p.text{ font-size:11px;}
#testimonials p.author{
color: #878787;
font-size: 16px;
font-style: italic;
text-align: left;
}
#testimonials p.author a,
#testimonials p.author a:visited{
color:#6aa42a;
}

If your intention is to make a drop down menu, then your li tag is missing position:relative property and sub menu gets stuck to the top of the page on the left. What you meant by hover keeps disappearing — I'm not so sure.

Hi the main thing is that you have defined position:absolute into your child id without defining position:relative to your parent id so that's why you hover drop-down is going some-where top.
so i have updated your css apply this one i hope this will work fine:-
ul#menu li {
list-style: none outside none;
position: relative;
}
ul#menu li ul#sub_nav {
background: none repeat scroll 0 0 #150517;
display: none;
margin: 0;
position: absolute;
top: 72px;
width: 155px;
}
Your Complete Updated CSS
html
{ height: 100%;}
*
{ margin: 0;
padding: 0;}
body
{ font: 0.8em/1.5 "arial",sans-serif;
color: #303030;
background: #990000;
}
p
{ padding: 0 0 20px 0;
line-height: 1.7em;}
img
{ border: 0;}
h1, h2, h3, h4, h5, h6
{ font: normal 175% 'century gothic', arial, sans-serif;
color: #43423F;
margin: 0 0 15px 0;
padding: 15px 0 5px 0;}
h2
{ font: normal 200% 'century gothic', arial, sans-serif;
color: #1293EE;}
h4, h5, h6
{ margin: 0;
padding: 0 0 5px 0;
font: normal 120% arial, sans-serif;
color: #1293EE;}
h5, h6
{ font: italic 95% arial, sans-serif;
padding: 0 0 15px 0;
color: #000;}
h6
{ color: #362C20;}
a, a:hover
{ outline: none;
text-decoration: underline;
color: #CC0000;}
a:hover
{ text-decoration: none;}
.left
{ float: left;
width: auto;
margin-right: 10px;}
.right
{ float: right;
width: auto;
margin-left: 10px;}
.center
{ display: block;
text-align: center;
margin: 20px auto;}
blockquote
{ margin: 20px 0;
padding: 10px 20px 0 20px;
border: 1px solid #E5E5DB;
background: #FFF;}
ul
{ margin: 2px 0 22px 17px;}
ul li
{ list-style-type: circle;
margin: 0 0 6px 0;
padding: 0 0 4px 5px;}
ol
{ margin: 8px 0 22px 20px;}
ol li
{ margin: 0 0 11px 0;}
#main, #logo, #menubar, #site_content, #footer
{ margin-left: auto;
margin-right: auto;}
#header
{ background: #990000;
height: 240px;}
#logo
{ width: 810px;
position: relative;
height: 120px;
background: #150517; url(logo.png) no-repeat;}
#logo #logo_text
{ position: center;
top: 20px;
left: 0;}
#logo h1, #logo h2
{ font: normal 300% 'century gothic', arial, sans-serif;
border-bottom: 0;
text-transform: none;
margin: 0;}
#logo_text h1, #logo_text h1 a, #logo_text h1 a:hover
{ padding: 22px 0 0 0;
color: #FFF;
letter-spacing: 0.1em;
text-decoration: none;}
#logo_text h1 a .logo_colour
{ color: #FAF700;}
#logo_text h2
{ font-size: 100%;
padding: 4px 0 0 0;
color: #DDD;}
#menubar
{ width: 877px;
height: 72px;
padding: 0;
background: #150517; url(menu.png) repeat-x;
}
ul#menu, ul#menu li
{ float: left;
margin: 0;
padding: 0;}
ul#menu li {
list-style: none outside none;
position: relative;
}
ul#menu li a
{ letter-spacing: 0.1em;
font: normal 100% 'lucida sans unicode', arial, sans-serif;
display: block;
float: left;
height: 37px;
padding: 29px 26px 6px 26px;
text-align: center;
color: #FFF;
text-transform: uppercase;
text-decoration: none;
background: transparent;}
ul#menu li a:hover, ul#menu li.selected a, ul#menu li.selected a:hover
{ color: #FFF;
background: #451C1B url(menu_select.png) repeat-x;}
ul#menu li ul#sub_nav {
background: none repeat scroll 0 0 #150517;
display: none;
margin: 0;
position: absolute;
top: 72px;
width: 155px;
}
ul#menu li:hover #sub_nav
{
display:block;
}
#site_content
{ width: 900px;
overflow: hidden;
margin: 0 auto 0 auto;
padding: 20px 24px 20px 37px;
background: #DCDCDC;}
.sidebar
{ float: right;
width: 200px;
padding: 0 15px 20px 15px;}
.sidebar ul
{ width: 178px;
padding: 4px 0 0 0;
margin: 4px 0 30px 0;}
.sidebar li
{ list-style: none;
padding: 0 0 7px 0; }
.sidebar li a, .sidebar li a:hover
{ padding: 0 0 0 40px;
display: block;
background: transparent url(link.png) no-repeat left center;}
.sidebar li a.selected
{ color: #444;
text-decoration: none;}
#content
{ text-align: left; position: absoulte;
width: 595px;
padding: 0;}
#content ul
{ margin: 2px 0 22px 0px;}
#content ul li
{ list-style-type: none;
background: url(bullet.png) no-repeat;
margin: 0 0 6px 0;
padding: 0 0 4px 25px;
line-height: 1.5em;}
#footer
{ width: 878px;
font: normal 100% 'lucida sans unicode', arial, sans-serif;
height: 33px;
padding: 24px 0 5px 0;
text-align: center;
background: #000000;
color: #b1b1b1;
text-transform: uppercase;
letter-spacing: 0.1em;}
#footer a
{ color: #FFF;
text-decoration: none;}
#footer a:hover
{ color: #FFF;
text-decoration: underline;}
.search
{ color: #5D5D5D;
border: 1px solid #BBB;
width: 134px;
padding: 4px;
font: 100% arial, sans-serif;}
#colours
{ height: 0px;
text-align: right;
padding: 66px 16px 0px 300px;}
.form_settings
{ margin: 15px 0 0 0;}
.form_settings p
{ padding: 0 0 4px 0;}
.form_settings span
{ float: left;
width: 200px;
text-align: left;}
.form_settings input, .form_settings textarea
{ padding: 5px;
width: 299px;
font: 100% arial;
border: 1px solid #E5E5DB;
background: #FFF;
color: #47433F;}
.form_settings .submit
{ font: 100% arial;
border: 1px solid;
width: 99px;
margin: 0 0 0 212px;
height: 33px;
padding: 2px 0 3px 0;
cursor: pointer;
background: #7D0F0F;
color: #FFF;}
.form_settings textarea, .form_settings select
{ font: 100% arial;
width: 299px;}
.form_settings select
{ width: 310px;}
.form_settings .checkbox
{ margin: 4px 0;
padding: 0;
width: 14px;
border: 0;
background: none;}
.separator
{ width: 100%;
height: 0;
border-top: 1px solid #D9D5CF;
border-bottom: 1px solid #FFF;
margin: 0 0 20px 0;}
table
{ margin: 10px 0 30px 0;}
table tr th, table tr td
{ background: #DCDCDC;
color: #DCDCDC;
padding: 7px 4px;
text-align: left;}
table tr td
{ background: #DCDCDC;
color: #DCDCDC;
}
#testimonials{
width: 133px;
padding: 45px 45px 35px;
background:url('../img/quotes.png') no-repeat 20px 20px rgba(178,178,169,0.2);
min-height:90px;
-moz-border-radius:12px;
-webkit-border-radius:12px;
border-radius:12px;
}
#testimonials ul{ list-style:none;}
#testimonials p.text{ font-size:11px;}
#testimonials p.author{
color: #878787;
font-size: 16px;
font-style: italic;
text-align: left;
}
#testimonials p.author a,
#testimonials p.author a:visited{
color:#6aa42a;
}

Related

Style issues with web page, works in firefox, not in ie or chrome

I am very inexperienced when it comes to recent html and other languages, I had a little schooling years ago, but that's about it. I had a friend ask for hep designing a simple web page for him. I have all the kinks worked out except for on a gallery page I created in the website. This page seems to work well in firefox, but not on chrome or is. In ie, it seems to ignore the css sheet altogether. In chrome, I cannot get the "Preview" image to load.
HTML of Gallery page:
<!DOCTYPE html>
<html>
<style type="text/css">
body {
background: #222;
margin-top: 20px;
}
h3 {
color: #eee;
font-family: Verdana;
}
.thumbnails img {
height: 80px;
padding: 1px;
margin: 0 10px 10px 0;
}
.thumbnails img:hover {
cursor:pointer;
}
.preview {
padding: 1px;
display: block;
max-width:500px;
max-height:399px;
width: auto;
height: auto;
}
#content, html, body {
height: 98%;
}
#left {
max-height:400px;
float: left;
width: 75%;
background: white;
height: 100%;
overflow: auto;
}
#right {
max-height:400px;
float: left;
width: 25%;
background: white;
height: 100%;
overflow: auto;
}
</style>
<head>
<meta charset="UTF-8">
<title>Gallery - Urban Outdoor Design</title>
<link rel="stylesheet" type="text/css"
href="css/style.css">
</head>
<body height: 1000px>
<div id="page">
<div id="header">
<a href="index.html" id="logo"><img
src="images/logo.png" alt="Logo"></a>
<ul>
<li>
Home
</li>
<li>
About Us
</li>
<li>
Services
</li>
<li class="current">
Gallery
</li>
<li>
<a href="billpay.html">Bill
Pay</a>
</li>
<li>
Contact
</li>
</ul>
</div>
<div id="body">
<div id="content">
<h1>Some Samples of our work:</h1>
<br>Use the scrollbar at the right
to browse images, point to an image to view a
larger version on the left.
</div>
<div class="gallery" align="center">
<div id="content">
<div id="left"><img
id="preview"
class="preview"
></div>
<div id="right">
<div class="thumbnails" align="center">
<img onmouseover="preview.src=this.src"
src="gallery/image1.jpg" alt="Image Not Loaded"/>
<img onmouseover="preview.src=this.src"
src="gallery/image2.jpg" alt="Image Not Loaded"/>
<img onmouseover="preview.src=this.src"
src="gallery/image3.jpg" alt="Image Not Loaded"/>
<img onmouseover="preview.src=this.src"
src="gallery/image4.jpg" alt="Image Not Loaded"/>
<img onmouseover="preview.src=this.src"
src="gallery/image5.jpg" alt="Image Not Loaded"/>
<img onmouseover="preview.src=this.src"
<br>
</div>
</div>
</div>
<div id="footer">
<p>
Urban Outdoor Design, LLC ©
2015 | All Rights Reserved
</p>
</div>
</div>
</body>
</html>
CSS sheet:
body {
background: url(../images/bg-body.jpg) repeat;
color: #A7A238;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
margin: 0;
min-width: 940px;
padding: 0;
}
a {
outline: none;
}
img {
border: 0;
}
p {
margin: 0;
text-align: justify;
}
p a {
color: #356618;
}
p a:hover {
color: #66a143;
}
#page {
background: #840D22;
margin: 0 auto;
padding: 0 20px;
width: 900px;
}
#header {
background: #ffffff;
height: 151px;
}
#header a#logo {
display: block;
height: 86px;
padding: 15px 0 0 20px;
}
#header a#logo img {
display: block;
margin: 0 auto;
}
#header > ul {
background: #4b4b4b;
height: 49px;
float: left;
list-style: none;
margin: 0;
padding: 0;
width: 900px;
}
#header > ul > li {
float: left;
position: relative;
width: 150px;
}
#header > ul > li > a {
color: #f0f2c9;
display: block;
letter-spacing: 0.1em;
line-height: 49px;
text-align: center;
text-decoration: none;
}
#header > ul > li.current > a,
#header > ul > li.current > a:hover,
#header ul li ul li.current a,
#header ul li ul li.current a:hover {
background: #840d22;
color: #f0f2c9;
}
#header ul li a:hover {
background: #daead0;
color: #1b330c;
}
#header ul li ul {
list-style: none;
left: -99999px;
margin: 0;
overflow: visible;
padding: 11px 0 0;
position: absolute;
top: 49px;
width: 150px;
z-index: 2;
}
#header ul li:hover ul {
left: 0;
top: 49px;
}
#header ul li ul li {
background: #4B4B4B;
}
#header ul li ul li a {
color: #f0f2c9;
display: block;
line-height: 31px;
text-align: center;
text-decoration: none;
}
#body {
background: #ffffff;
}
#body div.header {
height: 410px;
}
#body div.header div {
position: relative;
}
#body div.header div a img,
#body div.header ul li a.figure img,
#body div.body ul li a img {
display: block;
filter: alpha(opacity=100);
/* Needed for IE8 and old versions */
opacity: 1;
}
#body div.header div a img:hover,
#body div.header ul li a.figure img:hover,
#body div.body ul li a img:hover {
filter: alpha(opacity=90);
/* Needed for IE8 and old versions */
opacity: 0.9;
}
#body div.header div div {
background: url(../images/bg-description.png) repeat-x;
height: 75px;
bottom: 0;
position: absolute;
padding: 17px 20px;
left: 0;
width: 860px;
}
#body div.header div div h1 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 24px;
font-weight: normal;
margin: 0;
text-transform: uppercase;
}
#body div.header div div h1 a {
color: #e3e699;
text-decoration: none;
}
#body div.header div div h1 a:hover {
color: #ffffff;
}
#body div.header div div p {
color: #ffffff;
letter-spacing: 0.028em;
line-height: 24px;
}
#body div.header div div p a.continue {
background: url(../images/interface.png) no-repeat -400px 0;
display: inline-block;
height: 20px;
left: 3px;
position: relative;
top: 5px;
width: 20px;
}
#body div.header div div p a.continue:hover {
background: url(../images/interface.png) no-repeat -400px -20px;
}
#body div.header ul {
background: #356618;
list-style: none;
margin: 0;
overflow: hidden;
padding: 10px 0;
}
#body div.header ul li {
background: url(../images/separator1.png) repeat-y;
float: left;
overflow: hidden;
padding: 9px 20px 7px 0;
width: 280px;
}
#body div.header ul li:first-child {
background: none;
}
#body div#content ul.section li img,
#body div.header ul li a.figure {
display: block;
float: left;
}
#body div.header ul li a.figure img {
display: block;
border: 1px solid #ffffff;
margin: 0 20px 0;
}
#body div.header ul li.current h3 a {
color: #e3e699;
}
#body div.header ul li h3 {
font-size: 16px;
font-weight: normal;
line-height: 13px;
letter-spacing: 0.028em;
margin: 0;
padding: 0 0 10px;
}
#body div.header ul li h3 a {
color: #e3e699;
text-decoration: none;
}
#body div.header ul li h3 a:hover {
color: #ffffff;
}
#body div.header ul li p {
color: #ffffff;
letter-spacing: 0.022em;
line-height: 18px;
text-align: left;
}
#body div.body {
padding: 23px 20px 0;
}
#body div.body h1,
#body div.footer div h1 {
background: #dce9d4;
border-bottom: 2px solid #b3cca4;
color: #836145;
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
font-size: 18px;
font-weight: normal;
height: 37px;
line-height: 37px;
margin: 0;
padding: 0 0 0 20px;
text-transform: uppercase;
text-shadow: 1px 1px 1px #ffffff;
}
#body div.body ul {
list-style: none;
margin: 0;
overflow: hidden;
padding: 21px 0;
}
#body div.body ul li {
float: left;
margin: 0 0 0 20px;
width: 200px;
}
#body div.body ul li:first-child,
#body div#content ul.section li:first-child,
#body div#content div#sidebar div ul li:first-child {
margin: 0;
}
#body div.body ul li h2 {
color: #836145;
font-size: 16px;
font-weight: normal;
margin: 0;
padding: 24px 0 10px;
text-transform: uppercase;
}
#body div.body ul li p {
color: #4b4b4b;
letter-spacing: 0.028em;
line-height: 24px;
text-align: left;
}
#body div.footer {
border-top: 1px solid #d7d6cd;
margin: 0 20px;
overflow: hidden;
padding: 23px 0;
}
#body div.footer img {
display: block;
float: left;
}
#body div.footer div {
float: right;
width: 540px;
}
#body div.footer div ol {
margin: 0;
padding: 20px 0 0 20px;
}
#body div.footer div ol li {
color: #4b4b4b;
font-weight: bold;
margin: 10px 0;
}
#body div.footer div ol li p {
font-weight: normal;
letter-spacing: 0.028em;
line-height: 24px;
}
#body div#content {
border-top: 1px solid #5d8546;
overflow: hidden;
padding: 35px 20px;
}
#body div#content h1 {
color: #818181;
font-size: 20px;
letter-spacing: 0.028em;
margin: 0;
text-transform: uppercase;
}
#body div#content h3 {
color: #836145;
font-size: 16px;
font-weight: normal;
letter-spacing: 0.028em;
line-height: 24px;
margin: 0;
padding: 30px 0 0;
}
#body div#content h3.first {
padding: 12px 0 0;
}
#body div#content p {
letter-spacing: 0.028em;
line-height: 24px;
padding: 25px 0 0;
}
#body div#content ul.section {
list-style: none;
margin: 0;
padding: 29px 0 0;
}
#body div#content ul.section li {
margin: 35px 0 0;
overflow: hidden;
}
#body div#content ul.section li span {
display: block;
float: left;
}
#body div#content ul.section li div {
float: right;
width: 520px;
}
#body div#content ul.section li div h2,
#body div#content div#article h2 {
color: #836145;
font-size: 16px;
letter-spacing: 0.028em;
line-height: 13px;
margin: 0;
}
#body div#content ul.section li div p {
padding: 23px 0 0;
}
#body div#content form {
margin: 0;
padding: 30px 0 0;
}
#body div#content form p {
color: #818181;
padding: 0 0 25px;
}
#body div#content form label {
display: block;
margin: 20px 0;
overflow: hidden;
}
#body div#content form label span:first-child {
background: none;
color: #836145;
float: left;
height: auto;
text-transform: uppercase;
width: 200px;
}
#body div#content form label span {
background: url(../images/interface.png) no-repeat;
display: block;
float: left;
height: 19px;
width: 320px;
}
#body div#content form label span input {
background: none;
border: none;
color: #818181;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
height: 17px;
letter-spacing: 0.028em;
line-height: 17px;
margin: 1px 0 0 2px;
padding: 0;
width: 316px;
}
#body div#content form label span.message {
background: url(../images/interface.png) no-repeat 0 -25px;
height: 151px;
}
#body div#content form label span.message textarea {
background: none;
border: none;
color: #818181;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
height: 147px;
letter-spacing: 0.028em;
margin: 2px 0 0 2px;
overflow: auto;
padding: 0;
resize: none;
width: 316px;
}
#body div#content form input#send {
background: url(../images/interface.png) no-repeat -331px -56px;
border: none;
color: #ffffff;
cursor: pointer;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
height: 25px;
letter-spacing: 0.028em;
line-height: 25px;
margin: 0 0 0 440px;
text-align: center;
text-shadow: 1px 1px 1px #514b61;
text-transform: uppercase;
width: 80px;
}
#body div#content form input#send:hover {
background: url(../images/interface.png) no-repeat -331px -81px;
}
#body div#content div#article {
border-right: 1px solid #96b285;
float: left;
padding: 0 20px 0 0;
width: 580px;
}
#body div#content div#article img {
display: block;
margin: 0 0 35px;
}
#body div#content div#article h1 {
padding: 0 0 17px;
}
#body div#content div#article h2 {
line-height: 24px;
}
#body div#content div#article span {
color: #818181;
display: block;
letter-spacing: 0.028em;
line-height: 24px;
}
#body div#content div#sidebar {
float: right;
width: 242px;
}
#body div#content div#sidebar h3 {
color: #818181;
font-weight: bold;
line-height: normal;
padding: 0 0 15px;
text-transform: uppercase;
}
#body div#content div#sidebar div {
border-top: 1px solid #96b285;
padding: 20px 0;
}
#body div#content div#sidebar div:first-child {
border: none;
padding: 0 0 20px;
}
#body div#content div#sidebar div ul,
#footer div div ul {
list-style: none;
margin: 0;
padding: 0;
}
#body div#content div#sidebar div ul li {
color: #818181;
letter-spacing: 0.028em;
line-height: 24px;
}
#body div#content div#sidebar div ul li a {
color: #818181;
text-decoration: none;
}
#body div#content div#sidebar div ul li a:hover {
color: #4b4b4f;
}
#body div#content div#sidebar div:first-child ul li {
letter-spacing: 0.024em;
line-height: 18px;
margin: 15px 0 0;
}
#body div#content div#sidebar div p {
color: #818181;
padding: 0;
}
#footer {
background: #dce9d4;
border-top: 1px solid #b8d0aa;
}
#footer div {
height: 174px;
overflow: hidden;
}
#footer div div {
border-left: 1px solid #b8d0aa;
float: left;
height: 134px;
padding: 20px 20px;
width: 180px;
}
#footer div div:first-child {
border: none;
}
#footer div div h1 {
color: #8c8c8c;
font-size: 18px;
font-weight: normal;
margin: 0;
padding: 0 0 13px;
text-shadow: 1px 1px 1px #ffffff;
text-transform: uppercase;
}
#footer div div ul li a {
letter-spacing: 0.028em;
line-height: 18px;
}
#footer div div a {
color: #8c8c8c;
display: block;
letter-spacing: 0.05em;
text-decoration: none;
}
#footer div div a:hover {
color: #4b4b4f;
}
#footer div div a#mail {
background: url(../images/icons.png) no-repeat;
height: 14px;
line-height: 14px;
margin: 0 0 10px;
padding: 0 0 0 30px;
}
#footer div div a#facebook {
background: url(../images/icons.png) no-repeat 0 -38px;
height: 20px;
line-height: 20px;
margin: 0 0 10px;
padding: 0 0 0 30px;
}
#footer div div a#twitter {
background: url(../images/icons.png) no-repeat 0 -88px;
height: 18px;
line-height: 18px;
margin: 0 0 10px;
padding: 0 0 0 30px;
}
#footer div div a#googleplus {
background: url(../images/icons.png) no-repeat 0 -134px;
height: 20px;
line-height: 20px;
margin: 0 0 10px;
padding: 0 0 0 30px;
}
#footer div div a#mail:hover {
background: url(../images/icons.png) no-repeat 0 -14px;
}
#footer div div a#facebook:hover {
background: url(../images/icons.png) no-repeat 0 -58px;
}
#footer div div a#twitter:hover {
background: url(../images/icons.png) no-repeat 0 -106px;
}
#footer div div a#googleplus:hover {
background: url(../images/icons.png) no-repeat 0 -154px;
}
#footer p {
background: #840D22;
color: #ffffff;
height: 37px;
line-height: 37px;
text-align: center;
text-shadow: 1px 1px 1px #8da181;
}
Here is a link to a screenshot of what it should look like. It works in Firefox. On mouseover of a thumbnail on right, it opens a large version of the image in the white space in the body.
http://www.image-share.com/ijpg-2876-171.html
Thank you for any help!
you can use this for your mouseover will make it work in firefox and chrome
onmouseover="document.getElementById('preview').src=this.src"
from what I can find it looks like firefox can apply id variables to javascript in this case preview will be automatically given an id, while chrome does not do this.
Edit:
replace your onmouseover
<img onmouseover="preview.src=this.src" src="gallery/image1.jpg" alt="Image Not Loaded"/>
change to
<img onmouseover="document.getElementById('preview').src=this.src" src="gallery/image1.jpg" alt="Image Not Loaded"/>
edit 2:
to get the first image already in the area just add a src="" to the <img /> inside of the left div, see below:
<div id="content">
<div id="left">
<img id="preview" class="preview" src="http://d.ibtimes.co.uk/en/full/1409516/how-update-nexus-5-official-android-5-0-lollipop-build-lrx21o-via-factory-image.jpg">
</div>

Please Help Me With My Footer

I'm using Dreamweaver to edit a template that I got for my new business website. I'm having a problem with the footer and I'm not sure if it's an HTML issue, a CSS issue, or an I'm just an idiot issue. No matter what I do the footer extends down too far. Here's a screenshot of what I'm talking about:
http://tinypic.com/r/t9ccbn/4
Also, I would like the links to line up with the column above it like the contact info and the copyright info do. Here is the HTML:
<div id="footer">
<div>
<div id="links">
<div class="showroom">
<p><br>
9501 W. Sahara Ave. #2082
<br> Las Vegas, NV 89117
<br> 702-409-5373<br>
info#briarpatchfurniture.com
</p>
</div>
<ul class="navigation">
<li>Home</li>
<li>About</li>
<li> Gallery</li>
<li>Contact</li>
<p id="footnote">
© Copyright TIBISI, Inc 2013. All Rights Reserved.
</p>
</div>
</div>
And here is the CSS:
/*------------------------------ FOOTER ------------------------------*/
#footer {
background-color: #e2b241;
border-top: 1px solid #fff;
padding: 28px 0 14px;
}
#footer p {
color: #4b3a33;
font-size: 12px;
line-height: 18px;
margin: 0;
}
#footer > div {
width: 940px;
margin: 0 auto;
padding: 0 10px;
}
#footer .posts {
float: left;
height: 300px;
width: 302px;
padding: 0;
}
#footer .posts li {
width: 276px;
margin: 0 0 30px;
padding-left: 10px;
}
#footer .posts p a {
line-height: 24px;
margin: -3px 0 3px;
}
#links {
background: url(../images/separator-dark.png) repeat-x left bottom;
color: #4b3a33;
display: inline-block;
width: 940px;
padding: 0 0 20px;
}
#links h4 {
color: #241b18;
font-family: "Oswald";
font-size: 15px;
font-weight: normal;
line-height: 24px;
margin: 0 0 12px;
padding-left: 10px;
text-transform: uppercase;
}
#links > div {
float: left;
background: url(../images/separator-dark-vertical.png) repeat-y left top;
height: 300px;
padding-left: 20px;
}
#links .showroom {
background: none;
width: 293px;
padding-left: 0;
padding-right: 15px;
}
#links .showroom h4 {
padding-left: 0;
}
#links .showroom img {
margin-bottom: 12px;
}
#links .showroom p {
font-size: 13px;
margin: 0;
}
#links .showroom p em {
color: #fff;
display: block;
font-style: normal;
margin: 0 0 20px;
}
#links .showroom p a {
color: #4b3a33;
display: block;
}
#links .showroom p a:hover {
color: #241b18;
}
#newsletter {
background: url(../images/separator-dark.png) repeat-x left bottom;
width: 284px;
margin: 0 0 16px 6px;
padding: 0 0 20px;
}
#newsletter h4 {
padding-left: 0;
}
#newsletter input {
color: #4b3a33;
height: 26px;
line-height: 26px;
width: 269px;
border: 3px solid #af8112;
margin: 0 0 6px;
padding: 0 4px;
*margin-left: -6px; /** Needed for IE7 **/
}
#newsletter input.btn2 {
color: #fff;
width: 83px;
border: 0;
padding: 0px 0 2px;
}
#connect a {
display: inline-block;
height: 33px;
margin: 0 10px;
}
#connect a.facebook {
background-position: -46px -112px;
width: 33px;
}
#connect a.googleplus {
background-position: -46px -153px;
width: 34px;
}
#connect a.twitter {
background-position: -46px -194px;
width: 40px;
}
#connect a.facebook:hover {
background-position: 0 -112px;
}
#connect a.googleplus:hover {
background-position: 0 -153px;
}
#connect a.twitter:hover {
background-position: 0 -194px;
}
#footer ul.navigation {
float: right;
display: block;
line-height: 24px;
list-style: none;
margin: 0;
padding: 0 12px 0 0;
}
#footer ul.navigation li {
float: left;
margin-left: 15px;
}
#footer ul.navigation li:first-child {
margin-left: 0;
}
#footer ul.navigation li a {
color: #ab7d0f;
font: 11px/24px "Oswald";
text-decoration: none;
text-transform: uppercase;
}
#footer ul.navigation li a:hover {
color: #241b18;
}
#footer #footnote {
color: #ab7d0f;
font: 11px/24px "Oswald";
margin: 0;
text-transform: uppercase;
}
Any help will be appreciated.
http://jsfiddle.net/GCqfE/
Your use of line-height in all of the child elements of the footer is causing the footer to expand downwards vertically, and without a height value given for the parent div they are free to expand. Either change the line-heights to smaller values, or prescribe a height for the parent footer div like so:
#footer {
background-color: #e2b241;
border-top: 1px solid #fff;
padding: 28px 0 14px;
height:100px;
}
I've updated your jsFiddle: http://jsfiddle.net/GCqfE/1/

Need to overlapped a CSS command I need to removed an image background.?

I have a main css file.. It is common to all my jsp. On my other jsp, I need to remove a background picture.. How can i overlapped it?
Part of the css that should be overlapped.
#body .header div {
background: url(images/smiling-man.jpg) no-repeat bottom right; --> i want this
removed. by overlapping it with another css.
height: 472px;
margin: 0 auto;
padding: 0;
width: 960px;
}
This is what i have done.. just removing the the background does not worked and added a class overlap on the div.
.overlap{
background:none;
height: 472px;
margin: 0 auto;
padding: 0;
width: 960px;
}
My HTML
<%# page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%# taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="product.css">
<title>Lot Movement Main Page</title>
</head>
<body>
<body>
<div id="header">
<div id="logo">
<img src="images/logo.jpg" alt="" />
</div>
<nav>
<ul>
<li class="selected"><span>home</span></li>
<li> <span>Product </span>
<ul>
<li>
<span>Input</span>
</li>
<li>
<span>Enquiry</span>
</li>
</ul>
</li>
<li><span>Movement</span></li>
<li><span>contact us</span></li>
</ul>
</nav>
</div>
<div id="body">
<div class="header">
<div id ="prodoverlap">
<h3>Lot Movement Tracking System</h3>
</div>
</div>
</div>
</div>
<div id="footer">
<div>
<div>
<h3>AusTralAsia</h3>
<ul>
<ul>
<li>+630212013129 -Main</li>
</ul>
</ul>
</div>
<div>
<h3>europe</h3>
<ul>
<li>To Be Announced</li>
</ul>
</div>
<div>
<h3>canada</h3>
<ul>
<li>To Be Announced</li>
<li></li>
</ul>
</div>
<div>
<h3>middle east</h3>
<ul>
<li>To Be Announced</li>
<li></li>
</ul>
</div>
<div>
<h3>follow us:</h3>
<a class="facebook" href="http://www.facebook.com/" target="_blank">facebook</a>
<a class="twitter" href="http://twitter.com" target="_blank">twitter</a>
</div>
</div>
<div>
<p>&copy Copyright 2012. All rights reserved</p>
</div>
</div>
</body>
</body>
</html>
My Main CSS
/* Template by freewebsitetemplates.com */
body {
font-family: Arial, Helvetica, sans-serif;
margin:0;
padding: 0;
}
#header {
margin:0 auto;
padding: 0;
overflow: hidden;
width: 960px;
}
#header #logo {
float: left;
height: 144px;
width: 355px;
}
#header #logo img {
border: 0;
}
#header ul li {
list-style-type: none;
float: left;
margin: 0;
padding: 0;
width: 121px;
}
#header ul li a,
#header ul li a span,
#header ul li a:hover,
#header ul li a:hover span,
#header ul li.selected a,
#header ul li.selected a span
{
background: url(images/menu.gif);
}
#header ul li a
{
background-position: 10px 0;
color: #2a4f5e;
display: block;
font-size: 14px;
height: 36px;
line-height: 36px;
margin: 0;
padding: 0 0 0 10px;
text-align: center;
text-decoration: none;
text-transform: uppercase;
text-shadow: 1px 1px 1px #fff;
}
#header ul li a span
{
background-position: -70px 0;
display: block;
margin: 0;
padding: 0 10px 0 0;
}
#header ul li a:hover {
background-position: -186px -37px;
color: #346b84;
text-shadow: none;
}
#header ul li a:hover span {
background-position: -70px -37px;
}
#header ul li.selected a{
background-position: 10px 36px;
color: #fff;
text-shadow: none;
}
#header ul li.selected a span{
background-position: -70px -74px;
}
/*dropdown*/
#header ul ul {
display: none;
}
#header ul li:hover > ul {
display: block;
}
#header ul ul li a span
{
background-position: -70px 0;
font-size: 10px;
text-transform: none;
display: block;
margin: 0;
padding: 0 10px 0 0;
}
#header ul ul li a:hover {
background-position: -186px -37px;
color: #346b84;
text-shadow: none;
}
#body {
background: url(images/bg-content.gif) repeat-x top left;
margin: 0;
padding: 0;
min-width: 960px;
}
#body .header {
background: url(images/bg-body.gif) repeat-x bottom center;
margin: 0 0 30px 0;
}
#body .header div {
background: url(images/smiling-man.jpg) no-repeat bottom right;
height: 472px;
margin: 0 auto;
padding: 0;
width: 960px;
}
#body .header div div {
background: none;
margin: 0;
padding: 0 0 0 13px;
height: 200px;
width: 490px;
}
#body .header div h3 {
color: #2a4f5e;
font-size: 20px;
line-height: 30px;
margin: 18px 0 0 0;
padding: 0;
text-shadow: 1px 1px 1px #fff;
}
#body .header div h3 span {
display: block;
font-size: 25px;
}
#body .header div h3 a {
color: #2a4f5e;
text-decoration: none;
}
#body .header div h3 a:hover {
color: #507685;
}
#body .header div p {
color: #507685;
font-size: 14px;
line-height: 24px;
margin: 12px 0 6px 0;
padding: 0;
text-shadow: 1px 1px 1px #fff;
}
#body .header div p a {
color: #507685;
}
#body .header div p a:hover {
color: #2a4f5e;
}
#body .header ul {
overflow: hidden;
margin: 0;
padding: 49px 0 0;
}
#body .header ul li {
float: left;
list-style: none;
padding: 0 5px;
}
#body .body {
border: 1px solid #e0e0e0;
margin: 0 auto 34px auto;
overflow: hidden;
padding: 0 2px;
width: 954px;
}
#body .body div {
float: left;
}
#body .body .section {
background: url(images/bg-section.gif) repeat-x top left;
height: 193px;
margin: 0;
padding: 35px 0 0 40px;
width: 186px;
}
#body .body .section img {
display: block;
}
#body .body .section a {
color: #2a4f5e;
display: block;
font-size: 14px;
font-weight: bold;
height: 145px;
text-align: center;
text-decoration: none;
text-transform: uppercase;
width: 145px;
}
#body .body .section a:hover {
color: #507685;
}
#body .body .section img {
border: 0;
}
#body .body .article {
background: url(images/bg-article.gif) no-repeat top center;
overflow: hidden;
padding: 19px 16px;
width: 470px;
}
#body .body .article img {
border: 0;
float: left;
padding: 0 10px 0 0;
}
#body .body .article h4 {
color: #2a4f5e;
font-size: 15px;
font-weight: bold;
margin: 12px 0;
padding: 0;
}
#body .body .article h4 a {
color: #2a4f5e;
text-decoration: none;
}
#body .body .article h4 a:hover {
color: #507685;
}
#body .body .article p {
color: #2a4f5e;
font-size: 14px;
line-height: 22px;
margin: 0;
padding: 0;
}
#body .body .article p a {
color: #2a4f5e;
}
#body .body .article p a:hover {
color: #346b84;
}
#body .footer {
margin: 0 auto;
overflow: hidden;
padding: 0 0 15px 0;
width: 960px;
}
#body .footer div {
float: left;
margin: 0;
padding: 0;
}
#body .footer div ul {
margin: 0;
padding: 0;
}
#body .footer div ul li {
list-style: none;
margin: 0 0 15px;
padding: 0 0 15px;
}
#body .footer h3 {
color: #2a4f5e;
font-size: 14px;
line-height: 26px;
margin: 0 0 12px 0;
padding: 0;
text-align: justify;
text-transform: uppercase;
}
#body .footer h3 a {
color: #2a4f5e;
text-decoration: none;
}
#body .footer h3 a:hover {
color: #507685;
}
#body .footer .section {
padding: 0 10px;
width: 220px;
}
#body .footer ul li {
background: url(images/border-dashed.gif) repeat-x bottom left;
}
#body .footer ul li:last-child {
background: none;
}
#body .footer li p {
color: #5d5d5d;
font-size: 14px;
line-height: 20px;
margin: 0;
padding: 0;
text-align: justify;
}
#body .footer li p a {
color: #5d5d5d;
text-decoration: underline;
}
#body .footer li p a:hover {
color: #aeaeae;
}
#body .footer li span {
color: #aeaeae;
display: block;
font-size: 10px;
line-height: 16px;
margin: 5px 0 0;
padding:0;
}
#body .footer ul.news li p {
background: url(images/bullets.gif) no-repeat 0 8px;
padding: 0 0 0 15px;
}
#body .footer .featured {
padding: 0 18px 0 24px;
width: 438px;
}
#body .footer .featured ul li {
overflow: hidden;
}
#body .footer .featured img {
border: 1px solid #dbddde;
float: left;
margin: 0 20px 0 0;
padding: 1px;
}
#body .footer .featured p {
margin: 0;
padding: 0;
}
#body .contact,
#body .about,
#body .services,
#body .blog {
margin: 0 auto;
padding: 25px 10px 50px 10px;
width: 940px;
}
#body h1 {
color: #2a4f5e;
font-size: 27px;
font-weight: bold;
height: 74px;
line-height: 74px;
margin: 0;
padding: 0;
text-indent: 10px;
text-transform: uppercase;
}
#body .contact p {
color: #7b7b7b;
font-size: 15px;
font-weight: bold;
line-height: 26px;
margin: 0;
padding: 40px 0;
text-align: justify;
width: 830px;
}
#body .contact p a {
color: #7b7b7b;
}
#body .contact p a:hover {
color: #2a4f5e;
}
#body .contact div {
margin: 0;
padding: 0 0 30px 0;
}
#body .contact div h3 {
color: #5d5d5d;
font-size: 14px;
font-weight: bold;
margin: 0;
padding: 0 0 5px 0;
}
#body .contact div ul {
margin: 0;
padding: 0 0 20px 0;
}
#body .contact div ul li {
color: #5d5d5d;
font-size: 14px;
list-style: none;
margin: 0;
padding: 5px 0;
}
#body .about div {
padding: 50px 0 0 0;
}
#body .about h2 {
color: #2a4f5e;
font-size: 16px;
font-weight: bold;
margin: 0;
padding: 0;
text-transform: uppercase;
}
#body .about p {
color: #5d5d5d;
font-size: 14px;
line-height: 24px;
margin: 10px 0 0;
padding: 0;
text-align: justify;
width: 830px;
}
#body .about p a {
color: #5d5d5d;
}
#body .about p a:hover {
color: #2a4f5e;
}
#body .services div {
overflow: hidden;
margin: 0;
padding: 40px 0 0;
}
#body .services h2 {
color: #2a4f5e;
font-size: 16px;
font-weight: bold;
line-height: 24px;
margin: 0;
padding: 0;
text-transform: uppercase;
}
#body .services h2 a {
color: #2a4f5e;
}
#body .services h2 a:hover {
color: #507685;
}
#body .services h3 {
color: #2a4f5e;
font-size: 14px;
font-weight: bold;
line-height: 24px;
margin: 15px 0 0;
padding: 0 30px 0 0;
text-transform: uppercase;
}
#body .services h3 a {
color: #2a4f5e;
}
#body .services h3 a:hover {
color: #507685;
}
#body .services h4 {
color: #2a4f5e;
font-size: 16px;
font-weight: normal;
line-height: 24px;
margin: 0;
padding: 0;
text-transform: uppercase;
}
#body .services p {
color: #5d5d5d;
font-size: 14px;
line-height: 24px;
}
#body .services p a {
color: #5d5d5d;
}
#body .services p a:hover {
color: #2a4f5e;
}
#body .services div ul {
float: left;
margin: 0;
padding: 20px 0 0;
width: 312px;
}
#body .services div ul li {
background: url(images/bullets.gif) no-repeat center left;
color: #5d5d5d;
font-size: 14px;
list-style: none;
margin: 0;
padding: 5px 0 5px 12px;
text-align: left;
}
#body .services div div {
overflow: hidden;
margin: 0;
padding: 0 0 5px 0;
}
#body .services div div img {
float: left;
padding: 0 10px 0 0;
}
#body .services div div p {
padding: 0 30px 0 0;
text-align: justify;
}
#body .products {
margin: 0 auto;
padding: 25px 0 70px 0;
width: 960px;
}
#body .products h2 {
color: #2a4f5e;
font-size: 26px;
margin: 0;
text-align: center;
text-transform: uppercase;
padding: 90px 0 30px 0;
}
#body .products p {
color: #5d5d5d;
font-size: 14px;
line-height: 24px;
margin: 0;
padding: 0 10px;
text-align: justify;
}
#body .products p a {
color: #5d5d5d;
}
#body .products p a:hover {
color: #2a4f5e;
}
#body .products div {
overflow: hidden;
margin: 0 0 45px 0;
padding: 0;
}
#body .products div div {
float: left;
margin: 0;
padding: 0 10px;
text-align: center;
width: 300px;
}
#body .products div div h3 {
color: #2a4f5e;
font-size: 16px;
line-height: 24px;
margin: 0;
padding: 0 0 10px 0;
text-align: justify;
text-transform: uppercase;
}
#body .products div p {
font-size: 16px;
}
#body .products div div p {
font-size: 14px;
margin: 0;
padding: 0;
text-align: justify;
}
#body .blog {
overflow: hidden;
}
#body .blog div {
float: left;
padding: 60px 0 0 0;
width: 630px;
}
#body .blog ul {
float: left;
margin: 0;
padding: 38px 0 0 30px;
width: 280px;
}
#body .blog ul li {
background: url(images/border-dashed.gif) repeat-x bottom left;
list-style: none;
margin: 0;
padding: 22px 0;
}
#body .blog ul li:last-child {
background: none;
}
#body .blog h2 {
color: #2a4f5e;
font-size: 16px;
margin: 0;
padding: 0;
text-transform: capitalize;
}
#body .blog h3 {
color: #5d5d5d;
font-size: 14px;
margin: 0;
padding: 0;
text-align: justify;
}
#body .blog h3 a {
color: #5d5d5d;
}
#body .blog h3 a:hover {
color: #2a4f5e;
}
#body .blog p {
color: #5d5d5d;
font-size: 14px;
line-height: 24px;
margin: 0;
padding: 0;
text-align: justify;
}
#body .blog p a {
color: #5d5d5d;
}
#body .blog p a:hover {
color: #2a4f5e;
}
#body .blog div p {
padding: 15px 0;
}
#body .blog div p.article {
font-weight: bold;
}
#footer {
background: #f5f5f5 url(images/bg-footer.gif) repeat-x top left;
margin: 0;
min-width: 960px;
padding: 0;
}
#footer div {
margin: 0 auto;
overflow: hidden;
padding: 26px 0 0;
width: 960px;
}
#footer div div {
float: left;
margin: 0;
padding: 0;
text-align: center;
width: 192px;
}
#footer div div h3 {
color: #818a8c;
font-size: 12px;
font-weight: bold;
margin: 0 0 5px 0;
padding: 0;
text-transform: uppercase;
}
#footer div div ul,
#footer div div ul li {
margin: 0;
list-style: none;
padding: 0;
}
#footer div div ul li {
font-size: 12px;
line-height: 22px;
color: #818a8c;
}
#footer div a.facebook,
#footer div a.twitter {
display: block;
float: left;
height: 27px;
margin: 10px 0 0;
text-indent: -99999em;
width: 40px;
}
#footer div a.facebook,
#footer div a.twitter {
background: url(images/icons.gif) no-repeat;
}
#footer div a.facebook {
background-position: 0 0;
margin: 10px 0 0 58px;
_margin: 10px 0 0 28px;
}
#footer div a.twitter {
background-position: 0 -37px;
}
#footer div p {
color: #c1c1c1;
font-size: 12px;
margin: 0;
padding: 0 0 30px 0;
text-align: center;
text-shadow: 1px 1px 1px #fff;
}
My other CSS to overwrite.
/*
Document : login
Created on : Nov 15, 2012, 2:15:26 PM
Author : god-gavedmework
Description:
Purpose of the stylesheet follows.
*/
.overlap{
background:none;
height: 472px;
margin: 0 auto;
padding: 0;
width: 960px;
}
table
{
position:absolute;
width: 20%;
float: left;
}
.errorMessage {
color: red;
font-size: 0.8em;
}
You could try to use the visibility hidden that way it will take the same space but will be invisible
.overlap{
background:none;
height: 472px;
margin: 0 auto;
padding: 0;
width: 960px;
visibility:hidden;
}
#body .header #prodoverlap{
background:none;
height: 472px;
margin: 0 auto;
padding: 0;
width: 960px;
}
Please add this css code in your other CSS file
Thanks.

Dropdown Menu will move all <Div> Below. How to prevent it?

Check this website My Html. When you hover to product, the menu will move down.. But how can you make the drop down appear without moving anything?Like the dropdown menu is on top and not inserted in between? Sorry but I am just a newbie to this..
Thanks.
My Html Code
<!DOCTYPE html>
<!-- Template by freewebsitetemplates.com -->
<html>
<head>
<meta charset="utf-8" />
<title>LotMovement</title>
<link rel="stylesheet" type="text/css" href="style.css" media="all" />
</head>
<body>
<div id="header">
<div id="logo">
<img src="images/logo.jpg" alt="" />
</div>
<nav>
<ul>
<li class="selected"><span>home</span></li>
<li>
<span>Product </span>
<ul>
<li>
Input
</li>
<li>
Enquiry
</li>
</ul>
</li>
<li><span>Movement</span></li>
<li><span>contact us</span></li>
</ul>
</nav>
</div>
<div id="body">
<div class="header">
<div>
<ul>
<li><img src="images/discuss.jpg" alt="" /></li>
<li><img src="images/graph.jpg" alt="" /></li>
</ul>
<div>
<h3>Lot Movement Tracking System</h3>
<form>
User Name
Pass Pasword
</form>
</div>
</div>
</div>
</div>
<div id="footer">
<div>
<div>
<h3>AusTralAsia</h3>
<ul>
<ul>
<li>+630212013129 -Main</li>
</ul>
</ul>
</div>
<div>
<h3>europe</h3>
<ul>
<li>To Be Announced</li>
</ul>
</div>
<div>
<h3>canada</h3>
<ul>
<li>To Be Announced</li>
<li></li>
</ul>
</div>
<div>
<h3>middle east</h3>
<ul>
<li>To Be Announced</li>
<li></li>
</ul>
</div>
<div>
<h3>follow us:</h3>
<a class="facebook" href="http://www.facebook.com/" target="_blank">facebook</a>
<a class="twitter" href="http://twitter.com" target="_blank">twitter</a>
</div>
</div>
<div>
<p>&copy Copyright 2012. All rights reserved</p>
</div>
</div>
</body>
</html>
My CSS
/* Template by freewebsitetemplates.com */
body {
font-family: Arial, Helvetica, sans-serif;
margin:0;
padding: 0;
}
nav ul ul {
display: none;
}
nav ul li:hover > ul {
display: block;
}
#body {
background: url(images/bg-content.gif) repeat-x top left;
margin: 0;
padding: 0;
min-width: 960px;
}
#body .header {
background: url(images/bg-body.gif) repeat-x bottom center;
margin: 0 0 30px 0;
}
#body .header div {
background: url(images/smiling-man.jpg) no-repeat bottom right;
height: 472px;
margin: 0 auto;
padding: 0;
width: 960px;
}
#body .header div div {
background: none;
margin: 0;
padding: 0 0 0 13px;
height: 200px;
width: 490px;
}
#body .header div h3 {
color: #2a4f5e;
font-size: 20px;
line-height: 30px;
margin: 18px 0 0 0;
padding: 0;
text-shadow: 1px 1px 1px #fff;
}
#body .header div h3 span {
display: block;
font-size: 25px;
}
#body .header div h3 a {
color: #2a4f5e;
text-decoration: none;
}
#body .header div h3 a:hover {
color: #507685;
}
#body .header div p {
color: #507685;
font-size: 14px;
line-height: 24px;
margin: 12px 0 6px 0;
padding: 0;
text-shadow: 1px 1px 1px #fff;
}
#body .header div p a {
color: #507685;
}
#body .header div p a:hover {
color: #2a4f5e;
}
#body .header ul {
overflow: hidden;
margin: 0;
padding: 49px 0 0;
}
#body .header ul li {
float: left;
list-style: none;
padding: 0 5px;
}
#body .body {
border: 1px solid #e0e0e0;
margin: 0 auto 34px auto;
overflow: hidden;
padding: 0 2px;
width: 954px;
}
#body .body div {
float: left;
}
#body .body .section {
background: url(images/bg-section.gif) repeat-x top left;
height: 193px;
margin: 0;
padding: 35px 0 0 40px;
width: 186px;
}
#body .body .section img {
display: block;
}
#body .body .section a {
color: #2a4f5e;
display: block;
font-size: 14px;
font-weight: bold;
height: 145px;
text-align: center;
text-decoration: none;
text-transform: uppercase;
width: 145px;
}
#body .body .section a:hover {
color: #507685;
}
#body .body .section img {
border: 0;
}
#body .body .article {
background: url(images/bg-article.gif) no-repeat top center;
overflow: hidden;
padding: 19px 16px;
width: 470px;
}
#body .body .article img {
border: 0;
float: left;
padding: 0 10px 0 0;
}
#body .body .article h4 {
color: #2a4f5e;
font-size: 15px;
font-weight: bold;
margin: 12px 0;
padding: 0;
}
#body .body .article h4 a {
color: #2a4f5e;
text-decoration: none;
}
#body .body .article h4 a:hover {
color: #507685;
}
#body .body .article p {
color: #2a4f5e;
font-size: 14px;
line-height: 22px;
margin: 0;
padding: 0;
}
#body .body .article p a {
color: #2a4f5e;
}
#body .body .article p a:hover {
color: #346b84;
}
#body .footer {
margin: 0 auto;
overflow: hidden;
padding: 0 0 15px 0;
width: 960px;
}
#body .footer div {
float: left;
margin: 0;
padding: 0;
}
#body .footer div ul {
margin: 0;
padding: 0;
}
#body .footer div ul li {
list-style: none;
margin: 0 0 15px;
padding: 0 0 15px;
}
#body .footer h3 {
color: #2a4f5e;
font-size: 14px;
line-height: 26px;
margin: 0 0 12px 0;
padding: 0;
text-align: justify;
text-transform: uppercase;
}
#body .footer h3 a {
color: #2a4f5e;
text-decoration: none;
}
#body .footer h3 a:hover {
color: #507685;
}
#body .footer .section {
padding: 0 10px;
width: 220px;
}
#body .footer ul li {
background: url(images/border-dashed.gif) repeat-x bottom left;
}
#body .footer ul li:last-child {
background: none;
}
#body .footer li p {
color: #5d5d5d;
font-size: 14px;
line-height: 20px;
margin: 0;
padding: 0;
text-align: justify;
}
#body .footer li p a {
color: #5d5d5d;
text-decoration: underline;
}
#body .footer li p a:hover {
color: #aeaeae;
}
#body .footer li span {
color: #aeaeae;
display: block;
font-size: 10px;
line-height: 16px;
margin: 5px 0 0;
padding:0;
}
#body .footer ul.news li p {
background: url(images/bullets.gif) no-repeat 0 8px;
padding: 0 0 0 15px;
}
#body .footer .featured {
padding: 0 18px 0 24px;
width: 438px;
}
#body .footer .featured ul li {
overflow: hidden;
}
#body .footer .featured img {
border: 1px solid #dbddde;
float: left;
margin: 0 20px 0 0;
padding: 1px;
}
#body .footer .featured p {
margin: 0;
padding: 0;
}
#body .contact,
#body .about,
#body .services,
#body .blog {
margin: 0 auto;
padding: 25px 10px 50px 10px;
width: 940px;
}
#body h1 {
color: #2a4f5e;
font-size: 27px;
font-weight: bold;
height: 74px;
line-height: 74px;
margin: 0;
padding: 0;
text-indent: 10px;
text-transform: uppercase;
}
#body .contact p {
color: #7b7b7b;
font-size: 15px;
font-weight: bold;
line-height: 26px;
margin: 0;
padding: 40px 0;
text-align: justify;
width: 830px;
}
#body .contact p a {
color: #7b7b7b;
}
#body .contact p a:hover {
color: #2a4f5e;
}
#body .contact div {
margin: 0;
padding: 0 0 30px 0;
}
#body .contact div h3 {
color: #5d5d5d;
font-size: 14px;
font-weight: bold;
margin: 0;
padding: 0 0 5px 0;
}
#body .contact div ul {
margin: 0;
padding: 0 0 20px 0;
}
#body .contact div ul li {
color: #5d5d5d;
font-size: 14px;
list-style: none;
margin: 0;
padding: 5px 0;
}
#body .about div {
padding: 50px 0 0 0;
}
#body .about h2 {
color: #2a4f5e;
font-size: 16px;
font-weight: bold;
margin: 0;
padding: 0;
text-transform: uppercase;
}
#body .about p {
color: #5d5d5d;
font-size: 14px;
line-height: 24px;
margin: 10px 0 0;
padding: 0;
text-align: justify;
width: 830px;
}
#body .about p a {
color: #5d5d5d;
}
#body .about p a:hover {
color: #2a4f5e;
}
#body .services div {
overflow: hidden;
margin: 0;
padding: 40px 0 0;
}
#body .services h2 {
color: #2a4f5e;
font-size: 16px;
font-weight: bold;
line-height: 24px;
margin: 0;
padding: 0;
text-transform: uppercase;
}
#body .services h2 a {
color: #2a4f5e;
}
#body .services h2 a:hover {
color: #507685;
}
#body .services h3 {
color: #2a4f5e;
font-size: 14px;
font-weight: bold;
line-height: 24px;
margin: 15px 0 0;
padding: 0 30px 0 0;
text-transform: uppercase;
}
#body .services h3 a {
color: #2a4f5e;
}
#body .services h3 a:hover {
color: #507685;
}
#body .services h4 {
color: #2a4f5e;
font-size: 16px;
font-weight: normal;
line-height <ul>
A 0;
padding: 0;
text-transform: uppercase;
}
#body .services p {
color: #5d5d5d;
font-size: 14px;
line-height: 24px;
}
#body .services p a {
color: #5d5d5d;
}
#body .services p a:hover {
color: #2a4f5e;
}
#body .services div ul {
float: left;
margin: 0;
padding: 20px 0 0;
width: 312px;
}
#body .services div ul li {
background: url(images/bullets.gif) no-repeat center left;
color: #5d5d5d;
font-size: 14px;
list-style: none;
margin: 0;
padding: 5px 0 5px 12px;
text-align: left;
}
#body .services div div {
overflow: hidden;
margin: 0;
padding: 0 0 5px 0;
}
#body .services div div img {
float: left;
padding: 0 10px 0 0;
}
#body .services div div p {
padding: 0 30px 0 0;
text-align: justify;
}
#body .products {
margin: 0 auto;
padding: 25px 0 70px 0;
width: 960px;
}
#body .products h2 {
color: #2a4f5e;
font-size: 26px;
margin: 0;
text-align: center;
text-transform: uppercase;
padding: 90px 0 30px 0;
}
#body .products p {
color: #5d5d5d;
font-size: 14px;
line-height: 24px;
margin: 0;
padding: 0 10px;
text-align: justify;
}
#body .products p a {
color: #5d5d5d;
}
#body .products p a:hover {
color: #2a4f5e;
}
#body .products div {
overflow: hidden;
margin: 0 0 45px 0;
padding: 0;
}
#body .products div div {
float: left;
margin: 0;
padding: 0 10px;
text-align: center;
width: 300px;
}
#body .products div div h3 {
color: #2a4f5e;
font-size: 16px;
line-height: 24px;
margin: 0;
padding: 0 0 10px 0;
text-align: justify;
text-transform: uppercase;
}
#body .products div p {
font-size: 16px;
}
#body .products div div p {
font-size: 14px;
margin: 0;
padding: 0;
text-align: justify;
}
#body .blog {
overflow: hidden;
}
#body .blog div {
float: left;
padding: 60px 0 0 0;
width: 630px;
}
#body .blog ul {
float: left;
margin: 0;
padding: 38px 0 0 30px;
width: 280px;
}
#body .blog ul li {
background: url(images/border-dashed.gif) repeat-x bottom left;
list-style: none;
margin: 0;
padding: 22px 0;
}
#body .blog ul li:last-child {
background: none;
}
#body .blog h2 {
color: #2a4f5e;
font-size: 16px;
margin: 0;
padding: 0;
text-transform: capitalize;
}
#body .blog h3 {
color: #5d5d5d;
font-size: 14px;
margin: 0;
padding: 0;
text-align: justify;
}
#body .blog h3 a {
color: #5d5d5d;
}
#body .blog h3 a:hover {
color: #2a4f5e;
}
#body .blog p {
color: #5d5d5d;
font-size: 14px;
line-height: 24px;
margin: 0;
padding: 0;
text-align: justify;
}
#body .blog p a {
color: #5d5d5d;
}
#body .blog p a:hover {
color: #2a4f5e;
}
#body .blog div p {
padding: 15px 0;
}
#body .blog div p.article {
font-weight: bold;
}
#footer {
background: #f5f5f5 url(images/bg-footer.gif) repeat-x top left;
margin: 0;
min-width: 960px;
padding: 0;
}
#footer div {
margin: 0 auto;
overflow: hidden;
padding: 26px 0 0;
width: 960px;
}
#footer div div {
float: left;
margin: 0;
padding: 0;
text-align: center;
width: 192px;
}
#footer div div h3 {
color: #818a8c;
font-size: 12px;
font-weight: bold;
margin: 0 0 5px 0;
padding: 0;
text-transform: uppercase;
}
#footer div div ul,
#footer div div ul li {
margin: 0;
list-style: none;
padding: 0;
}
#footer div div ul li {
font-size: 12px;
line-height: 22px;
color: #818a8c;
}
#footer div a.facebook,
#footer div a.twitter {
display: block;
float: left;
height: 27px;
margin: 10px 0 0;
text-indent: -99999em;
width: 40px;
}
#footer div a.facebook,
#footer div a.twitter {
background: url(images/icons.gif) no-repeat;
}
#footer div a.facebook {
background-position: 0 0;
margin: 10px 0 0 58px;
_margin: 10px 0 0 28px;
}
#footer div a.twitter {
background-position: 0 -37px;
}
#footer div p {
color: #c1c1c1;
font-size: 12px;
margin: 0;
padding: 0 0 30px 0;
text-align: center;
text-shadow: 1px 1px 1px #fff;
}
Try adding position: absolute; property to the ul element:
nav ul ul {
display: none;
}
nav ul li:hover > ul {
position: absolute;
display: block;
}

how i can decrease post size?

i want to decrease post size. i mean when i post anything in my site i want to increase left and right side space for post.how i can do it?(post write wide size want to be decrease)
my all post css code show below.my site
/***** Post Lead Image *****/
#lead-image { position: relative; width: 610px; height: 320px; margin: 0 10px 20px; padding: 5px; background: url(images/backgrounds/bg-postthumb.gif); }
#lead-image img { display: block; }
/***** Post Meta *****/
.published { position: relative; width: 620px; margin: 0 10px 20px; background: url(images/backgrounds/bg-published.gif) repeat-x 0 0; text-align: center; }
.published p { background: #fff url(images/backgrounds/bg-published-decoration.gif) no-repeat center bottom; display: inline-block; color: #222; font: 1.2em 'VollkornItalic', serif; padding: 0 10px 20px; }
.published p a, .published p a:visited { text-decoration: none; }
.published p a:hover, .published p a:active { text-decoration: underline; }
/***** Post YouTube Video Player *****/
#video-player { position: relative; width: 620px; margin: 0 10px 20px; }
.yt-player { width: 615px; height: 370px; }
/***** Post Entry *****/
.post-columns { position: relative; width: 640px; }
.post-460 { position: relative; width: 460px; margin: 0 10px; float: right; }
.post-620, .periodic-password-post { position: relative; width: 620px; margin: 0 10px; }
.post-940 { width: 940px; margin: 0 10px; }
.post-left-column { position: relative; width: 160px; float: left; margin: 0 0 20px; }
.post-entry { position: relative; }
.post-entry h1, .post-entry h2, .post-entry h3, .post-entry h4, .post-entry h5, .post-entry h6 { margin: 0 0 10px; color: #222; line-height: 1.7; }
.post-entry h1 { font-size: 2.1em; }
.post-entry h2 { font-size: 1.9em; }
.post-entry h3 { font-size: 1.7em; }
.post-entry h4 { font-size: 1.5em; }
.post-entry h5 { font-size: 1.3em; }
.post-entry h6 { font-size: 1.2em; }
.post-entry p { font-size: 1.3em; line-height: 1.7em; margin: 0 0 30px; }
.post-entry blockquote { margin: 0 40px; border-left: 3px solid #464646; padding: 0 0 0 20px; font: 120% 'VollkornItalic', serif; color: #222; }
.post-entry blockquote p { line-height: 1.5em; }
.post-entry ul, .post-entry ol { margin: 0 40px 30px; font-size: 1.3em; line-height: 1.7em; }
.post-entry ul { list-style: disc; }
.post-entry ul ul { margin: 0 0 0 30px; font-size: inherit; list-style: circle; }
.post-entry ul ol { margin: 0 0 0 30px; font-size: inherit; }
.post-entry ul ul li { background: none; padding: 0; }
.post-entry ol { list-style: decimal; }
.post-entry dl { font-size: 1.3em; line-height: 1.7em; }
.post-entry dt { color: #222; font-weight: bold; }
.post-entry dd { margin: 0 0 30px; }
.post-entry code { font: 90% Monaco, Courier, monospace; background: #f1f1f1; padding: 2px; border-bottom: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; }
.post-entry p a, .post-entry li a,
.post-entry p a:visited, .post-entry li a:visited { text-decoration: none; }
.post-entry p a:hover, .post-entry li a:hover,
.post-entry p a:active, .post-entry li a:active { text-decoration: underline; }
.post-entry table { width: 90%; border-left: 1px solid #d9d9d9; margin: 0 auto 20px; }
.post-entry table caption { line-height: 3em; font-size: 1.2em; font-weight: bold; color: #464646; }
.post-entry table thead, .post-entry table tfoot { background: #f1f1f1; }
.post-entry table th, .post-entry table td { padding: 10px 15px; text-align: left; border-right: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9; font-size: 1.2em; color: #464646; }
.post-entry tfoot td { text-align: center; }
.post-entry table th { border-top: 1px solid #d9d9d9; font-weight: bold; }
.post-entry table td a, .post-entry table td a:visited { font-weight: bold; text-decoration: none; }
.post-entry table td a:hover, .post-entry table td a:active { text-decoration: underline; }
.post-entry pre { font-size: 1.4em; background: url(images/backgrounds/bg-pre.gif) top left; line-height: 2.3em; width: 600px; overflow: auto; overflow-y: hidden; border: 1px solid #d9d9d9; margin: 0 0 20px; }
.post-entry pre code { background: none; border: none; font-size: inherit; margin: 0 20px; padding: 18px 0; }
.post-entry address { font-style: normal; font-size: 1.3em; line-height: 1.5em; margin: 0 0 20px; }
.post-entry strong { color: #464646; }
/***** Post Entry Password Form ****/
.post-entry form label { font-weight: bold; }
.post-entry form input[type='password'] { width: 280px; padding: 7px 10px; border: 5px solid #f1f1f1; color: #d9d9d9; margin: 5px 0 0; }
.post-entry form input[type='password']:focus { color: #797979; }
.post-entry form input[type='submit'] { width: 140px; height: 40px; margin: 0 0 20px; background: url(images/backgrounds/periodic-sprite-03.png) no-repeat 0 -340px; font-weight: bold; font-family: Arial, "Helvetia Neue", Helvetica, sans-serif; text-transform: uppercase; color: #797979; margin: 10px 0 0; }
.post-entry form input[type='submit']:hover { background-position: 0 -430px; cursor: pointer; }
/***** Shortcodes *****/
.post-entry blockquote.pullquote { margin: 0 20px; padding: 0; width: 35%; border: none; color: #464646; }
.post-entry blockquote.pullquote p { margin: 0; }
.post-entry blockquote.pullright { padding: 5px 0 5px 20px; border-left: 3px solid #464646; }
.post-entry blockquote.pullleft { padding: 5px 20px 5px 0; border-right: 3px solid #464646; text-align: right; }
.checklist { position: relative; }
.checklist ul { list-style: none; }
.checklist li { background: url(images/backgrounds/check.png) no-repeat left .4em; padding: 0 0 0 20px; }
.arrowlist { position: relative; }
.arrowlist ul { list-style: none; }
.arrowlist li { background: url(images/backgrounds/list-arrow.png) no-repeat 0 .4em; padding: 0 0 0 15px; }
.arrowlist li li { background: none; padding: 0; }
.note { position: relative; width: 75%; margin: 0 auto 30px; background: #f1f1f1; border: 1px solid #d9d9d9; padding: 10px 20px 14px; }
.note p { margin: 0; font: 1.4em/1.6em 'VollkornItalic', serif; }
.two_column { position: relative; width: 47%; margin: 0 20px 0 0; float: left; }
.two_column_last { position: relative; width: 47%; margin: 0; float: left; }
.three_column { position: relative; width: 31%; margin: 0 20px 0 0; float: left; }
.three_column_last { position: relative; width: 31%; margin: 0; float: left; }
.four_column { position: relative; width: 23%; margin: 0 20px 0 0; float: left; }
.four_column_last { position: relative; width: 23%; margin: 0; float: left; }
.button, .button:visited { display: inline-block; line-height: 2.5em; text-align: center; background: #e5e5e5 url(images/backgrounds/bg-button.png) repeat-x 0 0; padding: 0 25px; border: 5px solid #d9d9d9; -moz-border-radius: 20px; -webkit-border-radius: 20px; border-radius: 20px; margin: 0 0 20px; color: #464646; font-weight: bold; font-size: 1.2em; text-decoration: none; }
.button:hover, .button:active { background-color: #fcfcfc; background-position: 0 -40px; border-color: #b9b9b9; }
/***** Post Images *****/
img.alignleft { margin: 0 20px 10px 0; }
img.alignright { margin: 0 0 10px 20px; }
img.aligncenter { margin: 0 auto; }
/***** Post Images with Captions *****/
.wp-caption { background: #f3f3f3; border: 1px solid #d9d9d9; padding: 4px 0; }
.wp-caption img { display: block; margin: 0 auto; }
.wp-caption .wp-caption-text { text-align: center; margin: 5px 0 3px; line-height: 1; font: 1.2em/1.3 'VollkornItalic', serif; color: #464646; }
div.alignleft { margin: 0 20px 10px 0; }
div.alignright { margin: 0 0 10px 20px; }
div.aligncenter { margin: 0 auto 20px; }
/***** Post Image Galleries *****/
.gallery { margin: 0 0 20px !important; }
.gallery-item img { border: 1px solid #d9d9d9 !important; background: #f1f1f1; padding: 4px; }
.post-entry dd.gallery-caption { margin: 0 0 15px; padding: 0 20px; }
.post-entry dd.wp-caption-text { font-family: 'VollkornItalic', serif; color: #464646; line-height: 1.2em; }
I believe you have fixed the width in every inner container of the div id "left-column" you should make a container inside #left-column and set padding-left and padding-right and make internal div's widths to 100%