Hi
I am trying to fit my page content based on the client resolution. Is it possbile to retrieve that information in PHP? and if so how?
thanks in advance
you can obtain the information with javascript (if enabled) and pass them as url-parameters to a php-page but why do you need it?
can't you just write a page that does automatically fit?
I want to display different content from the database, depending on the client resolution
which resolution?
the screen resolution? the screen resolution without place obtained by the taskbar the window size? the size of the window's client area? the size of a eventuelly available virtual desktop that may be much larger than the real screensize? will you refresh your content each time the user resizes his browser window?
the screen resolution.
I am not intending on refreshing the page on page resizing
screen.width and screen.height should be of help
but how do you know whether i browse fullscreen or whether my browser only obtains half the screen?