Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

resize html website for different screen resolutions

Tags:

html

css

I had to redo a website from flash to html/jquery. Everything looked great. Until I tested the site on a netbook where the screen resolution is much smaller. All the elements were misaligned or didn't stretch as I wanted it to. Or there were scroll bars everywhere.

So, How would do I make it stretch or resize properly,

Is there a property which I can set somewhere that would resize everything proportionately?

like image 266
airnet Avatar asked Nov 04 '11 09:11

airnet


1 Answers

You should use heigh / width in percentage(%) rather px / em. change the css file.

like image 103
Ariful Islam Avatar answered Oct 16 '22 10:10

Ariful Islam