I am creating a JSP page, I g开发者_运维知识库et data from database this data is divided into groups and has to be displayed in division tags according to its group. My question is how to display divs in sequantial order from right to left, up to bottom with same style dynamically? so I don't hava to specify the position of each div manualy
If the div elements you're using have a fixed width and height, you can simply make them all float: right
and they will naturally layout right to left and top to bottom.
精彩评论