+ 1

Which is better working on HTML, % or px

When working on an HTML site and placing images or videos, the site is gonna be used for for pc and phones. But when using % it would be different for each platforms, same goes with px. So which one should we use to be better for both?

1st Nov 2018, 8:31 PM
Soheab Al A'amor
Soheab Al A'amor - avatar
2 Réponses
+ 3
You already seem to know the difference in devices but certain images in general may strongly be effected by % verses px so there really is no absolute. Unfortunately everything SVG like
1st Nov 2018, 9:32 PM
BroFar
BroFar - avatar
0
Thanks
2nd Nov 2018, 9:47 AM
Soheab Al A'amor
Soheab Al A'amor - avatar