![]() |
Measure height of page in pixels..?
I need to measure the height of a page in pixels, and then set the height of a div to that height minus X amount of pixels... How would I do that? O.o
(height:auto; doesn't work in IE or Opera...) Seems like a javascript kinda' thing, but javascript can get browser iffy, and I don't know JS anyway O.o. |
Put this in your css::
Code:
#yourdiv {edit: You should've posted this in the HTML and CSS section |
It isn't that advanced as well. There a LOT of resize and size measuring tools around. Most of them are Javascript based. So, simply search for "Resolution Detection Javascript" or what ever, and you should probably find what you're looking for.
Once again Aaron, I've told you before, don't bite off more than you can chew! :-) Friendly advice non the less. |
I've never had to use expression() in my CSS before, but will it automatically update upon resizing? I understand it might not work DURING the resize, but once you finish, will it update?
|
The expression isn't working for me... T.T
Respawn, why do you think that this is more than I can chew? |
The O.o makes it seemed like your completely and utterly baffled which is somethin akin to "biting off more than you chew".
|
Quote:
|
I made this code couple weeks ago its very simple one.
PHP Code:
Here is an example i made: HERE |
I see one issue with that, Rendair, and that is the bottom of the scroll bar is missing on the window that pops-up after you click grow. In Firefox, anyhow.
|
Quote:
|
Aye! In that case it is very nice :-) Excuse my finickiness!
|
| All times are GMT. The time now is 03:23 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0