• ベストアンサー

壁紙をはる

ビルダー6で(どこでも貼り付けモード)This is the code needed to set up your pages. Cut and paste this code. <html> <head> <title>Title of Your Page</title> </head> <body background="forginggreene.gif"> <br> <p><center><table width="90%" cellpadding=40 cellspacing=0 border=1 background="beigeh.gif"> <tr> <td width="100%"> <p><center><table width="100%" border=1 background="beigef.gif"> <tr> <td width="100%">Your Content Goes Here </td> </tr> </table> </center> </td> </tr> </table> </center> </body></html> 3枚の壁紙をダウンロードして上記をカットアンドペーストするようにと指示があります。何度挑戦してもうまく行きません。初心者につき説明も良く出来なくて大変申し訳ありません。どなたか教えてください

  • CSS
  • 回答数2
  • ありがとう数5

質問者が選んだベストアンサー

  • ベストアンサー
  • novaakira
  • ベストアンサー率36% (60/164)
回答No.2

そのままカットアンドペーストして、三枚の壁紙をDLして...... ちゃんと動きましたけど? 原因はTSkasiwaさんが書いてあるように 確認することは..... HTMLファイルとしてペーストしたスクリプトを保存したかどうかと、 DLしたGIF画像を同じディレクトリ内に保存したかどうかですね。 ためしに、新しいフォルダを作成して(exとでもしましょうか)、そのなかに スクリプトを a.html として保存する。 次に、DLしたGIF画像を ex フォルダの中に保存する。 あとは、 a.html を見てみる。 僕はこれで問題なく表示されましたが.... まぁ日時も経っていることですから解決したものとおもわれます。

その他の回答 (1)

  • TSkasiwa
  • ベストアンサー率41% (5/12)
回答No.1

たしかに、状況がわかりにくいので的を得た回答になるかどうかがあやしいのですが。 おそらく、カットアンドペーストを行い、3枚の壁紙をダウンロードしてもブラウザで確認することが出来ない、ということでしょうか? まず。 ・カットアンドペーストを行ったファイルをHTMLファイルとして保存しましたか? ・このHTMLファイルと壁紙のファイル(forginggreene.gif、beigeh.gif、beigef.gif)は同じフォルダ(ディレクトリ)内に存在しますか? ・壁紙の画像ファイルの名前を変更していませんか? 現状で思いつくのは、これぐらいですが。

