0

what's the diferrent between "100px" and "100%"

8th Oct 2016, 11:45 AM
ali salam
ali salam - avatar
3 Answers
+ 1
100% all the page.. but 100px only 100 from the all size..
8th Oct 2016, 12:37 PM
Baraa AB
Baraa AB - avatar
+ 1
100% doesn't necessarily mean the entire page. Take <img> for example. 100% would mean that the image would show on the page with the height and width of the source image; it wouldn't be scaled at all. 100px literally means you'd be scaling the image up/down to 100px, be it width or height.
9th Oct 2016, 2:17 AM
Cohen Creber
Cohen Creber - avatar
0
"100%" will be in the size of the page
8th Oct 2016, 11:45 AM
ali salam
ali salam - avatar