Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Konrad Pilch
2,435 PointsSite a bit too small
HI,
So, i was developing a site, and like sometiems happend, i had a zoom on my browser 125%. The site looked great! But on 100% ( normal ) , the fonts and everything is too small. Is there a way i can make everything by 25% bigger? in CSS?
2 Answers
Luke Glazebrook
13,564 PointsHi Konrad!
I am not sure about a way to make everything 25% bigger in CSS but if I were you I would, instead of doing that, just alter the values for each element and try to find out the perfect size for each value and then this then allows you to have more control over each element.
Ingvi Jonasson
12,173 PointsIn case your font sizes are em based you can change (or define) the font size value of the body tag.
Konrad Pilch
2,435 PointsIts not about only fonts , but the height as well, e.g a height of a bar is 50px : p etc.. i tried thath one allready but um ;/
Ingvi Jonasson
12,173 PointsYes of course, so all margin, padding etc are also too small. bummer. Well I'm sure it will not happen again :)
Konrad Pilch
2,435 Pointsxd , its my second time, although the first time was around 9 months ago when i had site 50%+ and it wasnt pleasant : p
TIP 1: Allways check your zoom when you start to develop :D saves extra work.
Ingvi Jonasson
12,173 Points... and check the work on multiple browsers will also prevent this happening again.
Konrad Pilch
2,435 PointsKonrad Pilch
2,435 PointsHI,
Well, uh , thats what i didnt want to do xdd but well, i believe, im just gonna have to do it . Well, thank you!
Luke Glazebrook
13,564 PointsLuke Glazebrook
13,564 PointsIt should all be easy enough and it shouldn't take too long! Good luck with your site.
Konrad Pilch
2,435 PointsKonrad Pilch
2,435 PointsWell, still, the most boring part in the web history, changing value to a bigger one xd and counting each value 25% and then add it : p
Thank you.
Luke Glazebrook
13,564 PointsLuke Glazebrook
13,564 PointsI know you mentioned this down below but make sure to set your zoom to 100% on your browser before you start designing your site! It will save you a lot of time in the long run.