• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

What font size attribute does the xenForo development team use? px , pt, em, or %

aculate

Well-known member
#1
just for curiosity, what font size attribute the xenForo development team use? px , pt, em, or %

Do xenForo developers use the % in the body and then em for the rest?
Even thought each case is different, what is the default for developing a site?

Thanks
 

Marcus

Well-known member
#2
From what I see the attributes are mixed mostly together. It would be better to have them all in a relative attribute so that you can enlarge all font size with a simple css statement or javascript.
 

Kim

Well-known member
#3
Predominately PX, with some % for line heights, from what I can see.

I had just gotten used to using ems with IPB when I moved over, not sure why the guys don't use em here, must be a reason though :)
 

Mike Creuzer

Well-known member
#4
Yes I noticed the use of px as well, which I thought was going to be a thing of the past for line height and font size. Everywhere else, mainly, I think px (and often %) is the best unit. Not that it is a huge deal I suppose.