Current location: Hot Scripts Forums » General Web Coding » CSS » CSS footer help...


CSS footer help...

Reply
  #1 (permalink)  
Old 12-23-04, 11:03 PM
AlexLee AlexLee is offline
Newbie Coder
 
Join Date: Dec 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
CSS footer help...

Hi, I need some help here with my CSS layout.

I have 2 main components in my page. The left menu bar and the content section.

My left menu bar is on absolute position. So, it is floating.

And my content section is positioned using CSS.

My problem now is that when the stuff inside the content section is too short, the footer I added at the end will get blocked by the left menu bar, which is floating above it.

So now how do I position my footer to appear after the left menu bar or the content section, depending on which one is longer.

And can someone explain to me what does this mean?
Code:
body>#Menu {width:150px;}
The following would be my CSS with the problem...
Code:
#Content {
	margin:0px 50px 50px 200px;
	padding:10px;
	}

#Menu {
	position:absolute;
	top:240px;
	left:15px;
	width:172px;
	padding:10px;
	background-color:#eee;
	border:1px dashed #999;
	line-height:17px;
/* Again, the ugly brilliant hack. */
	voice-family: "\"}\"";
	voice-family:inherit;
	width:150px;
	}

}
#Footer  {
	font-size:11px;
	background-color: #eee;
	text-align: left;
	padding:0px 0px 0px 50px;
	margin:1000px 0px 0px 0px;
	border-style:solid;
	border-color:black;
	border-width:1px 0px;
	line-height:11px;*/
}
Reply With Quote
  #2 (permalink)  
Old 12-27-04, 11:28 PM
subnet_rx subnet_rx is offline
Newbie Coder
 
Join Date: Nov 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
that's going to be very hard with absolute positioning. When everything is relative, then the footer will "flow" after them.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP HELP!!!! css in iframe.. STUCK~ cynthia CSS 1 12-03-04 03:59 PM
Invalid Syntax on CSS Forum Description ub3r Hot Scripts Forum Questions, Suggestions and Feedback 0 08-31-04 09:30 PM
determining the precise dimensions of a table cell davidklonski HTML/XHTML/XML 1 07-04-04 11:31 AM
css generator frank1002 Job Offers & Assistance 2 05-09-04 07:54 PM
css generator frank1002 Script Requests 0 05-07-04 03:29 PM


All times are GMT -5. The time now is 01:34 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.