jQuery API jQuery API 中英文对照版
center()

center()

Takes all matched elements and centers them, absolutely, within the context of their parent element. Great for doing slideshows.

返回值

jQuery

示例

jQuery 代码:
$("div img").center();
相关链接
asp之家 | jQuery官方网站 | jQuery中文网 | 电子书作者网站 | 电子书作者blog