Change div order in CSS or javascript

Posted by Sam Holder on Stack Overflow See other posts from Stack Overflow or by Sam Holder
Published on 2011-01-15T12:33:54Z Indexed on 2011/01/15 12:53 UTC
Read the original article Hit count: 150

Filed under:
|
|

say I have layout like so:

<div id="main">            
    <div id="NormalContent">
        {some content which is a fixed length list}
    </div>
    <div id="FeaturedContent">
        {some content which may contain a long list}
    </div>
</div>

and I want to place FeaturedContent above NormalContent.

Can I do this with CSS? I assume I can with Javascript?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html