Jump to content

content disappears after inserting footer


socken

Recommended Posts

I have a strange problem in IE again. On top, there is a banner. Underneath are two DIVs: leftSide and rightSide. LefSide contains a menu and an image.RightSide contains the content.Now, I want to add a footer:#footer { clear:both: height: 39px;}In FF it works like it should (like always...) In IE not (like always...). In IE, the content disappears!!! It's not somewhere else, it's simply GONE! :) Do you have any idea why this is happening!? Am I missing another IE-Hack I have to use?? Thanks for any help!!

Link to comment
Share on other sites

I assume you are using floats for the DIV's, try adding a float to the footer div.

#footer {  clear:both:  height: 39px;  float: left;}

Link to comment
Share on other sites

Well, its kind of hard trying to slove something I can't see. Also, I don't think the clear: both elements are needed.

Link to comment
Share on other sites

No! I'm sorry! It worked! I thought I need to set float:right, because of the layout. But you were absolutely right!Man, you really know all the answers, and they even fit all my questions ;-)Thanks alot!

Glad it worked :)however, I don't have all the answers ^_^" I try to know all that I can though.I wish I knew all the answers -_-
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...