Reputation: 506
I am using an HTML symbol for my pagination but it ruins the alignment with other elements:
a{
float:left;
}
<div dir='rtl'>
<a href='#'>❬❬ text 1</a>
<a href='#'>❬ text 2</a>
<a href='#'> text 3</a>
</div>
Upvotes: 0
Views: 75
Reputation: 6130
Just add a line height to the a
element.
I added line-height:1
. Check the snippet
a{
float:left;
line-height:1
}
<div dir='rtl'>
<a href='#'>❬❬ text 1</a>
<a href='#'>❬ text 2</a>
<a href='#'> text 3</a>
</div>
Upvotes: 2