Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Cascading Style Sheets _ Scaling a webpage for different screen resolutions

Posted by: tudsy Nov 29 2017, 11:16 PM

Hi

Just one question.How do I scale a webpage or take into account different screen resolutions?

Is css involved?


Thanks


AdrianT

Posted by: CharlesEF Nov 30 2017, 11:21 AM

Start with this '<meta name="viewport" content="width=device-width">', place it in the <head> section of each page. Then you can look into CSS media queries.

Posted by: tudsy Dec 1 2017, 04:06 AM

Hi

Thanks for that. I am trying to fit a webpage in a screen, which has a size of 176x220. I am having problems in testing with screenfly (online tool) to fit the webpage in that resolution. The CSS is in Main.css and the webpage is ecovib2d_adriant.php.

Thanks.Attached File  Main.css ( 701bytes ) Number of downloads: 410
Attached File  ecovib2d_adriant.php ( 11.07k ) Number of downloads: 413

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)