This is a discussion on "100% height" within the Web Page Design section. This forum, and the thread "100% height are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
100% height
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
100% height
Hey all,
I am currently messing about with css height att and I am doing a 2 column layout and want both columns to be 100% height within the browser but all I am getting is the height of the content. Could you please look at my code and let me know what I am doing wrong. At this moment in time my page is not live.
Last edited by Aso; Mar 28th, 2008 at 14:34. |
|
|
|
|||
|
Re: 100% height
Could we have a link? I can't see why it would not be working Wayne. Also, you might like to try the property min-height as setting a definite height on columns could cause a lot of restrictions and limit content levels.
Ed.
Last Blog Entry: Happy New Year! (Dec 31st, 2007)
|
|
|||
|
Re: 100% height
There is no link available as I don't currently have my domain details with me and I am working on a work pc. I have just tried the min-height: 100% and still no luck.
|
|
||||
|
Re: 100% height
You most likely need;
Note: If the above does not work, try adding html to the same declaration.
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
|
|
|||
|
Re: 100% height
I believe I'm having the same issue. Adding height:100% to the body didn't fix it, nor did min height.
My site's layout is liquid so I'm wanting the right colum to adjust with the amount of content in the mainContent area so it always reaches the footer. I can set it to a specific static hight with height: ## px: and it does change but isn't giving the desired effect. I tried giving the right column the property height:100% but that didnt' do it. Here's the site http://www.hspfan.com/index.htm Here's the css http://www.hspfan.com/hspstyle1.css I'm guessing it has to do with another property not allowing the column to use the height 100% property. Maybe I'm way off. Any ideas? It seems we're having the same problem. Last edited by UUDDLRLRBA; Mar 28th, 2008 at 12:40. |
|
|||
|
Re: 100% height
I have looked google and all I am getting back in the height/min-height but like yourself it is not working, if I find the solution I'll post it.
|
|
|||
|
Re: 100% height
I'm going to try n rebuild the layout using this template.
http://matthewjamestaylor.com/blog/u...enu-pixels.htm |
|
||||
|
Re: 100% height
Try
Last Blog Entry: Fobriwap! (Mar 10th, 2008)
|
|
|||
|
Re: 100% height
I'll try in when I get home.
|
|
|||
|
Re: 100% height
That had some pretty bad effects on the site. Everything went center and the container disappeared.
Strange |
|
|||
|
Re: 100% height
What it appears to be is there's no way to have a liquid table with a column that will always reach the bottom, unless the column is full and is also liquid. Wish there was a way to accomplish this but it looks like I'm going to have to go static.....now comes the choice to optimize for 800 or 1024.
|
|
||||
|
Re: 100% height
Try this
Last Blog Entry: Fobriwap! (Mar 10th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CSS Div height problem | dryjoy | Web Page Design | 1 | Jan 6th, 2008 18:05 |
| How to make a table height equal to the browser height ? | subhadip | Starting Out | 4 | Sep 20th, 2007 07:56 |
| CSS #frame height and PHP | SCDWB | Web Page Design | 6 | May 12th, 2007 22:45 |
| 100% div height | jimz | JavaScript Forum | 2 | Mar 22nd, 2006 00:53 |