クラス名が「adsense」の要素を、クラス名が「publish-info」の要素の高さの半分以上に配置しようとしていますが、うまくいきません。テンプレートの html ソースを編集することはできません。私はこのコードを試しました:
.publish-info {
height: 150px!important;
position: relative!important;
}
.adsense {
top: 50px!important;
position: absolute!important;
}
...そしてJavaScript:
<script type='text/javascript'>
//<![CDATA[
window.onload = function () {
$('.publish-info').append($('.adsense'));
} //]]>
</script>
しかし、これはうまくいきません。ここに私のサイトがあります: http://www.musicep.com/2013/07/bt-aqualung-surrounded.html