ここにHTMLとCSSコードがあります: 申し訳ありませんが、私はいつもそれらの写真をテキストに重なり合わせるようにしています。私が望むのは、それらの写真を固定してブラウザのサイズを変更するときです。テキストが重なり合わず、写真はちょうど固定位置に移動します。醜い見た目のテキストが重なっているように見えます。クロムのウィンドウのサイズを変更するたびに、画像が重なり合ってテキストが重なって表示される
#wrapper{
\t text-align:center;
}
body{
\t margin-left:auto;
margin-right:auto;
width:1200px;
\t background-image:url("http://img15.deviantart.net/cbb9/i/2005/258/c/4/paper_texture_v5_by_bashcorpo.jpg");
\t background-repeat:repeat-y;
\t background-size: auto;
\t margin-bottom:100px;
\t background-attachment:fixed;
\t font-family:traveling _typewriter;
\t }
#wipe{
\t margin-left:auto;
margin-right:auto;
\t font-weight:800;
\t border:4px double;
\t width:900px;
\t
}
*{
\t
\t text-decoration:none;
\t color:black;
}
img.img1{
\t z-index:-1;
\t width:300px;
\t height:300px;
\t margin-left:20px;
\t margin-top:25px;
\t position:absolute;
\t left:0px;
\t top: 0px;
}
img.img2{
\t z-index:-1;
\t width:300px;
\t height:300px;
\t position:absolute;
\t right:0px;
\t top:0px;
\t margin-top:25px;
\t margin-right:20px;
}
<!DOCTYPE html>
\t <html>
\t \t <head>
\t \t \t <title>The 16th</title>
\t \t \t <link rel="stylesheet" type="text/css" href="../CSS/copy.css">
\t \t </head>
\t \t <body>
\t \t <div id="wrapper">
\t \t \t <h1>Welcome to the 16th Infrantry Regiment!</h1>
\t \t </div>
\t \t
\t \t <img src="http://webspace.webring.com/people/fc/czechandslovakthings/images/medals/meduk01ca.jpg" class="img1" />
\t \t <img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxISEhUQEhIWEhUXEBUQEhUXFRUVFhUXFRYWFxgWGBYYISsgHRolGxoVITEhJSorLi4uFx81ODMtNygtLisBCgoKDg0OGxAQGS8lICUwNy0xLSsrLS0tLS0tNy0tLS0tLS0tLS0rLS0tLS0rLS0tLS0tKy0tLS0tLS0tLS0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Dmr/oqQbQ0gzBY4gjIgjNPzqb4f3M+tPZa+xd0IQqi4EIQgChX8P1ETm9AlQskOZcWNJJmSRMk7zNNb+1iJzegUAJlLhCrfLBollTuohAQpYONhJRbxsYisLNsuqdx+ylBC41lYCW1yc+fDAMgADuNBSmQpvTJ13gOEsxLrVGzYAaL3pJZ8ETFseJiWx2RHqp2E4hLaG04yCyv4nuc/Y1v5E5VL2bLkuzA4xXHF8vecz35J0F5hww0Abl6ktPThTKRl6l76yYQFlYUyAFNtFWytDQKDC6nglQTbRbWByu8lG/Fkp8kXZCEJYaBCFgoAod/axE5vQKAp9/axF5vQKAmp6QpXbBCysBdOAhCEAQL7sfSwiNoONveF6skKZxmsgPrIKdNa4MINGEZTPHOqrenmtxYrajae5IKyFgqwrBAQshAHlN9F9YHK7ySkptovrA5XeSjXizseSLshCEsNn/2Q==" class="img2"/>
\t \t
\t \t \t <table id="wipe">
\t \t \t <td><a href="">Home<a/></td>
\t \t \t <td><a href="">About Us</td>
\t \t \t <td><a href="">Calendar</td>
\t \t \t <td><a href="">Supply</td>
\t \t \t <td><a href="">Enlist</td>
\t \t \t <td><a href="">Forums</td>
\t \t \t <td><a href="">PERSCOM</td>
\t \t \t <td><a href="">Donate</td>
\t \t \t </table>
\t \t \t <div></div>
\t \t </body>
\t </html>
CSSを表示できますか? – Topr
画面の解像度を変えてメディアクエリを使用します。 –
はい今更新中 – Scotty