Re: Dynamic Pages
From: Andrew _at_ Rockface (_at_)
Date: 01/30/05
- Previous message: Andrew _at_ Rockface: "Re: Checking Server Status with PHP"
- In reply to: Ashmodai: "Re: Dynamic Pages"
- Next in thread: Ashmodai: "Re: Dynamic Pages"
- Reply: Ashmodai: "Re: Dynamic Pages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 30 Jan 2005 13:28:55 +0000 (UTC)
Ashmodai wrote:
> Shane Malden scribbled something along the lines of:
>> Hi, I am trying to create a page which will automaticlly change the
>> size of tables/graphics etc based on the screen resolution. Eg, if
>> someone is using a 800x600 the page layout will utilise this. If the
>> same webpage is diaplayed on a 1024x768 or 1280X1024 the cells are
>> adjusted according. By doing something like this could you make the
>> logo change size by using a percent size in a table cell or is there
>> a better method than tables? If anyone is able to help with tips or
>> any examples (code or url reference) it would be appreciated.
>
> The window size (which is more reliable than the screen resolution in
> this case) can be determined via JavaScript -- IIRC the call is
> different for Mozilla/Netscape and MSIE tho.
>
> You could either pass the values to the PHP application or perform the
> size adjustment client-side.
Or create a fluid design in the first place. One that doesn't rely on
window/viewport sizes etc.
- Previous message: Andrew _at_ Rockface: "Re: Checking Server Status with PHP"
- In reply to: Ashmodai: "Re: Dynamic Pages"
- Next in thread: Ashmodai: "Re: Dynamic Pages"
- Reply: Ashmodai: "Re: Dynamic Pages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]