I am reading articles about css. I found out that many of writers suggest to use % value for div\'s width or height.
I am using pixels all the time.
Why should I
It's not clear which context you are referring to (what type of elements). However, you need to be careful when using pixels for font sizes.
I generally use pixels for divs to keep my layout as expected. But I avoid pixels for fonts. Different users may want the font at different sizes. Why take that away.