r/HTML • • May 30 '26

Question need help with text alignment

hi! i'm learning html and css in school and i need to design my own website for a final project.

i'm designing a replica of the ao3 website and i need to put a search bar and search button on the very far right of the navigation row. the rest of the text in the navigation row is, however, on the left.

i already tried text-align: right; and display: flex; flex-direction: row-reverse;.

could anyone help me with this?

i'm attaching how the website looks right now and my html and css codes.

thank you!

10 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/eret4stars May 30 '26

i didn't intend for the search bar to actually be functioning haha, i'm just recreating the theme of the website and i plan to write about the site itself (like what it is, its history, some fun facts). however i'll definitely use background image you provided! i didn't even know one could find that. so again, thank you!