I have a script for uploading files that displays all previously uploaded images in divs with the class "download".
When I use a jQuery script to add more pictures, it puts them in divs with the class "upload".
I want these new uploads to be displayed above the divs with the class "download".
However, the code automatically places them below.
I know there should be a way to achieve this using CSS, but I'm having trouble making it work.
<div id="files" class="files">
<div id="download" class="download"></div>
<div id="download" class="download"></div>
<div id="download" class="download"></div>
<div id="download" class="download"></div>
<div id="download" class="download"></div>
<div id="upload" class="upload"></div>
<div id="upload" class="upload"></div>
<div id="upload" class="upload"></div>
</div>