Mobile app version of vmapp.org
Login or Join
Fox8124981

: Most CSS Grid frameworks use pixel as css units, why? I started to develop my own webdesign using an grid framework 960 CSS Framework and also noticed that most of other famous css grid frameworks

@Fox8124981

Posted in: #Css #Grid #WebDevelopment #WebsiteDesign

I started to develop my own webdesign using an grid framework 960 CSS Framework and also noticed that most of other famous css grid frameworks use 940/960px as maximum page width? Some of them have an online generators where you can calculate and generate the same framework but for different width size.

Can you tell me why they suggest 960 px as default?

And more important: Why everything is measured in pixels rather than pt, cm, % or any other css units?

Edit: Isn't it better to use 'in' as css unit and be sure that on every screen (computer, smartphone) it will have the same size?

P.S. Some other grid css frameworks:


Blueprint
YUI 2: Grids CSS
Bootstrap
Skeleton

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Fox8124981

2 Comments

Sorted by latest first Latest Oldest Best

 

@Caterina187

Aside from the 1024 scrollbar issue, 960 is divisible by many factors making it possible to have many different balanced column width configurations.

10% popularity Vote Up Vote Down


 

@Gloria169

Because it fits nicely into a 1024 wide screen resolution and dividable into different divisions quite easily. It creates a fixed width (why you wouldn't want to use percents). The conversion of arbitrary units such as points, centimeters or inches could vary from system to system.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme