Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Smaller space than  

Tags:

html

unicode

Are there characters that are "smaller" (e.g. half the size) than  ?

I am laying out my contact details on my website like so:

I'm trying to align my phone number with the email address above it:

Email:  email address here
Tel        telephone number here

If I was to add yet another non-breaking space the number would move too far right.

like image 941
user3069987 Avatar asked Dec 05 '13 11:12

user3069987


1 Answers

I agree with the other answerers, you are definitely using the wrong tool. If you are a beginner and CSS is over your head, use a table, it's really simple:

<table>
  <tr> <td>Email</td> <td>whatever</td> </tr>
  <tr> <td>Tel.</td>  <td>012345</td> </tr>
</table>

However for anybody who is really in need of unusual spaces, Wikipedia has an overwhelming selection. Notably there is thin space (&thinsp;, breaking) and Narrow No-Break Space (#x202F;, non-breaking).

like image 148
Torben Klein Avatar answered Oct 04 '22 20:10

Torben Klein