[advanced search]
Results from the most recent live auction are here.
23 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming
User Name
Password

Old 04-15-2006, 04:03 PM   · #1
Ringr
DNOA Member
 
Ringr's Avatar
 
Trader Rating: (46)
Join Date: Jul 2004
Posts: 1,391
NP$: 1090.86 (Donate)
Ringr is a splendid one to beholdRingr is a splendid one to beholdRingr is a splendid one to beholdRingr is a splendid one to beholdRingr is a splendid one to beholdRingr is a splendid one to beholdRingr is a splendid one to behold
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.


Please register or log-in into NamePros to hide ads
Ringr is offline   Reply With Quote
Old 04-15-2006, 04:17 PM   · #2
BillyConnite
 
BillyConnite's Avatar
 
Name: Rhett
Location: Coffs H, Australia
Trader Rating: (77)
Join Date: Jul 2005
Posts: 3,106
NP$: 47.00 (Donate)
BillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant future
Wildlife Parkinson's Disease Parkinson's Disease
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; ?>
BillyConnite is offline   Reply With Quote
Old 04-15-2006, 04:30 PM   · #3
Ringr
DNOA Member
 
Ringr's Avatar
 
Trader Rating: (46)
Join Date: Jul 2004
Posts: 1,391
NP$: 1090.86 (Donate)
Ringr is a splendid one to beholdRingr is a splendid one to beholdRingr is a splendid one to beholdRingr is a splendid one to beholdRingr is a splendid one to beholdRingr is a splendid one to beholdRingr is a splendid one to behold
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.
Ringr is offline   Reply With Quote
Old 04-15-2006, 04:52 PM   · #4
dc1pop
Senior Member
 
dc1pop's Avatar
 
Name: Darren
Location: UK
Trader Rating: (77)
Join Date: Dec 2004
Posts: 1,895
NP$: 101.10 (Donate)
dc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to behold
Same issue as my thread here:

http://www.namepros.com/programming...ble-height.html

The height tag has been dropped in the latest dtd so i read which is why it is not recognised.

The browser will not make the height 100% if there is nothing there to make it that high.

For a better example and some help look here:

http://www.alistapart.com/articles/fauxcolumns/
__________________
applewave.com - web design & php development
dc1pop is offline   Reply With Quote
Old 04-15-2006, 05:09 PM   · #5
Jim_
NamePros Regular
 
Jim_'s Avatar
 
Name: Jim, of course
Location: Philadelphia
Trader Rating: (20)
Join Date: Aug 2005
Posts: 558
NP$: 14.30 (Donate)
Jim_ is a glorious beacon of lightJim_ is a glorious beacon of lightJim_ is a glorious beacon of lightJim_ is a glorious beacon of lightJim_ is a glorious beacon of light
Save The Children
__________________
woop woop
Jim_ is offline   Reply With Quote
Old 04-26-2006, 02:41 PM   · #6
Ringr
DNOA Member
 
Ringr's Avatar
 
Trader Rating: (46)
Join Date: Jul 2004
Posts: 1,391
NP$: 1090.86 (Donate)
Ringr is a splendid one to beholdRingr is a splendid one to beholdRingr is a splendid one to beholdRingr is a splendid one to beholdRingr is a splendid one to beholdRingr is a splendid one to beholdRingr is a splendid one to behold
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.
Ringr is offline   Reply With Quote
Old 04-26-2006, 03:09 PM   · #7
Xyzer
Steven
 
Xyzer's Avatar
 
Name: Steven Gibbons
Location: United Kindom
Trader Rating: (45)
Join Date: Aug 2005
Posts: 1,506
NP$: 40.00 (Donate)
Xyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to all
Tsunami Relief AIDS/HIV
I cant see you will have any problems with making it a fixed height, just make sure that you do it correct!!
Xyzer is offline   Reply With Quote
Old 04-27-2006, 10:32 AM   · #8
CreedFeed
NamePros Member
 
CreedFeed's Avatar
 
Trader Rating: (1)
Join Date: Apr 2006
Posts: 175
NP$: 160.00 (Donate)
CreedFeed is on a distinguished road
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/
CreedFeed is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

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
Forum Jump


Site Sponsors
EscrowDNS EscrowDNS EscrowDNS
Advertise your business at NamePros
All times are GMT -7. The time now is 09:37 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0