It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming CSS Forum

% of views resolution

% of views resolution

Postby signpost on Sat Jun 28, 2008 4:42 pm

Hi
I'm wondering is it possible to get a webpage to be central regardless of the resolution the viewer has selected. I want my page to take up say 70% of their available resolution??
signpost
 
Posts: 0
Joined: Sat Jun 28, 2008 4:33 pm

Postby inthedogbox on Sun Jun 29, 2008 11:29 am

im not sure, but i dont think you can find out their resolution.
the only thing you can do is have versions of your site for different resolutions.


as i said, it may be possible. but i dont think so.
inthedogbox
 
Posts: 18
Joined: Fri Jun 27, 2008 3:02 pm

Postby dflynn on Sun Jun 29, 2008 5:13 pm

If you don't want to scale your graphics then it's just a matter of using divs that are set to percentages of a container div that fits a width of 100% itself.

As the main container changes size the others will follow suit.

This won't make your graphics resize though, to do that you will need to use probably a combination of PHP and javascript to find the user's screen size. it is possible but i don't think it's going to be simple.

It's best to mak websites that can resize without havign to change graphics
User avatar
dflynn
500+ Club
 
Posts: 860
Joined: Wed Oct 03, 2007 9:06 pm
Location: Guelph, Canada


Who is online

Users browsing this forum: No registered users and 0 guests