CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 11th, 2003, 01:09 PM
iamapathy iamapathy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Canada
Posts: 3 iamapathy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Imiating Frames Through CSS

Right now, I am trying to create a look that I only know how to create by using frames, but I actually have no pratical use for frames other than for the design aspect.

I am trying to create the 'top-bottom' frameset by using CSS. By using frames the bottom frame would be 100 pixels in height, and the top frame's height would be whatever the bottom frame isnt taking up.

What I am trying to do is create a page where the content is on top and the central nav/logo is always on the bottom and never hidin. So far I've got the bottom CSS layer at the bottom, and 100 pixels in height, but when I go to attempt to create the top portion there seems to be no way to set the top layer's height to be whatever the bottom frame isnt taking up.

I'll attach an image of waht i hope to accomplish, and maybe you can suggest some methods of achieving it.
Attached Images
File Type: gif css-framed.gif (16.0 KB, 165 views)

Reply With Quote
  #2  
Old October 11th, 2003, 11:46 PM
binky's Avatar
binky binky is offline
Gerbil
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Oct 2001
Location: In a Rotastak
Posts: 1,763 binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 22 h 12 m 52 sec
Reputation Power: 18
Calculate the window height, and work from that, using something like:

screenHeight = (document.all) ? parseInt(document.body.scrollHeight) : parseInt(window.innerHeight) ;

topHeight = screenHeight - 100
__________________
- Sorted!

www.ppfuk.com - Free Photo Sharing

Reply With Quote
  #3  
Old October 12th, 2003, 11:50 PM
iamapathy iamapathy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Canada
Posts: 3 iamapathy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
is that java or something? i understand the concept but dont i need to use some sort of script to get it to work?

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Imiating Frames Through CSS


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway