這裏顯示兩個版本的差異處。
| 下次修改 | 前次修改 | ||
|
webdesign:head_rush_html_13 [2007/08/08 15:11] wenpei 建立 |
webdesign:head_rush_html_13 [2007/08/08 15:55] (目前版本) wenpei |
||
|---|---|---|---|
| 行 16: | 行 16: | ||
| </tr> | </tr> | ||
| </table> | </table> | ||
| + | </code> | ||
| + | |||
| + | 一個格子占兩列:<td rowspan="2"> ... </td> | ||
| + | 一個格子占兩行:<td colspan="2"> ... </td> | ||
| + | |||
| + | ==== CSS 指定巢狀位置 ==== | ||
| + | <code> | ||
| + | table table th { | ||
| + | background-color: white; | ||
| + | } | ||
| + | </code> | ||
| + | |||
| + | ==== CSS 屬性選擇符 ==== | ||
| + | 挑選 XHTML 中附有 width 屬性的所有 img。alt 中有 flowers 關鍵字的。 | ||
| + | <code> | ||
| + | img[width] { border: balck; } | ||
| + | img[alt~="flowers"] { border: thin; } | ||
| + | </code> | ||
| + | |||
| + | ==== list ==== | ||
| + | <code> | ||
| + | list-style-type: square; | ||
| + | list-style-image: url(images/list.gif); | ||
| + | </code> | ||
| + | |||
| + | ===== Chapter Forteen ===== | ||
| + | ==== form ==== | ||
| + | <code> | ||
| + | <form action="contest.php" method="POST"> | ||
| + | <input type="text" name="firstname" value="" /> | ||
| + | <textarea name="comments" rows="10" cols="40">Default Value</textarea> | ||
| + | <input type="submit" /> | ||
| + | </form> | ||
| </code> | </code> | ||