怎样才能';t将jQuery iframe(div?)中的元素居中
我无法在此页面上将iframe内的元素居中放置: (单击打开iFrame模式) html: 你是说那幅画吗? ->添加文本对齐:居中;到正文和文本对齐:左;到图片后面的div(desc)怎样才能';t将jQuery iframe(div?)中的元素居中,jquery,iframe,Jquery,Iframe,我无法在此页面上将iframe内的元素居中放置: (单击打开iFrame模式) html: 你是说那幅画吗? ->添加文本对齐:居中;到正文和文本对齐:左;到图片后面的div(desc) <h2>Intrument's name</h2> <p>View full-size photo <a href="iframeModal.html?placeValuesBeforeTB_=savedValues&TB_iframe=true
<h2>Intrument's name</h2>
<p>View full-size photo <a href="iframeModal.html?placeValuesBeforeTB_=savedValues&TB_iframe=true&height=500&width=320&modal=true" title="add a caption to title attribute / or leave blank" class="thickbox">here</a>
#desc img, h3, p {
float: left;
display: block;
margin: 8px 0px;
}
#desc input {
float: right;
font-weight: 700;
background-image:url("../images/close.png");
background-repeat: no-repeat;
border-width: 0;
margin: 0 0 10px;
padding:0 12px 6px;
background-color: #FFF;
}
#desc input:hover {
background-image:url("../images/close_hover.png");
background-repeat: no-repeat;
}
#mainpic {
border: 5px solid #DDD;
}
#desc h3 {
line-height: 6px;
background: url("../images/goldenrose.gif") no-repeat left;
padding: 13px 42px;
}
#desc p {
color: #888;
}