Jump to content

change an element order in the document ?


Hema

Recommended Posts

how to make an element in a container, comes after another different container, without using units to not make it fixed?

for example:

- if i have an element inside the <header> element, and i want it to appear after all of the elements in the document?

Link to comment
Share on other sites

i need to do that for screen reader, because it reads the elements in the order, so i want the element to be put in the bottom while it's a child to the header

if i do that using a fixed unit it will not be the last if another element added to the middle of the body 

Link to comment
Share on other sites

yeah that's right but, if that webpage is an interactive one and other contents are added to it, here the <main> element has to not take the full hight px

you know i have been testing screen reader on mobile & pc and found out that using ( details ) element for containing elements and navigating using 

screen reader is the best way so i may go with, that thank you so much🥰

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...