![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, can I change the order in which the divs are presented using CSS? For example, lets say I have this page div class="A"> Div A </div div class="B"> Div B </div and I want it to be presented in the webpage like this: Div B Div A I know you can do that with complex schemes like relative positioning and negative top, but there's any simple and straightforward way to do that? Regards, André |
#3
| |||
| |||
|
|
Hello, can I change the order in which the divs are presented using CSS? For example, lets say I have this page div class="A"> Div A </div div class="B"> Div B </div and I want it to be presented in the webpage like this: Div B Div A I know you can do that with complex schemes like relative positioning and negative top, but there's any simple and straightforward way to do that? |
#4
| |||
| |||
|
|
No. The only real way to do it is with positioning (you could also use absolute positioning), but for anything but a very simple page that will be very difficult to manage. More feasible would be to pull the DOM tree apart with scripting and put it back together again in a different order. |
![]() |
| Thread Tools | |
| Display Modes | |
| |