 |
Results from the most recent live auction are here.
23 members in the live chat room. Join Chat!
| |
04-15-2006, 04:03 PM
|
· #1 | | DNOA Member Join Date: Jul 2004
Posts: 1,391
NP$: 1090.86 ( Donate)
| 100% height? Eeesh... I've now spent like half an hour trying to figure out how to make my page's height 100% in CSS. You'd think it would be simple, but it's not.
First I tried adding "height="100%" in the main table on my page. Did that work? Nope.
Then I made a class similar to ".tableone { height: 100%; }" and used it as a class for the main table. Did that work? LOL, no of course not. ¬¬ SO then I did the mother of all solutions, "body { height: 100%; }" - THAT DIDN'T WORK EITHER!
Geesh, I don't know what to do. All I want is my freaking page's length to be 100% of the browser's resolution. My coding isn't that complex, all I have is a table with some tables inside of it (all of which have no height attributes to them.)
The 100% height for 'body' worked in IE, but not FireFox.
How do I do something so simple, so that it will work in IE and FF?
Thanks in advance. |
| |
04-15-2006, 04:17 PM
|
· #2 | Name: Rhett Location: Coffs H, Australia Join Date: Jul 2005
Posts: 3,106
NP$: 47.00 ( Donate)
| Well that's strange,
I've always been able to get my tables heights 100%, usually not using css though.
It sounds like inside your table you may have some <td> tags which may be screwing up your page, could you give us a link maybe?
Thanks, Rhett.
__________________
<?php if(1===1){ $computer="fine."; }else{ $computer="broken."; } echo "Your computer is ".$computer; ?>
|
| |
04-15-2006, 04:30 PM
|
· #3 | | DNOA Member Join Date: Jul 2004
Posts: 1,391
NP$: 1090.86 ( Donate)
| Eh, now I added "height="100%"" to like everything possible that could change it. Did it do anything? Nope, nothing.
I am officially confused as hell.
Last edited by AndyM3 : 04-15-2006 at 06:51 PM.
|
| |
04-15-2006, 04:52 PM
|
· #4 | | Senior Member Name: Darren Location: UK Join Date: Dec 2004
Posts: 1,895
NP$: 101.10 ( Donate)
| |
| |
04-15-2006, 05:09 PM
|
· #5 | | NamePros Regular Name: Jim, of course Location: Philadelphia Join Date: Aug 2005
Posts: 558
NP$: 14.30 ( Donate)
|
__________________
woop woop
|
| |
04-26-2006, 02:41 PM
|
· #6 | | DNOA Member Join Date: Jul 2004
Posts: 1,391
NP$: 1090.86 ( Donate)
| I'm not sure if I want to do something that will good up a lot of different browsers.
I was wondering - what will happen if I make my page a fixed height (like 1000px in height), what will happen when I have content that will make the page more lengthy? Will there be any problems, or will it keep going past the 1000px until it's needed?
Thanks,
Andy
Last edited by AndyM3 : 04-27-2006 at 05:54 AM.
|
| |
04-26-2006, 03:09 PM
|
· #7 | | Steven Name: Steven Gibbons Location: United Kindom Join Date: Aug 2005
Posts: 1,506
NP$: 40.00 ( Donate)
| I cant see you will have any problems with making it a fixed height, just make sure that you do it correct!! |
| |
04-27-2006, 10:32 AM
|
· #8 | | NamePros Member Join Date: Apr 2006
Posts: 175
NP$: 160.00 ( Donate)
| You can find lots of great CSS templates to use that act as a base for what you are attempting to do here: http://www.pmob.co.uk/ |
| |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |