开发者

two div in a line one is having image

In this fiddle I would like the "Delete" and "Update" buttons to appear in th开发者_开发技巧e correct position instead of below the image.

Please suggest how it can be done.

Updated jsFiddle example


You should set the image and the buttons to float positioning mode!

For example, check this example out: http://www.jsfiddle.net/steweb/77bdN/

this is your example forked : http://jsfiddle.net/vVtBt/ (you have to set a width on the image)


You need to set fixed width for the floating elements, you also misplaced the clear CSS... clean and working version of your jsFiddle: http://jsfiddle.net/yahavbr/2kmJe/3/

The trick was setting width to both div elements with float.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