私は、Java要素が実行されている魔女に絶対的に配置された「コンテナ」を持っています。背景画像はページに反応して機能していますが、「コンテナ」は拡大縮小されていません。それらが「上」に配置されている画像に合わせて拡大縮小する方法はありますか?これが私が使っているコードの一部です。
CSS
#forest2 {
width: 960px;
max-width: 100%;
margin-left: auto;
margin-right: auto;
margin-top: 20px;
}
PHP
<div class="forest2" style = "position: relative" >
<img src = "http://xxx/wordpress/wp-content/uploads/2013/01/xxx.png">
<div style = "position: absolute; top: 315px; left: 24px;" class="slideshow0" >
<a href="http://xxx/wordpress/catch-test/"><img src="http://xxx/wordpress/wp-content/themes/responsive-child/images/1.jpg"/></a>
<a href="http://xxx/wordpress/catch-test/"><img src="http://xxx/wordpress/wp-content/themes/responsive-child/images/2.jpg"/></a>
<a href="http://xxx/wordpress/catch-test/"><img src="http://xxx/wordpress/wp-content/themes/responsive-child/images/3.jpg"/></a>
<a href="http://xxx/wordpress/catch-test/"><img src="http://xxx/wordpress/wp-content/themes/responsive-child/images/4.jpg"/></a>
<a href="http://xxx/wordpress/catch-test/"><img src="http://xxx/wordpress/wp-content/themes/responsive-child/images/5.jpg"/></a>
</div>
スクリプトステートメント..必要に応じて、おそらくそうではない
<script type="text/javascript">
$(document).ready(function() {
$('.slideshow0').cycle({
fx: 'fade',
random: true,
timeout: 6000,
speed: 3000,
delay: 100,
});