Archive for the ‘CSS’ Category
手快殘廢了
專題研究輪站課程結束了,下學期組別也都選好了,我選了資訊。除了地科只有 9 個人以外,其他人數都很平均。下星期就要考專題研究的期末考了,得好好準備一下。若不及格會被踢出數理班。不過這次考試應該不會太難,資訊、數學都有發題庫練習。考完專研又有期末考,打算用連假把書念一念。
今天晚上花了一堆時間修圖書館的網頁,因為實在太慢了。原始碼根本不堪入目,圖檔也沒壓好。一堆標籤亂用(特別是 <font>),CSS 幾乎沒有用到,很可惜。經過一番整頓候,網頁小很多,而且還變成合格的 HTML 4.01 Transitional。還有很多地方可以用 CSS 取代,但懶得弄了。現在打 code 打到手快殘廢了,累死人了。
用 Apache 的 mod_deflate(或 mod_gzip) 壓縮檔案會使網頁的大小縮很多,有時候甚至可以少掉 50%,但似乎很少人在用。這次網頁的大小就從 33 KB 壓到 6 KB。還有 PNG 圖檔通常比 GIF 小,所以很多網頁已經開始轉向使用 PNG 了。而且 GIF 其實有版權,所以市面上可以製作 GIF 檔的軟體都含有用費用,不過一般人不會注意。
最近終於將討論區弄好,但怎麼都沒人去啊?我弄得很辛苦!!!
A new site or another failure?
After I found some excellent templates on Thursday, I decided to start making my own website. I used to spend all my time on the class web, so I couldn’t make one for myself. I hope I can complete my site since I gave up on my previous try.
Great templates
While I was surfing the Net, I came to http://andreasviklund.com/, and I saw some awesome and free templates. They are great for beginners because the templates are all valid XHTML and CSS, and they are completely free. WordPress themes are also available.
A new beginning
I’ve been waiting ages for the winter break so I can start on a new website. I tried converting the class web to XHTML 1.0 Strict to improve my skills with XHTML, but I had difficulties, so I didn’t manage to convert them all. After learning a lot about XHTML and CSS in the past few months, I decided it is time to move on and start making a new website.