• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

web page question

I've been messing around with a website i'm making and i'm wondering how to make the page automatically fit to the users browser resolution. Such as so they don't have to scroll left and right to view the whole page. Is this possible? I've seen some javascript around but i couldn't get it to work.

Any suggestions would be appreciated.
Thanks in advance
 
In my opinion, your best best is not to design your page like this. It's best to either let the page flow with the width of the browser, or design it with a static width that is a little less than 800 pixels. Relying on things like javascript (or worse, Flash) for layout is just begging for trouble.
 
Your answer completely lies in programming with Cascading Style sheets. CSS - you can define either pixels, percentages, or font width how far in your want your "divisions," in addition to padding and margins.

Just web search basic topics in CSS, and look for some started pages on layout. With Netscape silently leaving the browser scene it will be easier to program CSS (only because MS is retarded and really F$CK$# up CSS definitions for division padding and margins - you need mostly only to worry now about Explorer.)

CSS is replacing tables, but tables are still used by applications for layout because they are easier for programs to use, but more modern web design programs are integrating CSS. I created a website completely in CSS, without one table out. The only table programming - were for tables. Also - CSS can define table cell properties.

For instance, with CSS - if you want to change the font, font color, font size - just go to one page - change the values, and all fonts on your entire website that rely on that "definition" will change. If you want all your H1 headers to be a bigger - just change your definitions for that header.
 
Back
Top