What size should a page be so that it does not go past the far right of the screen. Does this depend on the monitor size or can you have the website resize dependant upon this, as i find my website fits easily onto some computers, whereas on others you have to scroll to the right to see certain parts. Many thanks in advance.
if you use width=100%, for your main table/div on your page, it will adjust itself to full user screen. you can check for user screen width and accordingly set your page width with javascript: <SCRIPT language="JavaScript"> <!-- if ((screen.width>=1024) && (screen.height>=768)) { window.location="highres.html"; } else { window.location="lowres.html"; } //--> </SCRIPT> hope this helps
Using fluid widths is an option, but if you want a site to be visible for 99% of all users without having it fluid, the max width should be around 780 pixels.
can it be done by using em in stead of defining the size as pixel????? just seen somewhere so curious to know...
not 100% sure but I think em is used more so for font sizes, padding, etc. not really the actual width of the site. But the liquid design is deffinitly the way to go if you want it to fit on EVERY Monitor, but depending on the monitor, things get stretched and it could effect the layout.
I try to design for the smallest monitor out these days, which is 768 pixels wide. Keep that in mind for ultimate compatibility.