Jump to content

Websites for Differing Screen Sizes


Stone Gossard

Recommended Posts

Hi,

Maybe this is for a HTML forum but I'm kinda hoping that I can do this in php. I am designing a website for a company on my 17" screen and it's fine.But i just got a call from my employer to say that they use 15" screens and that they need to scroll to see the front page in full.

Is there any php solution to this?Is there some code that will make the webserver serve the page to suit all screen sizes?

Stone
Link to comment
https://forums.phpfreaks.com/topic/11145-websites-for-differing-screen-sizes/
Share on other sites

I assume they mean scroll [i]sideways[/i].

Size does not matter, resolution does.

The 'right' way to do it is visual design for a screen resolution of 1024px (the majority of sizes at present) but make sure it actually fits within a screen resolution of 800px (still used by 25% of the world).

There isn't any 'magic bullet' to get the right size content delivered depending on the visitor's window size (other than javascript and creating duplicate versions of every page of your site at different resolutions).

If this is an html question - modifying then sticking the content in a percentage width table might work for you ... but tables for layout really isn't the 'right' thing to do (for reasons endlessly discussed many other places)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.