CSS: reordering positions without pixel values

J

Jon Berg

Is it possible to reorder the flow of the elements without using exact
pixel values in CSS? For example to say that this element is "under" or
"after" that element.

I think I can better explain with an example:
the following html:
<div id="one">text one<br></div>
<div id="two">text two<br></div>


And to have it printed out:
text two
text one
 
L

Leif K-Brooks

Jon said:
Is it possible to reorder the flow of the elements without using exact
pixel values in CSS? For example to say that this element is "under" or
"after" that element.

I think I can better explain with an example:
the following html:
<div id="one">text one<br></div>
<div id="two">text two<br></div>


And to have it printed out:
text two
text one

Not currently. The CSS3 proposal provides support [1] for this kind of
thing, but AFAICT, no current browsers actually implement it.

[1] http://www.w3.org/TR/2003/WD-css3-content-20030514/#move-to
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top