+ 2

Can I use width 50px and 50℅ ?

Just curious to know

10th Jan 2017, 4:53 AM
Bhabisya Pradhan
Bhabisya Pradhan - avatar
2 Answers
+ 8
Ofcourse you can use both. Just know that 50px means setting the width to 50px size, while 50% means half of the original size of content or half of the current page size..
10th Jan 2017, 4:58 AM
Sachin Artani
Sachin Artani - avatar
+ 1
you cant use them together in a same tag, but usage of one of them is possible in a tag. if at all, you use both of them in a single tag, it takes the first attribute value only.
16th Feb 2017, 10:25 PM
Vinith Hazare
Vinith Hazare - avatar