Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Typography practices (line heights, padding, margins etc)

Featured Replies

Are there certain techniques and practices for determining things such as line heights, padding and margins? I noticed that I just tweak until it 'feels' right but that is probably a terrible approach.

 

I don't consider myself a designer in any respect of the word so if anyone can provide some good tools and references in regard to type that would be brilliant.

Hey there,

 

I dont have any design training as Im mainly a developer but I do certainly enjoy design. Im one of the 'edit until it feels right' types of designer just like you. There are some default typography styles that I use in my sass files but i usually end up changing them.

 

Have you seen this article, it might be up your street:

 

http://webdesign.tutsplus.com/articles/design-theory/typography-basics-for-developers/

 

The article is actually part of a huge 'design for developers' post - its got some great stuff in there. Check out the whole thing if you have time :)

  • Author

Hey there,

 

I dont have any design training as Im mainly a developer but I do certainly enjoy design. Im one of the 'edit until it feels right' types of designer just like you. There are some default typography styles that I use in my sass files but i usually end up changing them.

 

Have you seen this article, it might be up your street:

 

http://webdesign.tutsplus.com/articles/design-theory/typography-basics-for-developers/

 

The article is actually part of a huge 'design for developers' post - its got some great stuff in there. Check out the whole thing if you have time :)

 

Exactly the sort of thing I was looking for. Cheers

Yes "until it feels right" is quite a common approach - after all it's only when you have real content that you know what you're dealing with :)

It depends on the content. With web stuff it's tricky but broadly speaking, doing some calculations as to the best reading lines is always good. For example limiting your line length, respective line height dependent on the size of the font.

 

I primarily design web type in rems with a pixel fallback and any measurements in ems. It might be worth looking into vertical rhythms and baselines but personally, I shy away from baselines with web as it becomes a bit fiddily. Have a look at the golden ratio for font sizing et al until you find a method that suits. My changes every other month ;)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.