Page 1 of 1

Browser Window Size help

Posted: 10 Dec 2007, 20:11
by devin
on my site .. Devinlefevere.net .. The name overlays on top of everything if you resize it down to small . How can I make it so that the broswer window stays to a fixed size ? Thanks

Posted: 10 Dec 2007, 22:44
by mjau-mjau
I have created a fix for this here:
https://www.photo.gallery/imagevue/index ... emenu=true

It creates a 'minimal-height' attribute into the document so that the stage does not scale below 580px height. If the browser goes below this, a scrollbar will appear. It works with Firefox and IE7, but I'm not 100% sure it works with IE6. Perhaps someone can confirm?

To implement it, only a few changes are required in your index.php -
Change the following line:
Code
overflow: auto;
Add the following CSS style:
Code
#imagevue {
	min-height: 580px;
	_height: 580px;
}
IE7 and firefox support the "min-height" attribute, but IE6 does not. I have reason to believe using the "_height" attribute is a workaround for IE6.

Posted: 11 Dec 2007, 19:26
by devin
Sorry about the stupid question but , where does the css go ? Into the css of index.php or .... ?

Posted: 12 Dec 2007, 00:46
by mjau-mjau
devin wrote:Sorry about the stupid question but , where does the css go ? Into the css of index.php or .... ?
There is no external CSS file, so that code goes directly into the "index.php" file.

The first line in my post above, you must simply change from the original value "overflow: hidden". The second chunk of code, you just paste in the CSS section below the "body" style definition.

Posted: 12 Dec 2007, 17:12
by devin
Thank you so much .. Have you ever thought about hiring extra help !? You seem to being the one doing all of the work 8)

Posted: 13 Dec 2007, 00:41
by mjau-mjau
I have thought about it, and I will certainly be looking further into it in the new year. I do have a partner who does PHP programming, but unfortunately, it's not that easy to simply hire help in building our future releases.