hi everyone, I've been lurking here for a while. If you have any intention to make owncloud responsive going with em and rem is the right choice.
On Wed, Dec 5, 2012 at 9:32 AM, Bernhard Posselt <[email protected]>wrote: > Wow thanks. rem looks awesome and would solve my current problems :) > > > On 12/05/2012 05:56 AM, Thomas Tanghus wrote: > >> On Wednesday 05 December 2012 01:09 Jan-Christoph Borchardt wrote: >> >>> Just a short public service announcement concerning everyone who writes >>> CSS >>> in ownCloud: >>> >>> Please only use px as values, no em anymore. >>> >> Doesn't this go against what just about every (self-proclaimed?) css guru >> says? >> >> Wouldn't it be better to set a base font-size in the main style sheet, >> which >> would also solve font sizes being different when rendered in Gecko and >> WebKit, >> and then use rem instead of em? [*] >> >> px are absolute and let us control everything much easier, while em are >>> relative to the font-size and are bound to make you very angry sooner or >>> later. You don’t need to change every em value to px right now, but when >>> you write new code or touch old one, please use px. >>> >> But using pixel sizing also renders ownCloud impossible to use on e.g. >> retina >> displays. If we can adjust the base size based on which device is used, it >> will allow us to make it viewable on different form factors. >> >> Thanks! (There are of course more things about the CSS which need to be >>> addressed, but going forward this is most important.) >>> >> [*] >> http://www.alistapart.com/**articles/love-the-boring-bits-**of-css/<http://www.alistapart.com/articles/love-the-boring-bits-of-css/> >> >> > ______________________________**_________________ > Owncloud mailing list > [email protected] > https://mail.kde.org/mailman/**listinfo/owncloud<https://mail.kde.org/mailman/listinfo/owncloud> >
_______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
