: 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
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
More posts by @Fox8124981
2 Comments
Sorted by latest first Latest Oldest Best
Aside from the 1024 scrollbar issue, 960 is divisible by many factors making it possible to have many different balanced column width configurations.
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.