开发者

how can I create div at run time with specified css

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