View Full Version : Help on Body Code

05-21-2007, 06:42 PM
Hi there,

I was wondering if anyone can help me with an issue im facing
i am creating a website and would like the page to load to fit to size, so if the user has 800X600 the page will get smaller to fit to his browser settings, or display settings.... ?

anyone have a script or setting that i can use or put in the html code ?

Thx ;)


05-24-2007, 08:23 PM
This isn't a Java issue. What you're asking can be done with CSS using width: x%; or width: xem; type stuff. Try reposting it there.

05-25-2007, 04:00 AM
CSS code:



05-25-2007, 08:15 AM
Please DO NOT repost a thread in another forum; if the forum a thread is posted in is not fitting, a moderator can move it to an appropriate one.
Posting the same or similar threads in multiple forums is not allowed.

05-26-2007, 02:52 AM
CSS code:


Hmm... I'm not sure that would make much difference. Basically, this would be the same as not specifying any width (if we don't have any margin/padding/border for the body element).

A fluid layout will automatically fit to the width of the window. If you want a fixed-width-layout with width dependent on screen resolution, then you would need JavaScript for detection of client-side properties.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum