OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Button label which has ← at the left

  • Thread starter Thread starter whitebear
  • Start date Start date
W

whitebear

Guest
I want to make the button label such as

Code:
<button style="width:80px">←  back  <button>

then I want to put the at the left and set back in the middile of button.

such as

Code:
 ____________
|←   back    |

I think I should use Flex ,but a little bit confused, because

should be at the left

back should be in the middle of button itselt not a remaining space

How can I make this?
<p>I want to make the button label such as</p>
<pre><code><button style="width:80px">← back <button>
</code></pre>
<p>then I want to put the <code>←</code> at the left and set <code>back</code> in the middile of button.</p>
<p>such as</p>
<pre><code> ____________
|← back |
</code></pre>
<p>I think I should use Flex ,but a little bit confused, because</p>
<p><code>←</code> should be at the left</p>
<p><code>back</code> should be in the <code>middle of button</code> itselt not a <code>remaining space</code></p>
<p>How can I make this?</p>
Continue reading...
 
Top