Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 06-07-2005, 11:59 AM   #1
Chop Chop
 
catacon's Avatar
 
Join Date: Jan 2005
Location: St. Louis, MO
Posts: 1,035
Send a message via AIM to catacon Send a message via Yahoo to catacon
Question CSS Question

I was wondering if it is possible, using CSS, to make a division's height 100% of the window regardless of how much text is in the division. I know you can do this using tables, but they become messy after a while, so I prefer not to use them.

Thanks!
__________________
Main Computer: Intel Core i5 2500K | AsRock Extreme3 Z68 | Corsair Vengeance 2 x 4GB DDR3 1600 | EVGA GTX460 768MB | Western Digital Caviar 750GB 7200RPM SATAII | Mushkin 60GB SSD w/ SRT enabled | Asus 20X DVD Burner | Antec 550W Modular | Cooler Master HAF 912 w/ 4 fans | NXZT Sentry Mesh fan controller | W7 | 2 x 23" LG IPS Monitors

Laptop: Asus EEE 1000HE | 2GB RAM | Ubuntu

Laptop: Lenovo Thinkpad T60p | 4GB RAM | W7
catacon is offline   Reply With Quote
Old 06-07-2005, 12:55 PM   #2
Security Dude
Staff
 
kstatefan40's Avatar
 
Join Date: Jun 2003
Location: Derby, Kansas
Posts: 999
Send a message via AIM to kstatefan40 Send a message via MSN to kstatefan40 Send a message via Yahoo to kstatefan40 Send a message via Skype™ to kstatefan40
What exactly are you trying to do?

How do you want to handle any excess text that doesn't fit?
__________________

Tyler A. Thompson
Small Business Networking Services Specialist
tyler@derbydigital.com
kstatefan40 is offline   Reply With Quote
Old 06-07-2005, 02:58 PM   #3
Chop Chop
 
catacon's Avatar
 
Join Date: Jan 2005
Location: St. Louis, MO
Posts: 1,035
Send a message via AIM to catacon Send a message via Yahoo to catacon
Actually, I just figured out how to do it.

Using absolute positioning, I made the division's height 100%, and since the absolute position makes the object free from any other objects (such as the window), the division now goes from the top of the window to the bottom. Although in IE the division extends longer and stops after you scroll down a little ways. Works fine in Mozilla though, stupid IE.

I am making a bar go down the left side of the browser window for navigation links. Any excess text will cause the division to automatically increase in size, therefore making room for the text.

Thanks anyway guys!
catacon is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


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

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



All times are GMT -5. The time now is 04:51 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2