PDA

View Full Version : Auto Resizing Pages?


him
07-21-2005, 07:02 PM
Hi,

I have done searching on 'Auto Resize' earlier and couldn't find exactly what I was looking for. So here goes my question: I have downloaded this script that allows me to set the width of the blog. However I have a different resolution to normal desktop user (my screen is slightly wider) Is there any scripts / style to put into the page which allows the browser resize automatically according to its resolution? I only have general HTML knowledge and completely new to PHP so please explain :)

Thanks in advance,
him

jon.php
07-21-2005, 09:05 PM
this would have to be done with JavaScript. PHP doesn't really do broswer editing / changing. It's more to make the login forms, or make a dynamic website

him
07-22-2005, 12:04 AM
Hi,

But the scripts are written in PHP, also, if you are familar with phpBB, it has this function as well but not sure where to find this code :confused:

Any thought?

Thanks anyway,
him

delinear
07-22-2005, 01:01 PM
Maybe do a "view source" on the page and look how the element is built - how is the width determined? It may be set in a style sheet, in which case you can edit the style sheet and fix the setting how you want. If it's not in a style sheet, the text and elements that make up the page will give you something to search for in your .php files, just look for the template text from your page in those files and see how the widths are set from there.