ホームページビルダーでの経験しかない初心者です。CSSに挑戦していますが不明な点ばかりです。
無料テンプレートを加工していますが下記の内容を教えて頂けませんか。
topとtop2の左側(上下位置は中間)に私が追加したtop3の画像を
表示させたいのですがうまくできません。宜しくお願いいたします。
CSS
#bodyid{
background:#eafefe url('img/bg.png');
padding:0;
margin:0;
text-align:center;
}
#bg{
width:706px;
background:#fff;
margin:0 auo;
}
#top{
width:400px;
height:80px;
background:url('img/title1.gif') no-repeat center top;
text-align:left;
}
#top2{
width:400px;
height:60px;
background:url('img/title2.gif') no-repeat center top;
text-align:left;
}
#top3{
position:absolute;
left 120px;
top 30px;
width:100px;
height:80px;
background:url('img/image555.gif') no-repeat center top;
}
html
<body id="bodyid">
<DIV id="bg">
<div id="top"></div>
<div id="top3"></div>
<div id="top2"></div>
お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!
関連するカテゴリからQ&Aを探す
おすすめ情報
- ・漫画をレンタルでお得に読める!
- ・人生のプチ美学を教えてください!!
- ・10秒目をつむったら…
- ・あなたの習慣について教えてください!!
- ・牛、豚、鶏、どれか一つ食べられなくなるとしたら?
- ・【大喜利】【投稿~9/18】 おとぎ話『桃太郎』の知られざるエピソード
- ・街中で見かけて「グッときた人」の思い出
- ・「一気に最後まで読んだ」本、教えて下さい!
- ・幼稚園時代「何組」でしたか?
- ・激凹みから立ち直る方法
- ・1つだけ過去を変えられるとしたら?
- ・【あるあるbot連動企画】あるあるbotに投稿したけど採用されなかったあるある募集
- ・【あるあるbot連動企画】フォロワー20万人のアカウントであなたのあるあるを披露してみませんか?
- ・映画のエンドロール観る派?観ない派?
- ・海外旅行から帰ってきたら、まず何を食べる?
- ・誕生日にもらった意外なもの
- ・天使と悪魔選手権
- ・ちょっと先の未来クイズ第2問
- ・【大喜利】【投稿~9/7】 ロボットの住む世界で流行ってる罰ゲームとは?
- ・推しミネラルウォーターはありますか?
- ・都道府県穴埋めゲーム
- ・この人頭いいなと思ったエピソード
- ・準・究極の選択
デイリーランキングこのカテゴリの人気デイリーQ&Aランキング
-
ウインドウを小さくするとbody...
-
htmlの文字が縦書きになる
-
スクロールボックスを中央に配...
-
画像イメージの上下左右、欲し...
-
CSSで画像を同じ位置に重なり合...
-
tableタグで作るような表をCSS...
-
font-sizeが効かない
-
<div>と<div>の間の10px程の...
-
インラインスタイルシートで見...
-
Internet Explorer 6による不具合
-
W3Cのソースコードの検証サービ...
-
【HTML&CSS】フッター下部の余...
-
widthやheightの数値に単位(px...
-
ディスプレイのサイズに合わせ...
-
どう変更してもIE6だけCS...
-
CSSがなぜかfont-sizeだけ効か...
-
<hr>要素を点線で表示した場合...
-
CSSを使ってスクロールバーつき...
-
IE6にてliタグに対してposition...
-
cssで投稿した画像を中央に表示...
マンスリーランキングこのカテゴリの人気マンスリーQ&Aランキング
-
htmlの文字が縦書きになる
-
widthやheightの数値に単位(px...
-
css初心者 フレックスボックス...
-
CSSがなぜかfont-sizeだけ効か...
-
【CSS】ヘッダーの高さが不明の...
-
画像イメージの上下左右、欲し...
-
CSS、width100%でもできる余白
-
スクロールボックスを中央に配...
-
<div>と<div>の間の10px程の...
-
CSSで背景画像を一番下にもって...
-
余分な縦スクロールバーが出て...
-
CSS:animation開始位置の設定
-
form input テキストを上下中央...
-
Media Queries 4 で 非推奨とな...
-
CSSでボックスのheightが0になる
-
W3Cのソースコードの検証サービ...
-
表示倍率を変えるとレイアウト...
-
定義リストに下線をつけたいと...
-
背景が下まで表示されないんです。
-
footer を横幅いっぱいに広げる...
おすすめ情報