精華區beta PhotoLink 關於我們 聯絡資訊
嗯...好多人在問喔 來偷偷解釋一下.雖然我也不是很瞭 但是知道多少講多少好了^^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CSS = Cascading Style Sheet 把 <style> 到 </style> 中間的東西寫到 .css 就好 版面、位置、顏色、字型這種東西跟 style 有關,才是用 CSS 去描述, 所以可以寫在 .css 裡面 嗯上面那段話是可憐的sunpoet被我糾纏之後教我的 那前面有人說用frontpage寫之後再改檔名... 那個我不會ㄟ...我是懶惰蟲是下載別人的檔案再來改的! 那下面的內容是我目前使用的css檔裡的東西 1底圖 body{ background-image : url('背景網址');background-repeat : repeat; background-attachment : fixed; 2..應該叫捲軸吧 scrollbar-face-color: 色碼; scrollbar-highlight-color: 色碼; scrollbar-shadow-color:色碼; scrollbar-3dlight-color:色碼; scrollbar-arrow-color:色碼; scrollbar-track-color:色碼; scrollbar-darkshadow-color:色碼 } 3字體字型&顏色 td { font-size:字體大小; font-family:字型;font-weight: bold;color:色碼} a:link { text-decoration:none;color:色碼;font-size:字體大小;font-family:字型;font-weight:bold} a:visited { text-decoration:none;color:色碼;font-size:字體大小;font-family:字型;font-weight:bold} a:active { text-decoration:none;color:色碼;font-size:字體大小;font-family:字型;font-weight:bold} a:hover { text-decoration:none;color:色碼;font-size:字體大小;font-family:字型; font-weight:bold} 4消除框架 td{background-color:transparent} v\:oval{display:none} v\:shape{display:none} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 那上面的東西除了4之外..其他1.2.3在留言簿一樣可以用 就這樣...yeah...打完了 -- http://photo.taipeilink.net/angelchiang1234 搞怪女生的世界 -- ※ 發信站: 批踢踢實業坊(ptt.csie.ntu.edu.tw) ◆ From: 218.160.30.64
airzoom:真用心~~!! 推 218.160.25.165 06/17
wintty:給個M吧 這麼辛苦打這麼多字 推 203.73.113.20 06/17
goodkid:收精華區啦! 推 61.224.3.105 06/17
MentorX:讚喔... 推 211.74.74.225 06/17
cloudbaby:AngelChiang是宇宙無敵大好人 推 218.162.1.215 06/17
sunpoet:哈哈,還有把我名字寫上去 :P 推 140.113.73.64 06/17
> -------------------------------------------------------------------------- < 作者: sunpoet (波光灩瀲葉影婆娑) 看板: PhotoLink 標題: [閒聊] CSS 語法教學 #0 ─ CSS 簡介 時間: Thu Jul 3 00:56:25 2003 [前言] CSS 是 Cascading Style Sheets 的縮寫 顧名思義是講有關樣式 (style) 的設定 相關的標準是由 W3C 這個國際組織制定 (http://www.w3.org/Style/CSS/) 在 HTML 文件原始檔中看到的 <style> 到 </style> 這些就是 CSS 的設定。 當然,為了讓 CSS 設定可以重複利用或將設計與內容分離等種種目的 我們會用一個獨立的檔案來放這些樣式的設定,這就是所謂的 CSS 檔。 那麼要如何使用這個 CSS 檔呢? 假設該 CSS 檔的網址 (URL) 是 http://nccu.net/style.css 有兩種做法︰ 一是用 link 這個標籤 <link href="http://sunpoet.net/style.css" rel="stylesheet" type="text/css"> 二是用 style 這個標籤 <style type="text/css"> @import url(http://sunpoet.net/style.css); </style> 本文只是非常簡單的介紹與基本觀念的澄清 後面會根據大家想要的一些功能提出解法。 -- 如同一種自言自語的場景,一個空白舞台,荒涼的燈光映著搖晃的亮度, 點點暈黃將黑暗的空間切分成凌亂不均的模糊,明滅之間如此曖昧不明。 -- sunpoet -- ※ 發信站: 批踢踢實業坊(ptt.csie.ntu.edu.tw) ◆ From: ptt.csie.ntu.edu.tw