Prevent line breaks in links


/ Published in: CSS
Save to your folder(s)

This little trick will prevent line breaks on your links. I recommend using this with long text to avoid having links break into 2 lines.


Copy this code and paste it in your HTML
  1. a { white-space: nowrap; }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.