関連するQ&A

  • スタイルシートについて

    <HTML> <HEAD> <TITLE></TITLE> </HEAD> <BODY> <TABLE border="1"> <TBODY> <TR> <TD><IMG src="i1.gif" width="64" height="64" border="0"></TD> <TD><IMG src="i2.gif" width="64" height="64" border="0"></TD> </TR> <TR> <TD><IMG src="m1.gif" width="32" height="32" border="0"></TD> <TD><IMG src="m2.gif" width="32" height="32" border="0"></TD> </TR> </TBODY> </TABLE> </BODY> </HTML> こういったTableを使った表がある場合、スタイルシートで示すことは出来ますか?もし出来るならそのソースを教えてください。 また、こういったTableのホームページを一括でスタイルシートに変換できるソフトが存在していたら教えてください。 それと、この行数がかなり大きくなると、Tableよりも軽く表示がされると聞いたのですが本当でしょうか? ご返答、何卒、よろしくお願い致します。

    • ベストアンサー
    • HTML
  • CSSを使った丸ナンバー付きテーブルの挿入

    HTMLで作成した丸ナンバー付きテーブルをスタイルシートを使って挿入しようと思っているのですが、肝心の数字の部分が真っ白になってしまいました。関係しそうなところだけ抜き出してみました。 (↓headの中に書いてある) body {background-color: white; background-image: url(dolp2.gif); color: #000000} table, td {width: 800px; border: 2px #C0C0C0 solid; border-collapse: collapse; background-color: #ffffff;} (↓body以下に書いてある) <div><Table border="0"><Tr><Td> <Table border="0" cellspacing="0" bgcolor="#009500" cellspacing="0" cellpadding="5" style="color:#ffffff;font-size:25px;font-weight:bold;width:40;filter:Alpha(opacity=100,finishopacity=0,style=2);"> <Tr><Td align="center" valign="middle"> 1 </Td></Tr></Table> </Td><Td width="350"> ===ここに文章を書いて下さい1=== </Td></Tr> <Tr><Td> <Table border="0" cellspacing="0" bgcolor="#009500" cellspacing="0" cellpadding="5" style="color:#ffffff;font-size:25px;font-weight:bold;width:40;filter:Alpha(opacity=100,finishopacity=0,style=2);"> <Tr><Td align="center" valign="middle"> 2 </Td></Tr></Table> </Td><Td width="350"> ===ここに文章を書いて下さい2=== </Td></Tr> <Tr><Td> <Table border="0" cellspacing="0" bgcolor="#009500" cellspacing="0" cellpadding="5" style="color:#ffffff;font-size:25px;font-weight:bold;width:40;filter:Alpha(opacity=100,finishopacity=0,style=2);"> <Tr><Td align="center" valign="middle"> 3 </Td></Tr></Table></div> </Td><Td width="350"> ===ここに文章を書いて下さい3=== </Td></Tr></Table> このようなタイプのものはheadやcssにあげたほうがいいのでしょうか? 最初はこのままbodyのなかに収めておこうかと思っていたのですが、上記のような事態になってしまったのでどうしたらいいのか困っています。 HTML初心者なので、なにとぞ宜しくお願いします。

    • ベストアンサー
    • HTML
  • tableの中のtableの表示と外側(大きい方)のtableに背景画像を表示させる方法

    非常にわかりにくいタイトルで申し訳ありません。tableの中にtableを入れて、外側(大きい方)のtableだけ背景画像を表示させたいのですがどのようにすればいいのでしょうか?下記ソースまでは作ったのですが、中(小さい方)のtableがなぜか右よりになってしまいます。小さいtableを真ん中にして、そのtableの周りを画像で囲みたいのですがどのようにすればいいのでしょうか?もちろん、下記ソースでなくても全然かまいません。htmlはまだまだ勉強中で詳しい方からすれば非常に見難いソースで申し訳ありませんが、ぜひお力添えいただけたらと思いますのでよろしくお願いします。 ↓ソース <html> <head> <body> <title>タイトル</title> <TABLE background="画像jpg"><TD width="10%" height="10%"><TR></TD><TD height="100%"></TD><TD width="100%" height="100%"><TD width="100%"><TD> <TABLE border width="600" height="100%" bgcolor="white">  <TR>   <TD> 文章 </TD>  </TR> </TABLE> </CENTER> </body> </html>

  • HP作製。titleが反映されない。

    titleを書いたのに反映されない。 8年前に知人がつくってくれたHPをほぼそのまま使っています。 最近,各ページにtitleがあった方がSEO上いい,という話しを聞きました。 そこで私もそうしたのですがうまくいきません。 うまくゆかないという意味は エクスプローラ(10)の「表示」→ソースではどのページも以下の(トップベージ)になってしまいます。 またグーグルで検索できません。(ただしこれはまだ1月前に修正したばかりのせいかも) 一方,「右クリック」→ソースの表示では,自分が開いたページ(該当ページ)が反映されます。 どこに問題があるのでしょうか。 (トップページ) <html> <head> <title>(略)</title> <meta name="author" content="(略)"> <meta name="description" content="(略)"> <meta name="keywords" content="(略)"> <meta http-equiv="content-type" content="text/html;charset=x-sjis"> </head> <frameset cols="150,*" border="0"> <frame name="left" src="left.html"> <frame name="top" src="top.html"> </frameset> </html> (該当ページ) <html> <head> <link rel="stylesheet" type="text/css" href="style.css"> <title>(略。ただしトップページとは違うタイトル</title> <meta name="description" content="(略)"> </head> <body> <div class="medatu">Book</div> <br> <center> <table align="center" cellpadding="0" cellspacing="0"> <tbody> <tr> <td><img src="image/tb01.gif" width="25" height="25" border="0"></td> <td background="image/tb02.gif"></TD> <td><img src="image/tb03.gif" width="25" height="25" border="0"></td> </tr> <tr> <td background="image/tb08.gif"></td> <td bgcolor="#ffffff"> <pre> (略) </pre> </td> <td background="image/tb04.gif"></td> </tr> <tr> <td><IMG src="image/tb07.gif" width="25" height="25" border="0"></td> <td background="image/tb06.gif"></td> <td><IMG src="image/tb05.gif" width="25" height="25" border="0"></td> </tr> </tbody> </table> </center

  • テーブルを作ったんですが…

    はじめまして 画像テーブルを作ったのですが、スクロールバーがでません。 タグを載せておきますので暇でしたら解答してください。 <style TYPE="text/css"> <!--.auto {border:solid;height:450pt;width:500pt;overflow:auto;}--> </style> <TABLE align="left" width="500" cellpadding="0" cellspacing="0" border="0"> <TBODY> <TR> <TD width="420" height="27"><IMG src="01.gif" width="42" height="27" border="0"></TD> <TD background="02.gif"></TD> <TD width="0" height="0"><IMG src="03.gif" width="40" height="27" border="0"></TD> </TR> <TR align="left"> <TD background="04.gif"></TD> <TD width="100%" height="350" bgcolor="white"><pre>テスト<BR> </TD> <TD background="06.gif"></TD> </TR> <TR> <TD width="416" height="25"><IMG src="07.gif" width="42" height="46" border="0"></TD> <TD background="08.gif"></TD> <TD width="0" height="0"><IMG src="09.gif" width="40" height="46" border="0"></TD> </TR> </TBODY> </TABLE>

  • 画面表示が100%になりません。

    <table>でいろいろやっている内に、画面表示が100%にならず、周囲1%程度の余白ができてしまいました。 外部CSSを併用したためか、と思いはずしてみても変わりません。(cssでもそのような記述はしていません。)どこを修正すればよいのでしょうか? どなたかご指導お願い致します。 <html> <head> <title>***</title> <link href="css/css" rel="stylesheet" type="text/css"> </head> <body > <TABLE border="0" width="100%" height="100% " bgcolor="#000000"> <TBODY> <tr> <td align="center"> <TABLE border=2 width="480" height="480" bgcolor="#222222" bordercolor="#000000" > <TBODY> <tr> <td align="center"> 省略 </td> </tr> </TBODY> </TABLE> <p align="center"></P> </td> </tr> </TBODY> </TABLE> </body> </html>

    • ベストアンサー
    • HTML
  • CSSのtableについて【CSSが無かったのでHTMLで…。】

    <html> <head> <title>test</title> <style type="text/css"> <!-- table { border : 1px #000000 solid; text-align : center; } td,th { border : 1px #000000 solid; width : 100px; } --> </style> </head> <body> <table> <tr> <td rowspan="2"> 1 </td> <td> 3 </td> </tr> <tr> <td> 2 </td> </tr> <tr> <td colspan="2"> 3 </td> </tr> </table> </body> </html> このように入力をした場合、一番下にできるテーブル(3)2つ結合しているにもかかわらず、1つ分?の状態で文字がcenterになってしまいます。結合した(2つの)真ん中に表示させるにはどうしたらいいですか?? 教えてください☆

    • ベストアンサー
    • HTML
  • テーブルの中央配置

    内容を中央揃えにしたく、以下のようにCSSで記述してみたのですが、テーブルが揃いません。どうすればよいのでしょうか? <head> <style type="text/css" media="screen"><!-- body { background-color: #cecece; text-align: center; } --></style> </head> <html> <body> aaa <table width="64" border="1" cellspacing="2" cellpadding="0"> <tr> <td>bbb</td> </tr> </table> </body> </html>

    • ベストアンサー
    • HTML
  • HTMLの表で幅を指定しても折り返すことは無理なのでしょうか?

    以下のHTMLの表は横幅を指定していますが、 すごく横長な表になってしまいます。セルの幅を指定してもセル内の文字を折り返す事は不可能なのでしょうか? <html> <head> <title>table</title> </head> <body> <table width="570" border="1"> <tr><td width="130"> test1</td> <td bgcolor="#CCCCCC" width="440"> oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo </td></tr></table> </body> </html>

    • ベストアンサー
    • HTML
  • 上手く表示されない。

    http://www.netmania.jp/  ネットマニアのPHPの説明を参考にPHPを作っているのですが、このページのテンプレート112を改造してつくったのですが、上手く動きません。アドバイスください。 ↓タグ <html><head> <title>タイトル</title> <META http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> <META NAME="keywords" content="***"> <meta name="description" content="***"> <LINK rel="stylesheet" href="style_main.css" type="text/css"> </head> <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <?php require("joubu.txt"); ?> <table width="800" border="0" cellspacing="0" cellpadding="0" align="center" style="border-color:#cccccc; border-width:1px; border-style:solid;" height="345"> <tr valign="top"> <td width="160" style="BORDER-RIGHT: #CCCCCC 1px solid" bgcolor="#F0F0F0"> <?php require("menu.txt"); ?> </td> <td colspan="2"> <?php require("main.txt"); ?> </td> </tr> </table> <table width="800" border="0" cellspacing="0" cellpadding="0" align="center" style="BORDER-LEFT: #CCCCCC 1px solid; BORDER-RIGHT: #CCCCCC 1px solid "><tr> <td width="3"><IMG src="002.gif" width="3" height="22"></td> <TD width="797" background="002.gif" align="center"> <?php require("under.txt"); ?> </TD></tr></table> <?php require("copyright.txt"); ?> </body></html>

    • ベストアンサー
    • PHP

専門家に質問してみよう