For example, on this page you see 3 images that are float:right inside the .container that has a red border:
http://cis.scc.losrios.edu/~cisw320b_stu022/sccwa-snapshot1/
The images start halfway down because that is where they were initially placed with respect to the content on the left.
How can I make them go all the way to the top without (with CSS preferably)?
EDIT 11/8/2011 4:06pm: Try resizing your browser to make it smaller and smaller and you’ll see that the images get placed inline. That is because as the size of the browser shrinks, the float:right property is removed so that the images go inline into the same spot as they are in the code. I can’t simply put the <aside> elements before all the <p> elements because then when you shrink your browser the images will no longer be in the correct positions.
EDIT 11/8/2011 4:11pm: So basically I want it so when the window is smaller, all the asides appear in their correct inline positions, but when the browser window is bigger, all the images should appear on the right side as if they were in a sidebar on the right.
Is this possible with CSS?
EDIT 11/8/2011 4:16pm: The website is supposed to shrink on purpose. Try resizing your browser so it is the width of an iPhone or an Android. The <aside> elements appear inline where they should. But when the browser is full size on a desktop, I want the <aside> elements to float on the right, starting from the top.
Is this possible with CSS, or do I have to use Javascript?
The answer is that what I want is not possible without Javascript.