知らないことを全部聞いちゃおう!

民事再生法の疑問質問

Webマニュアル

部分評価による動的 Web ページのキャッシュ機構
A Caching System for Dynamic Web Pages Using Partial Evaluation ... are deployed on web servers and execute queries to databases. ...
http://www.ipa.go.jp/SPC/report/01fy-pro/explorat/cashsys/cashsys.pdf

HTMLファイル内でCSSの呼び出しが出来ません!HTMLファイル内でCSSの呼び出しを行い、CSSファイルで作成した色付きボックスで2カラムのWebページを作成しようと思っているのですが、「body.css」内で指定しているbg.gifという背景ファイル等は表示されているにも関わらず、他CSSで色付きボックスを表示させることが出来ません。
原因がどうしても分からないので質問させていただきました。
分かる方はいらっしゃいますでしょうか?
■以下HTMLソース■<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="ja-JP"><head><meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" /><meta http-equiv="Content-Style-Type" content="text/css" /><title>「hogehoge」</title><!-- start css --><link rel="stylesheet" href="style/body.css" type="text/css" /><link rel="stylesheet" href="style/header.css" type="text/css" /><link rel="stylesheet" href="style/wrapper.css" type="text/css" /><link rel="stylesheet" href="style/navigation.css" type="text/css" /><link rel="stylesheet" href="style/main.css" type="text/css" /><link rel="stylesheet" href="style/footer.css" type="text/css" /></head><body><!-- footer --><div class="body"> <div class="header"> hgehoge </div> <div class="wapper"> hogehoge </div> <div class="navigation">hogehoge</div> <div class="main">hogehoge</div> <div class="footer">hogehoge</div></div></body></html>■以下CSSソース■body {width:800px;margin:0 auto;margin-top:20px;background-image:url(../image/bg.gif);}Bodyここまでheader {width:800px;height:150px;background-color:#333333;background-image:url(../image/header.jpg);}headerここまで文字数もキツイのでとりあえずCSSファイルの内容は2つですが、これらのボックスが反映されません。
CSSの記述間違い。
これでは要素に記述していることになります。
header {width:800px;・・・←<header>に対して記述#header {width:800px;・・・←<要素 id="header">に対して記述.header {width:800px;・・・←<要素 class="header">に対して記述

Yahoo! JAPAN

  • ウェブ全体を検索
  • このサイト内を検索