Page 1 of 1

Opening websites in different resolutions

Posted: Tue Nov 11, 2008 5:44 am
by swetha
i need to write a function/code to open websites in different resolutions in PHP.
Assume following are the 2 radio buttons:
800x600 Pixels
1024x768 Pixels

If the user chooses the first resolution,the website should open in that resolution.
Similarly if the user chooses the second resolution,the website should open in that resolution.

Thanks for any coding help

Re: Opening websites in different resolutions

Posted: Tue Nov 11, 2008 5:48 am
by Ziq
What do you mean "website should open in that resolution"? Is it window size? or something else.

Re: Opening websites in different resolutions

Posted: Tue Nov 11, 2008 6:07 am
by aceconcepts
Surely this would be a CSS task - if you're looking to cater for various resolutions.

Re: Opening websites in different resolutions

Posted: Tue Nov 11, 2008 6:42 am
by swetha
I make it more clear here.
I meant website should open in that window size.How do i do that through php coding?

Thanks

Re: Opening websites in different resolutions

Posted: Tue Nov 11, 2008 8:37 am
by aceconcepts
I thought as much :D

Take a look at some CSS. i.e.

Code: Select all

 
<div style="width:800px; height:600px;">CONTENT</div>
 
etc...