Unstoppable Domains — Get your daily AI drops report

100% height? Eeesh...

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
Watch

Ringr

VIP Member
Impact
45
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.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains — AI StorefrontUnstoppable Domains — AI Storefront
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.
 
0
•••
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:
0
•••
0
•••
0
•••
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:
0
•••
I cant see you will have any problems with making it a fixed height, just make sure that you do it correct!!
 
0
•••
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/
 
0
•••
Truehost — .com domains from $4.99, hosting includedTruehost — .com domains from $4.99, hosting included

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back