Twinky
08-25-2007, 03:22 PM
The width on my website is 950px.
When people access the website with the browser restored down, it wont show the whole website.
How can i make the browser on the users pc resize :confused:
saukwebsolutions
08-25-2007, 03:53 PM
why not make your site fluid so that it will just be the size of the users browser? You can then put a min and a max to the site as well.
Markozz
08-26-2007, 08:59 AM
Twinky asked how to do it. I too would like to know how to do this, rather than what to do. Cheers!
Jay August
08-26-2007, 01:50 PM
rule #1 in web development: Never mess with the visitors browser. Don't disable browser functions, don't resize the browser window, don't do anything at all with that. The browser is owned by the visitor of your website, not by the website itself.
If they can't see your whole site, they will maximize their screen :)
WebDesignGold
08-26-2007, 05:01 PM
How can i make the browser on the users pc resize :confused:
As amygdela said, don't mess with your visitors browser. But you could make your site resize automatically and adapt to the window size (reasonably).
Here are some helpful links about different layout solutions:
Fixed or fluid width? Elastic!
(http://www.456bereastreet.com/archive/200504/fixed_or_fluid_width_elastic/)CSS Layouts: The Fixed. The Fluid. The Elastic. (http://green-beast.com/blog/?p=199)
Fixed vs Liquid vs Elastic (http://www.autisticcuckoo.net/archive.php?id=2004/07/21/fixed-liquid-elastic)
openXS
08-27-2007, 11:34 AM
What you have is a Fixed-width layout but what you need is a Fluid (variable width) layout.
Set the width in % (eg 95%) instead of px.
KentonNetworks
08-28-2007, 12:22 AM
Hi,
You could also implement a little bit of javascript and set your html with more than one CSS file.
We did this once for one of our clients. I'll look into javascript and multi css or multi style sheets.
I can dig through our notes and see if I can find the documentation on this technique if that is what you are looking for.
Let me know.