473,386 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Footer div stuck under left div!

I am creating a website and for some reason my footer div is stuck under my left column div.

This is my footer CSS;

Expand|Select|Wrap|Line Numbers
  1. #footer { 
  2.  float: left;
  3.  width: 675px;
  4.  clear: both;
  5.  color: #80882C;
  6.  border: 1px solid #80882C;
  7.  background: #FFFFFF;
  8.  margin: 0px 5px 5px 0px;
  9.  padding: 10px;}
  10.  
This is my left column CSS;

Expand|Select|Wrap|Line Numbers
  1. #leftcolumn { 
  2.  border: 1px solid colour:transparent;
  3.  margin: 0px 5px 5px 0px;
  4.  padding: 0px;
  5.  height: 440px;
  6.  width: 195px;
  7.  float: left;
  8.  overflow : auto;}
  9.  
Any ideas?
Jan 13 '11 #1
3 2256
JKing
1,206 Expert 1GB
Please post the html that goes along with your css.

Not sure if this is causing the issue or not but
Expand|Select|Wrap|Line Numbers
  1. border: 1px solid colour:transparent;
  2.  
is not a proper rule.
Jan 13 '11 #2
Thanks for replying, I have figured out the problem now! The left column and padding was making it not position where I wanted it xx
Jan 13 '11 #3
before footer div just put a new div like this

<div style="clear:both"></div>

Bharat Parmar(Bharat383)
Apr 21 '12 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: | last post by:
How do you center, like I am trying to do, below the group of images? Why does it not work? Example: <div><h2>The Title</h2><img src="images/BigPicture.jpg" height="150px" width="250px"></div>...
7
by: Andrew | last post by:
I've been struggling to achieve the following layout for some time now and I'm not getting anywhere. I've tried several approaches including floats & absolute positioning and none seem to work,...
5
by: Stan R. | last post by:
Greetings. I have a couple of questions concerning CSS layouts, as apposed to the old <tablemethod for creating layouts . Even after spending the last few days searching all over Google Groups, I...
1
by: newcomer2k | last post by:
Hi experts, I used 2 divs (side-bar and main-copy) and tried to line them side by side. For the most part this works fine. Both divs appear at the same y- value on the screen. However, as I...
13
Death Slaught
by: Death Slaught | last post by:
I have my entire page in my "main" div. div.main { width: 100%; height: 100%; border: 1px solid gray; } on the left of the page I have a banner.
0
by: sannymak | last post by:
Hello All, I have some problems making the columns 100% and forcing the footer at the bottom. Please refer to the code below and let me know a solution: HTML CODE: <!DOCTYPE html PUBLIC...
3
by: mobysurf | last post by:
Hey everyone...new to web design and this forum so "help me help you" as to the normal procedures. Page: http://voicetalkinc.com DOCTYPE: XHTML Transitional Layout: CSS Both pages are...
3
by: Noorain | last post by:
I designed a site. i want to header,footer,left & right column fixed but body information only scrolling. this site screen to be 800/600 px. i designed this way but when i used position fixed all...
4
by: lofish72 | last post by:
Hi, I'll link to the css and the page so you can see what's going on http://somosloscolorados.com/test/style3.css http://somosloscolorados.com/test/personajes3.html I can't figure out...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.