I have a list of images, use the jquery cycle plugin to view these images. To the right of this image, a text is displayed..
The problem is that images have different widths, and would like the text was well matched to this image, always leaving a space just 6px away from the image. Look at the page. http://www.amsdarquitetura.com.br/Project/Details?开发者_运维百科ProjectID=102
I would set the width of the text div to the maximum allowed (i.e., the biggest it could be when placed beside the largest picture) and then float:left so that the text butts up against the pics. You could set the margin-left to 6px or something similar. You may need to float:left the pics as well.
加载中,请稍侯......
精彩评论