ご質問、『野球スコア表』

[統計] HTMLからXHTMLへの移行を進めていますか?



0   名前: 宇部孝史 : 2005/10/10 21:03
管理人さまへ

ご質問があります。
タグ表に作りたいと思いますから
野球スコア表とカラーで線の組み立てる方法に教えてください。


1   名前: 匿名希望 : 2005/10/10 21:03
こんばんは。

表の背景と枠線に、色を付けたいということですか?

http://www.tagindex.com/hp_guide/table/01.html
↑このへんのページが参考になるのではないかと。

2   名前: ナナ : 2005/10/10 21:03
宇部孝史さまへ

野球スコア表タグ
ご回答します。
背景色タグ、また表の色タグがあります。
難しい技術ですが・・・・

<HTML>
<HEAD>
</HEAD>
<BODY BGCOLOR=#00800>←緑色
<body bgcolor=white text=black>←文字・数字色(白色)
<table border=1>
<caption>野球の試合結果</caption>
<tr>
<th>チーム名</th><th>1</th><th>2</th><th>3</th><th>4</th><th>5</th>
<th>6</th><th>7</th><th>8</th><th>9</th><th>計</th>
</tr>
<tr>
<th>ライオンズ</th><td>0</td><td>0</td><td>1</td><td>0</td><td>1</td>
<td>0</td><td>0</td><td>0</td><td>0</td><td>2</td>
</tr>
<tr>
<th>マイナーズ</th><td>0</td><td>0</td><td>0</td><td>3</td><td>0</td>
<td>0</td><td>0</td><td>0</td><td>×</td><td>3</td>
</tr>
</table>
</body>
</html>

3   名前: ナナ : 2005/10/10 21:03
分かりやすい説明

少し訂正があった点
<BODY BGCOLOR=#00800>←緑色

間違いましたから消してください。

<body bgcolor=white text=black>←背景色に付け文字・数字色(白色)
body←四角形タグです。

background-color:○○で背景色、color:○○で文字色がそれぞれ変更できます。
例=<FONT style=background-color:yellow;color:red>文字</FONT><BR>←最後です。

もう1度、タグテストにやってみてください。宜しく御願いします。
万一、わからないところ、教えてください。

4   名前: ナナ : 2005/10/10 21:03
宇部さん
ご安心してください。

表の背景と枠線に、色を付ける事も一生懸命にタグ作業して大成功出来上げた。サンプルです。↓

<blockquote><table><td nowrap colspan=11 bgcolor=navy><font color=gold>延長15回・マリナーズ勝ち</font></td></tr>
<tr align=center bgcolor=#008000><td nowrap><font color=oldlace>チーム名</font></td> <td nowrap><font color=oldlace>1</font></td> <td nowrap><font color=oldlace>2</font></td> <td nowrap><font color=oldlace>3</font></td> <td nowrap><font color=oldlace>4</font></td> <td nowrap><font color=oldlace>5</font></td> <td nowrap><font color=oldlace>6</font></td> <td nowrap><font color=oldlace>7</font></td> <td nowrap><font color=oldlace>8</font></td> <td nowrap><font color=oldlace>9</font></td> <td nowrap><font color=oldlace>10</font></td> <td nowrap><font color=oldlace>11</font></td> <td nowrap><font color=oldlace>12</font></td> <td nowrap><font color=oldlace>13</font></td> <td nowrap><font color=oldlace>14</font></td> <td nowrap><font color=oldlace>15</font></td> <td nowrap><font color=oldlace>計</font></td> </tr> <tr align=center bgcolor=#000000><td nowrap><font color=lightgreen>マリナーズ</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=gold>1</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=gold>2</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=gold>4</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=gold>1</font></td> <td nowrap><font color=white>8</font></td> </tr> <tr align=center bgcolor=#000000><td nowrap><font color=lime>ヤンキース</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=gold>1</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=gold>3</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=gold>2</font></td> <td nowrap><font color=gold>1</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=gold>0</font></td> <td nowrap><font color=white>7</font></td></tr> <table>

