Is it bad to work with pixels in CSS? [closed]
Is it bad in terms of compatibility to use pixel numbers in CSS instead of percentages? How about lower resolutions? Is it okay to work with them in ranges of 1-100? This is a difficult question, because the answer mostly depends on your situation. Pixels are not that bad, I mostly use them too. (Sometimes even for font sizes.) I usually fix the outer block element of the layout by a given size (pixels with fixed-width layouts, and percentages with fluid layouts), and on the inside elements I usually set percentages whenever possible. There are some elements which simply can't be styled with