Re: screen resolution!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well,

you can do use auto resize if you use 0% over height and width table's
html tags.

eg.

<table allign="center" height="0%" width="0%">
 ---- put your table content -------
</table>

Regards,

Luis Morales 

On Mon, 2006-02-06 at 09:28 -0800, Micah Stevens wrote:
> Yes, there is. It's called HTML.
> 
> You might think me daft, but HTML was actually created to allow the page to 
> adapt to screen size. The oldest technology on the block is actually the 
> thing to use in this situation, otherwise you're just creating extra work for 
> yourself. 
> 
> A simple example:
> 
> <table width="800px"> - This works great, looks great, until you have a 
> 640x480 screen. Instead, try this:
> 
> <table width="80%">  (this scales according to screen size)
> 
> or
> 
> <table> (this scales according to content size + screen size)
> 
> It really sounds like this is a problem with your web page design, not php or 
> Javascript. 
> 
> However, you could indeed do as others suggested and create multiple pages.. 
> That really sounds like more work than it's worth though. 
> 
> -Micah 
> 
> On Monday 06 February 2006 1:38 am, JeRRy wrote:
> > Yes I know this but there is no script that can re-write webpages on the
> > fly for certain resolutions?
> >
> >   Instead of re-doing each page for each res.?
> >
> >   With the technology these days I thought someone would of created
> > something like this, so you create a website than you put it through a
> > program that re-does the HTML for the resolutions you set and bingo the
> > results are spat out and you add it to the site and use a little script to
> > redirect depending on their set resolution.
> >
> >   Jerry
> >
> > PHP Superman <phpinfolist@xxxxxxxxx> wrote:
> >   Or you can have a page which detects resolution by javascript and
> > redirects to another PHP page with the resolution data
> >
> >   On 2/4/06, Bastien Koert <bastien_k@xxxxxxxxxxx> wrote:
> > As the other poster mentioned you need JS to detect the screen width....the
> > usual approach is to use js to detect the screen res and the include the
> > appropriate CSS file to match the screen res.
> >
> > Bastien
> >
> > >From: JeRRy <jusa_98@xxxxxxxxx>
> > >To: php-db@xxxxxxxxxxxxx
> > >Subject:  screen resolution!
> > >Date: Sun, 5 Feb 2006 02:44:19 +1100 (EST)
> > >
> > >Hi,
> > >
> > >   I have written a website in PHP using MYSQL.  But I have come accross
> > > an un-common problem.  Normally when I create a website it's done on a
> > > desktop PC.  But this time for the first time I did it on laptop meaning
> > > the screen resolution is different.
> > >
> > >   Is there any sort of script/code I can use to create another section of
> > >my site in a desired screen resolution without me having to do it all
> > >manually?
> > >
> > >   I know of many scripts online that I can DETERMINE visitors screen
> > >resolutions and recommend the correct one but don't know one that will
> > >adjust the website to suit that visitors screen resolution.  Am aware of
> > >scripts that redirect to another web page but that requires you to write
> > >the website again to cater for that.
> > >
> > >   Is there a quicker way/solution?
> > >
> > >   Thanks!
> > >
> > >   J
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> 
-- 
---------------------------------------------------------------------------------
Luis Morales 
Consultor de Tecnologia
Cel: +(58)416-4242091
---------------------------------------------------------------------------------
"Empieza por hacer lo necesario, luego lo que es posible... y de pronto
estarás haciendo lo imposible"
---------------------------------------------------------------------------------

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux