Automatically control div order, regardless of where its in the code
Posted on 2004-10-14
I have 3 divs that I need to show up in a certain order, regardless of how they are ordered in the code. For instance,
needs to be displayed in the browser as
I know that I can use CSS to absolutely position the divs to change the order of the divs, but the content in the div's may be a different size so Im not sure it will work. My question is:
How can I use CSS to control to ensure that the output reads as Text 1,Text 2,Text 3....regardless of how the HTML div's are ordered?