...

View Full Version : Measurements



Joseph Witchard
12-19-2010, 06:56 AM
To specify 100 in pixels or percentage, you would use 100px or 100%, respectively. What type of measurement are you using if you just state 100 as the value? I've noticed that a lot of people just use numbers and nothing more when sizing their HTML, but I've been unable to find what type of measurement that is, whereas pixels, percentages, and points end in px, %, and pt, respectively.

eberdome
12-19-2010, 07:30 AM
I think it defaults to pixels!

SB65
12-19-2010, 09:11 AM
It varies from browser to browser, which is why you should always include a unit.

Apostropartheid
12-20-2010, 01:51 AM
To specify 100 in pixels or percentage, you would use 100px or 100%, respectively. What type of measurement are you using if you just state 100 as the value? I've noticed that a lot of people just use numbers and nothing more when sizing their HTML, but I've been unable to find what type of measurement that is, whereas pixels, percentages, and points end in px, %, and pt, respectively.

It is meaningless unless you are referring to CSS properties which take a decimal (such as opacity) or a multiplier (like line-height).



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum