Opening websites in different resolutions

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
swetha
Forum Commoner
Posts: 88
Joined: Wed Sep 10, 2008 11:00 pm

Opening websites in different resolutions

Post 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
User avatar
Ziq
Forum Contributor
Posts: 194
Joined: Mon Aug 25, 2008 12:43 am
Location: Russia, Voronezh

Re: Opening websites in different resolutions

Post by Ziq »

What do you mean "website should open in that resolution"? Is it window size? or something else.
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: Opening websites in different resolutions

Post by aceconcepts »

Surely this would be a CSS task - if you're looking to cater for various resolutions.
swetha
Forum Commoner
Posts: 88
Joined: Wed Sep 10, 2008 11:00 pm

Re: Opening websites in different resolutions

Post 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
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: Opening websites in different resolutions

Post 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...
Post Reply