WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm wondering why does WordPress's default theme mix up the css measurement units?

For example:

.one-column.singular #author-info {
margin: 2.2em -8.8% 0;
padding: 20px 8.8%;}

Wouldn't be easier to understand and to work if all them were pixel based?


share|improve this question
There is nothing wrong with having CSS use relative (%) and fixed(px) attributes. – Wyck Apr 1 '12 at 16:13
up vote 2 down vote accepted

Its just a css thing... while the distance from the top object is
to remain permenant the distance from a side object is relative and
those changes (sometimes) as the screen resulotion changes..

That prevents smaller screens from having a broken site. Anyhow thats the old way to go about it (in a matter of speaking) since "Responsive website design"
is the modern way to control website fluidity...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.