right / left aligned buttons using <nav> HTML in a form #649
mostafatouny
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I used
<nav>
to align buttons to the rightbutton
andsubmit
types are inconsistent in terms of styling. a workaround is to use<button type="button" onclick="this.form.submit()">Submit</button>
.Similarly, We can have left aligned buttons also, or both. It's a great trick to be added in the documentation, and deserves more native support.
Beta Was this translation helpful? Give feedback.
All reactions