そのままコピーしてください。
宜しく御願いします。

5   名前: 宇部孝史 : 2005/10/10 21:03
ナナさんへ

ありがとうございます。
電子表示板みたい。大変ですね。コピーに頂いて、テストに試して黄色の光にみました。(^^)

6   名前: ナナ : 2005/10/10 21:03
本物の電子表示とスコアボート(左・右、2チームの選手オーダー)タグ完成出来ました。
横の選手オーダータグ、縦でもオーダー選手タグ作業できる。

例えば、<br>改行に必要です。横縦数幅の編集自由できる</td><td style="width:100px;height:150px;">です。
(例)縦の場合     数字・文字色に加えたい場合<font color=orange>ヤンキース</font>必要です。
9山 本<br>
4川 田<br>    
6前 田<br>
3牟田口<br>
8源五原<br>

(例)横の場合
横73592<br>
 川山本方深<br>
  田   <br>
浜田口元永川<br>


電子スコアボートタグです。サンプル↓
<html>
<head>
<title></title>
</head>
<table border="0"body bgcolor="black">
<td style="width:100px;height:150px;"><font color=orange>ヤンキース</font><br><font color=orange>6ホワイト</font><br><font color=orange>9バンダーウォール</font><br><font color=orange>3ジオンビー</font><br><font color=orange>5ジーター</font><br><font color=orange>8ベンチュラ</font><br><font color=orange>4ソリアーノ</font><br><font color=orange>7松 井</font><br><font color=orange>2ポサーダ</font><br><font color=orange>Dクーマー</font><br><font color=orange>Pジョンソン</font><br> </td><td style="width:300px;height:150px;"><font color=white>      12345678910RHE  </font><br><font color=gold>ヤンキース000020000 25O </font><br><font color=gold>読売 巨人00000050X 5140</font><br>><font color=green>    電 子 表 示 板</font><br><MARQUEE width="350" height="120" style="font-size: 20px; color:gold"scrollamount="1" scrolldelay="100" direction="up"><FONT size="2">ようこそ.原新監督<BR>
世界一に目指す<BR>
</FONT></MARQUEE>
</td><td style="width:100px;height:150px;"><font color=orange>読売巨人</font><br><font color=orange>4仁 志</font><br><font color=orange>6二 岡</font><br><font color=orange>3清 原</font><br><font color=orange>5小久保</font><br><font color=orange>7高橋由</font><br><font color=orange>8キャプラー</font><br><font color=orange>9ローズ</font><br><font color=orange>2阿 部</font><br><font color=orange>Dクーマー</font><br><font color=orange>P辻 内</font><br></td>
</body>
</html>

野球サイト制作の皆様へ参考タグため、コピーしてください。
よろしくおねがいします。

7   名前: phpinfo() : 2005/10/10 21:03
・MARQUEE要素はWAIでダメだと言っているので使わないようにしましょう。
・属性の値は"で括りましょう。
・簡単な表はDL,DT.DD属性で代用できる事も覚えておきましょう。

#(外部)スタイルシートを使うと、見栄え要素が無くなってソースがきれいになります。

8   名前: ナナ : 2005/10/10 21:03
野球スコアボートに作り方のページが発見↓
http://www.intera.ne.jp/~friends/homepage/home4.html
色に付ける場合↓
横縦数幅の編集自由できる</td><td style="width:100px;height:150px;">です。
数字・文字色に加えたい場合<font color=orange>ヤンキース</font>必要です。
表内の中で、チームのキャラクターやロゴも小さな画像に加えたい場合<img src="〜jpg.gif" width="30" height="50">

9   名前: phpinfo() : 2005/10/10 21:03
・外部スタイルシートを(強く)オススメします。
・font要素は感心出来ません。後々面倒になります、
・img要素には「絶対」alt属性を付けましょう。(画像を表示しない時の代替テキストとなります。)

#「トンデモ」な「HP入門」はアテにしないように。
http://members.jcom.home.ne.jp/pctips/Tondemo/Dame.html

一覧へ戻る