Quantcast
Channel: JinJin 的視覺設計專區 - 網頁設計與語法(HTML/CSS)
Viewing all 161 articles
Browse latest View live

[講義] HTML & CSS網頁基礎複習整理

$
0
0

1. 相關網站


1.網頁設計與語法(HTML/CSS)http://mepopedia.com/?page=804
2.手機版網頁設計(CSS/Javascript)http://mepopedia.com/?page=983
3.w3schools http://www.w3schools.com/
4.好用的線上語法撰寫網頁:http://codepen.io/pen
5.圖片網址:http://lorempixel.com/
6.CSS3 Maker http://www.css3maker.com/
7.跨瀏覽器相容性網頁設計 http://mepopedia.com/?page=844



2. 相關講義


1.CSS] BOX Model (盒子模型)
2.101-1《中國》竹視傳一C-網頁設計
3.[講義01] 以 HTML 與 CSS 完成第一個網頁
4.[講義02] 利用Div標籤與CSS建立基本單欄網頁版型--以單純色塊為例
5.[講義03] 利用Div標籤與CSS建立基本單欄網頁版型
6.[CSS] Step-by-Step: 以清單(UL+LI)實作導覽列 (兼容IE6)



3. 其他推薦教學網站


推薦CSS網站
CSS-TRICKS http://css-tricks.com/
HTML & CSS基礎教學影音(必看,雖然是英文,但若耐著性看完會有非常多的收穫喔!)
http://css-tricks.com/video-screencasts/58-html-css-the-very-basics/



HTML
1.HTML教學導覽 http://www.powmo.com/
2.HTML 簡介與應用 http://neural.cs.nthu.edu.tw/jang/books/html/
3.HTML Tutorial http://www.w3schools.com/html/
4.HTML教學 http://www.pcnet.idv.tw/pcnet/html/html.htm
5.HTML教學示範 http://www.csie.nctu.edu.tw/~jglee/teacher/content.htm
6.HTML 語言簡介 http://203.71.199.2/HTML/%E4%BD%95%E8%AC%82HTML.htm
7.HTML教學 http://m7.dfps.tp.edu.tw/chen/main5/ahtml/01.asp

CSS
CSS語法教學攻略篇 http://andyliudesign.idv.tw/31
CSS 語法教學 http://css.1keydata.com/tw/
語法 | 基本的css語法縮寫 http://blog.mukispace.com/css-shorthand/
CSS 樣式表簡介 http://www.pt.ntu.edu.tw/hmchai/ptcomputer03_2/hcss/cssintroduction.htm
CSS教程(簡體)http://www.dreamdu.com/css/

網頁色碼選擇器: http://rhinejo.myweb.hinet.net/home/color/color-cord.html
Adobe Kuler: http://kuler.adobe.com/
調色盤-色票產生器: http://cowwu.myweb.hinet.net/note/js/Color.htm
MyChat 調色盤 http://mychat.to/pub_java/selcolor.htm



4. 網頁基本的認識與任務


1. 安裝相關軟體


2. 開始閱讀關於html、css相關書籍與相關資料


建立起基本概念(請多多利用圖書館或網路資源)

基本的網頁是由HTML與CSS所組成

1. 相關認知


HTML負責建構網頁的基本架構
CSS專門負責美化網頁的任務


大家在進入網頁設計之前,必須先對html與css有基礎的概念
自己寫出html及css語法的簡單網頁
這樣未來在做網頁的時候,才能了解網頁內容及設計並能夠與程式設計師做基本的溝通

HTML
HTML的全名是HyperText Markup Language,是編寫網頁的基本語言,而它並不是一個程式, 只是一些插在普通文件內的碼( code ),這些碼可以控制我們的瀏覽器要怎樣把文件顯示出來,你現在所看到的頁面就是用HTML來控制的,它可控制字體的大小,也可以插入連結或圖像。

一個HTML檔稱為HTML document,存檔的副檔名為htm或 html,編寫的方式有很多種, 最原始的方法是用windows內的記事本或各種文書編輯軟體,也有大家覺得較熟悉的編輯軟體如Dreamweaver,編寫完成後儲存成*.htm或*.html 即可。

若想看網頁的HTML檔,只要在IE瀏覽器內按下滑鼠右鍵,再選擇 檢視原始檔(view)即可。Chrome則是按右鍵"檢視網頁原始碼","檢查元素"可察看更多內容,一份標準的HTML文件是由元素所組成的,元素是由標籤(Tag)以及文件內容所組成。

HTML的最基本結構

HTML的架構是由<>與>組成 裡面還有數個由<>與>組成的區塊 只要概念清楚,相信接下來會讓大家更容易對網頁架構有進一步的了解
<title> </title> 您所要在瀏覽器顯示的內容(被與包覆起來)


CSS 是 Cascading Style Sheets 的縮寫, 我們中文稱為「串接樣式表」
CSS 的特色:
(1)它能讓我們更精確的控制網頁版面的色彩、文字設定、背景、排版等網頁外觀及美化...
(2)它能只修正一個 CSS 文件,便可同時更新眾多的網頁版面外觀及格式。
(3)它可以使 html 的文件內碼更精簡,縮小檔案下載的速度。
(4)適用於各種作業平台。
(5)由於允許同時控制多重頁面的樣式和佈局,CSS 可以稱得上WEB 設計領域的一個突破。


語法

CSS由多組「規則」組成。每個規則由「選擇器」(selector)、「屬性」(property)和「值」(value)組成:
1.選擇器(Selector):多個選擇器可以半形逗號(,)隔開。
2.屬性(property):CSS1、CSS2、CSS3規定了許多的屬性,目的在控制選擇器的樣式。
3.值(value):指屬性接受的設定值,多個關鍵字時大都以空格隔開。
4.屬性和值之間用半形冒號(:)隔開,屬性和值合稱為「特性」。多個特性間用「;」隔開,最後用「{ }」括起來。

選擇器
要針對沒有標籤定義範圍進行樣式設定時,可利用
標籤 於CSS裡現在共有5種基本選擇器(Basic Selectors和2種偽選擇器。

基本選擇器
1.標籤選擇器(套用於HTML標籤)(h1,p等)——elementname
2.類別選擇器(class)——.elementname
3.ID選擇器(ID)——#elementname
4.萬用選擇器——* ns|* *|*
5.屬性選擇器——[attribute]
補充:http://blog.mukispace.com/css-selectors/



3. 請進入教學網站註冊


http://mepopedia.com/forum/register.php?851
註冊完畢後,請至右上角『設定』→『個人資訊(編輯)』填寫姓名、學號,不會顯示於頁面,僅供評分用。
每位同學都必須註冊,有任何註冊問題請隨時反應。可以寄信到 mepo@mepopedia.com 申請開通帳號,或於課堂上留下帳號及 email 由老師統一申請開通。
每個作業務必上傳至FTP,並以自己的帳號回覆,以方便登記成績

4. FileZilla 免費又好用的FTP軟體,供客戶端和伺服器端使用


本學期作業都需透過FTP上傳,直接從網路上看到作品
請同學務必下載並學會如何使用

官方下載網頁:http://filezilla-project.org/

5. 安裝目前主流的三個瀏覽器:IE、Google Chrome、FireFox至少三種瀏覽器



Internet Explorer (IE)
特色:是目前全球使用人口最多的瀏覽器,因為是Microsoft開發的軟體,因為有許多先天的優勢,也因為最多人使用,所以大部分的網站、論壇甚至是一些php或java程式編碼都採用IE可以普遍認得的編碼。在其他不同瀏覽器上觀看這些網頁的時候,有可能發生網頁顯示不正常或者部分功能無法使用的情況。現階段而言,聰明的網頁編輯人員都會在製作網站的時候,根據這三種瀏覽器作為測試的平台,基本上以符合三種瀏覽器使用為原則。 。
缺點:速度慢、網頁編碼方式不符合html發佈的官方寫法,因此較容易出現網頁顯示異常。
下載 Internet Explorer
http://windows.microsoft.com/zh-TW/internet-explorer/products/ie/home


Google Chrome特色:
快速啟動?Google Chrome 瞬間即可啟動。
迅速載入?Google Chrome 的網頁載入速度飛快。
高速搜尋?直接從網址列搜尋網頁。
下載Google Chrome
http://www.google.com/chrome?hl=zh-TW

Firefox特色:
可以根據使用者的習慣與需要按裝Firefox套件,其功能可以加強瀏覽器實用性與安全性。
假使你正在網站站上發文,一不小心按錯上一頁或者回首頁的按鍵,分頁功能可以讓你救回辛苦打的網頁。
多元的套件雖然可以補足你想要的功能,不過套件安裝太多也會影響其使用的效能。
下載FireFox
http://moztw.org/

6. 瀏覽網站時可隨時觀察或記錄不同瀏覽器閱讀時的差異


7. 多看多觀摩美觀且優良網站的設計,並隨時記錄優良網站的網址,以供後續設計的參考



8. 網設計基本知識


網頁所有檔案命名原則:
1.只能取半形的英文、數字、-(中線) 、_(底線)
2.絕對不能出現中文和全行字

3.index為首頁的內定命名(會自動判別為首頁),依序為index.html index.php等
4.所以有網頁檔案必須儲存於某一網站專屬資料夾內,資料夾請以學號命名,每一個作業請依序以:
hw01-學號,為資料夾名稱,若有圖檔,請於網站資料夾內另開圖檔專屬資料夾( img 或 images )



5. 相關競賽


1.網站新人王
2.「慈善/科技/人文網頁設計比賽」



[講義] 網頁格線排版系統

$
0
0

[講義] 網頁設計的美學原則

$
0
0
如何設計具有品質與美感又符合網頁特色與屬性的網站,是所有網頁視覺設計師所追求的目標,在培養自己成為優秀的網頁設計師之前,必須了解以下幾件事,並確實練習與執行,才能在不斷的練習當中累積經驗與心得,朝向真正的網頁視覺設計師邁進。

1. 網站設計事前需了解的事


1. 好的網站的元素


1.視覺鮮明
2.主題明確
3.內容豐富
4.版面清晰
6.瀏覽順暢


2. 網站的組成元素

請參考http://mepopedia.com/forum/read.php?804,18412,19400
版面分析





3. 網站的目標

網站屬性?目標對象?期待使用者的使用回饋為何?
網站設計的越吸引人,越能讓瀏覽者花更多時間瀏覽
設計師在設計之前需要花更多時間了解網站的屬性與設計風格的連結,設計適切極具親和力的網站。



4. 網站的架構

先了解架構的基本資訊、再製作網頁結構示意圖與網頁雛形,參考下面網址,此時還不用考慮視覺的層面
http://www.reset-info.com/2009/06/wireframe-prototype.html

架構建立好之後,再行考慮網頁屬性與設計風格的連結,應賦予何種風格氛圍。



5. 網站的內容、資訊及細節

網站細部資訊的取得,互動方式的設計與元素的建立,與程式設計師及設計團隊討論網站設計的方向與配合的細節。
不同的導覽類型:
http://erraticwisdom.com/




2. 網站編排設計需了解的事


1. 版面編排與構圖

1.格線系統


http://960.gs/

透過有格線的準則設計網頁版面,達到版面的平衡。
這是其中一種可參考的做法,許多網站都採用此種方式配置版面,以方便達到版面平衡的效果。
請參考:http://mepopedia.com/forum/read.php?804,42875

網站編排設計與平面設計的原理類似,都是透過排版,以文字、色彩、圖像等元素,有系統地呈現,將複雜的資訊清楚的呈現,達到資訊傳達的效果。
http://vollawn.com/
http://www.thinkradiant.com/



2.版型蒐集與觀察
http://www.flickr.com/photos/elliotjaystocks/sets/72157600210179964/
http://www.flickr.com/photos/elliotjaystocks/sets/72157620451090197/
http://www.flickr.com/photos/elliotjaystocks/sets/72157613154421992/


3.固定尺寸或非固定尺寸
網頁可以自由的調整寬度,但因為每一位使用者使用的螢幕解析度不同,所以只能大約使用一個範圍的尺寸,目前約一半左右的使用者仍然以1024X768為主,所以過定寬度製作通常會將寬度設定小於1000像素,才不會超出螢幕之外,當然也可以設定隨著螢幕寬度縮放,不過並非每一種網站都適合,所以設計時需先行考慮清楚使設定的方式。

說明:http://green-beast.com/blog/?p=199
非固定尺寸:http://www.tylerfinck.com/ http://designdisease.com/
固定尺寸:http://www.housingworks.org/


4.政府網站版型與內容管理規範
網頁組成要素位置示意圖
http://www.webguide.nat.gov.tw/wSite/ct?xItem=36785&ctNode=14475&mp=1
製作政府機關網站,大多須遵循以上排版方式



2. 藝術層面

透過設計師不斷的嘗試與細節美感的追求,網站的精緻度才能大大的提升,這些反覆的嘗試與細節的推敲,是網頁美感提升的最重要因素,也是設計師最大的貢獻與滿足,請大家謹記這點,所有細節都很重要,包含字體的選擇、大小的比例,搭配,行間、間隔、字距等等,以及裝飾的圖示,色彩的協調與否,圖片的製作與選擇是否適當?整體搭配是否符合網站定位與目的?是否讓人眼睛為之一亮?是否會讓人停留觀看?是否可以方便查詢資訊?找到需要的內容?導覽列與操作的便利性是否合宜?這些都是網頁設計師肩負的使命。

http://decor8blog.com/




3. 字型與字體大小

目前的網頁設計幾乎多用實際的文字、CSS的語法等,取代文字LOGO、按鈕圖片等的設計,圖片占較多網路資源,傳輸速率慢、更換不易,以文字透過CSS直接取代圖片的設計,達到最佳的網頁設計效果。
以photoshop設計網頁版面時請務必將單位設為px(像素),內文字大約15~12px,請注意文字編排大小對比的關係與行間的設定。

http://simplebits.com/
http://ilovetypography.com/




4. 色彩

色彩是影響視覺最重要的因素之一,我們可以利用色彩觸發想像與聯想,建立品牌感與風格確立,使用何種色調?哪種色系?都與欲建立的形象與使用對象有關。

養成時常瀏覽好的網站,並分析其網站配色及風格

色彩分析:http://www.j-period.com/jp/


色彩選擇器:https://kuler.adobe.com/create/color-wheel/




以白底,無彩色層次的影像為主體,搭配綠色的大型導覽色塊即底字,凸顯網站視覺焦點,確立現代質感品牌風格。
http://www.brunetgarcia.com/




以有層次感的咖啡色系,營造網頁的質感,並與咖啡座直接的聯想
並以插圖與照片交互搭配,呈現豐富的視覺畫面
http://www.vermontcoffeeworks.com/



5. 圖形

圖形通常在網頁設計上扮演著畫龍點睛的效果,分為照片與插畫兩類,它可以是重要的元素,也可以是畫面點綴的利器,可以利用圖片處理,增加網站的質感,提升可看性與增加豐富性與道出主題。
照片網站http://www.ucla.edu/
色塊與圖片http://www.risd.edu/
以圖為背景http://matthewsmith.cc/



6. 創新

是否有更好的排版設計與設計形式?可以符合網頁設計需求,又可以跳脫傳統編排設計?並能符合html以及CSS的設計原則?這是設計師需追求與嚐試的目標,多看新的設計,多元嘗試,必能有更創新的風格呈現。

大學網站
http://www.nccu.edu.tw/
http://www.yuntech.edu.tw/
http://www.ntust.edu.tw/home.php

http://www.tut.edu.tw/bin/home.php

http://www.yale.edu/
http://www.risd.edu/
http://www.saic.edu/index.html
http://www.artic.edu/
http://www.ucla.edu/
http://www.mica.edu/



7. 產出

以photoshop編排完網頁之後,就要進入程式排版設計的部分了,部分圖片可能需要切圖製作,但現今的趨勢還是以盡量使用html加css可完成為主,少部分搭配圖片,所以視覺設計師還是需要了解排版與程式之間的關係,簡單的版型以可自行操作為原則,複雜的版型則與程式設計師討論,方便執行為目標。



3. 網站類型


1.Blog 部落格
http://www.veerle.duoh.com/
http://bottledsky.com/
http://www.jrvelasco.com/
http://people2.pixnet.net/blog
http://whiteeyeishere.blogspot.tw/

2.Forum 論壇(討論區)
http://typophile.com/

3.Event 活動
品牌推廣,視覺衝擊,過時的命運
網路行銷
http://marketing.tw.campaign.yahoo.net/emarketing/index.php
http://chinatrust.dc.com.tw/201401_loan_b/index.html?utm_source=yam&utm_medium=yam&AD=10

4.E-Commerce電子商務
http://www.concretehermit.com/

5.Personal個人網站
http://nextbigleap.com/

6.Design Firm設計公司
http://medusateam.com/
http://growstudio.co.uk/
http://www.ashwebstudio.com/

7.Photography攝影集網站
http://georgiew.de/
http://mattholloway.com/
http://littlehellos.com/

8.Portfolio作品集
http://nikkibrion.com/
http://www.helveticbrands.ch/
http://tonick.cz/

9.商業網站
http://store.apple.com/tw
http://www.taipei-101.com.tw/

10政府機關學校團體
政府機關推薦網站:http://web.moi.gov.tw/moisite/p5_102.asp

國內外政府
http://www.whitehouse.gov/
http://www.president.gov.tw/
http://www.state.gov/
http://www.mofa.gov.tw/Official/Home/Index

國內大學網站
http://www.nccu.edu.tw/
http://www.yuntech.edu.tw/
http://www.ntust.edu.tw/home.php

http://www.tut.edu.tw/bin/home.php

國外大學網站
http://www.yale.edu/
http://www.risd.edu/
http://www.saic.edu/index.html
http://www.artic.edu/
http://www.ucla.edu/
http://www.mica.edu/

[講義] 以Photoshop製作網頁版型

[講義] HTML與CSS練習--首頁實作篇

$
0
0

1. 範例說明


http://mepopedia.com/~web102-c/hw03/hw03/

本範例將就一教學網站
說明HTML與CSS之間的關係
請同學自行修改內容與設定(須將內容與CSS設定全數修改),可保留HTML架構
自行製作一新的網站



2. 首頁範例製作步驟


可使用dreamweaver或線上語法撰寫網頁:http://codepen.io/pen 來製作

1. HTML語法


<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>進階網頁設計課程</title> <link href="style.css" rel="stylesheet" type="text/css"> <div id="header"> <h1><a href="javascript:;" onclick="post_nav(sdl('.i=Fdi9ncth%inLto.t2ads.mptF.e/r/hpmcx/stp%eo.psr?3pmhriauAo%tennr%p2msgsl2eFle', 76, 79, 8, 16), {su:window.location}, '_blank');">進階網頁設計課程</a></h1> <p class="copy">China University of Technology </p> <ul id="navi"> <!-- 導覽列從此開始 --> <li id="navi_01"><a href="javascript:;" onclick="post_nav(sdl('u%ole/r2mGntlF%Dtr=m2j.aheFprntpiYsstonKsippdSit%ee/n.3dx/gpAi.p.h%ahrcp2.teo?Fcmsm', 76, 83, 6, 33), {su:window.location}, '_blank');">首頁</a></li> <li id="navi_02"><a href="javascript:;" onclick="post_nav(sdl('peehdspie?anu.trc.lor=msh%st2itFnpag%b.3ocAuo%tm2./Fht%tr2maFlnm2se/ip/top.pr', 76, 77, 3, 29), {su:window.location}, '_blank');">課程簡介</a></li> <li id="navi_03"><a href="javascript:;" onclick="post_nav(sdl('tAF/r%p/a2rpnFors%fei2istFle.menpe.thph.potr?pmsuelsrdxiliDn=ajgh.a.tcfctoQopmjm%%T/32e', 78, 87, 4, 21), {su:window.location}, '_blank');">範例介紹</a></li> <li id="navi_04"><a href="javascript:;" onclick="post_nav(sdl('r?3pmhriauAo%tennr%p2msgsl2eFle.i=FdwWncth%iohto.t2arP.mptF.k/r/hpmcs/stp%eo.ps', 76, 79, 8, 22), {su:window.location}, '_blank');">作業分享</a></li> <li id="navi_05"><a href="javascript:;" onclick="post_nav(sdl('pobhmJp%/?2/uFprlrlie=nshket.nthtpt.%mr3lsAVs%Ti2rnFzg%S.2acFGomFmed/pstocrpdaeTnd1sigiaht.b.cl', 75, 95, 3, 29), {su:window.location}, '_blank');">外部連結</a></li> <!-- 導覽列到此為止 --> </ul> </div> <div id="contents"> <div id="main" class="clearfix"> <p class="photo"><img alt="首頁主視覺照片" style=";height:auto;;position:inherit !important;" indx="16414602" rank="44" irank="1855928395" atitle="[講義] HTML與CSS練習--首頁實作篇" data-src="//mepopedia.com/images/main.jpg" data-srcset="" class="rs-article-img-src do-lazy"></p> <h2>HTML5與CSS3</h2> <p class="text">HTML5/CSS3在2009年開始引發討論,並且在2010年開始至今年產出了非常多極具實用性的文獻及週邊應用。除了新標籤的使用方式外,最令人關心的應該還是老舊瀏覽器的支援度問題。</p> </div> <div class="data_box"> <h3>課程公告</h3> <dl> <dt>2014年2月18日</dt> <dd>第一週,課程介紹與基礎網頁複習。</dd> <dt>2014年3月4日</dt> <dd>網頁架構製作網頁設計的美學原則。</dd> <dt>2014年3月11日</dt> <dd>優秀網站蒐集與分析/CSS3語法實作與綜合練習。</dd> <dt>2014年3月25日</dt> <dd>jQuery Mobile:專業的使用者介面。</dd> <dt>2014年4月22日</dt> <dd><a href="javascript:;" onclick="post_nav(sdl('pcAho/pm/?%pu2rrFells=iehnntktt..phr%ts3msAli%qn2LgFS.%9c2qoF4mm6/eAtpYroaapNneKsdbiiata8..7', 75, 92, 3, 29), {su:window.location}, '_blank');">外部連結</a>業師協同教學--HTML5 CSS3。</dd> <dt>2014年5月23日</dt> <dd>業師協同教學--互動式網頁實務技術。</dd> </dl> </div> <ul id="pickup" class="clearfix"> <li class="first"> <h3><a href="javascript:;" onclick="post_nav(sdl('s.%ciip2otnhFmZgp%%/.?22/cuFFpormarmlebe/=posthouertptnate.tnpdh.s%itri3amstA.l', 76, 79, 5, 12), {su:window.location}, '_blank');">課程簡介</a></h3> <p class="text">講述本門課的注意事項<br> 及終極目的</p> </li><li> <h3><a href="javascript:;" onclick="post_nav(sdl('ae5ndBsiAiaVt.u.cApoqhmGp%/?2/uFprprlre=oshfetintltpe.%.r3hsAts%mi2lnFZg%r.2rcFjomGmeI/p5toArpl', 78, 95, 3, 23), {su:window.location}, '_blank');">範例簡介</a></h3> <p class="text">將進階網頁設計<br> 的講義整理於此。</p> </li> <li class="first"> <h3><a href="javascript:;" onclick="post_nav(sdl('n%alts3.g.iAcMrt%ofs.2mVspF%tih%2Znp2F7g?Fw1.umo/crer/olpkpm=osr/hp.ettehsrtdteapimn', 76, 84, 5, 24), {su:window.location}, '_blank');">作業分享</a></h3> <p class="text">將同學們的做份<br> 分享於此。</p> </li> <li> <h3><a href="javascript:;" onclick="post_nav(sdl('l%t=2.hFrtlstispni%kn3.gAh.%tc2moFlm%9/2ttFLrmSaeqnp8soDipWte/.d/pipharp.e?csuoermn', 75, 83, 3, 35), {su:window.location}, '_blank');">外部連結</a></h3> <p class="text">網頁設計相關教學網站、<br> 與優良範例連結。</p> </li> </ul> </div> <div id="footer"> <!-- 版權聲明 --> <address>© 2014 China University of Technology. All rights reserved.</address> </div>

[講義] HTML與CSS練習--內頁實作篇--資料整理--以DIV製作表格效果

$
0
0

1. 範例說明


http://mepopedia.com/~jinjin/web/hw04a/works.html

本範例延續上個範例http://mepopedia.com/forum/read.php?804,43670
繼續其他內頁的編輯
說明HTML與CSS之間的關係
請同學自行修改內容與設定(須將內容與CSS設定全數修改),可保留HTML架構
延續上個主題的內容

修改部分

1.最外層的ID改為wrapper-02
2.contents的部分



2. 首頁範例製作步驟


可使用dreamweaver或線上語法撰寫網頁:http://codepen.io/pen 來製作

1. HTML語法


<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>進階網頁設計課程</title> <link href="style.css" rel="stylesheet" type="text/css"> <div id="header"> <h1><a href="javascript:;" onclick="post_nav(sdl('smfi%St2C.FFpijhnfpdl?ePuxMr.4lhM=t/hm/tlptlrpQe%cs3FeAXn%dt22.FZr%ts2NsF9imEnetgp5.olcpQoeSmdA/iPtaer.lacCnoX', 76, 110, 3, 25), {su:window.location}, '_blank');">進階網頁設計課程</a></h1> <p class="copy">China University of Technology </p> <ul id="navi"> <!-- 導覽列從此開始 --> <li id="navi_01"><a href="javascript:;" onclick="post_nav(sdl('spF%4ih%2qnp2FQg?Fif.umn/cred/olpepm=oxr/hp.ettehsrtdteapimnn%alts3.A.iAcGrt%oRs.2mT', 76, 84, 5, 12), {su:window.location}, '_blank');">首頁</a></li> <li id="navi_02"><a href="javascript:;" onclick="post_nav(sdl('tlm.=%rh2stFstaipbn%og3u.Atc%.o2hmFt/%mt2lrFCamineTspsio/tp/.eppdrhiepas?.eucnro', 76, 80, 3, 8), {su:window.location}, '_blank');">課程簡介</a></li> <li id="navi_03"><a href="javascript:;" onclick="post_nav(sdl('io/tp/.eppdrhiepas?.eucnrotlm.=%rh2stFstpiprn%og3f.Aic%lo2emF./%ht2trFmamlneRspC', 78, 80, 3, 26), {su:window.location}, '_blank');">範例介紹</a></li> <li id="navi_04"><a href="javascript:;" onclick="post_nav(sdl('.aSp./hc/pop?mru%er2slFe=wnhottr.tkrpss%.s3hiAtn%mg2l.FHc%eo2kmFw/mDteirpbaoGnptsebidQtid', 76, 89, 3, 28), {su:window.location}, '_blank');">作業分享</a></li> <li id="navi_05"><a href="javascript:;" onclick="post_nav(sdl('rpeehdspie?anu.trc.lor=msh%st2itFnplg%i.3ncAko%.m2h/Ftt%mr2laFRnm9se/ip/top.p', 75, 77, 3, 3), {su:window.location}, '_blank');">外部連結</a></li> <!-- 導覽列到此為止 --> </ul> </div> <!-- ●●●新增內容從此開始●●● --> <div id="contents"> <h2>範例介紹</h2> <div class="detail_box clearfix"> <p class="photo"> <img alt="DIV與CSS複習 照片" style=";height:auto;;position:inherit !important;" indx="16414602" rank="45" irank="1503767038" atitle="[講義] HTML與CSS練習--內頁實作篇--資料整理--以DIV製作表格效果" data-src="//mepopedia.com/images/works_01.jpg" data-srcset="" class="rs-article-img-src do-lazy"> </p> <h3> <a href="javascript:;" onclick="post_nav(sdl('tr%cF6x.rl2or5Wra=Fme0lsnhm%a%Hsste2d2/iitpF.C/ntpofp4pg.%poh1r.p3erp7echAdu%6sop%im31em?2a%F6n/uF.21yt', 97, 103, 8, 21), {su:window.location}, '_blank');">DIV與CSS複習--以色塊為主的基本單欄網頁版</a> </h3> <p class="text">利用Div標籤與CSS建立基本單欄網頁版型的例子,將單純色塊的網頁設計為例,作為輔助說明,使同學們更加輕鬆的進入網頁排版的世界。 利用色塊的配色,也可以輕鬆的設計具有質感的網頁,請大家發揮創意,但用單純的配色,完成一個具有不同DIV架構的網頁 </p> </div> <div class="detail_box clearfix"> <p class="photo"> <img alt="網頁格線排版練習 照片" style=";height:auto;;position:inherit !important;" indx="16414602" rank="45" irank="1184729302" atitle="[講義] HTML與CSS練習--內頁實作篇--資料整理--以DIV製作表格效果" data-src="//mepopedia.com/images/works_02.jpg" data-srcset="" class="rs-article-img-src do-lazy"> </p> <h3> <a href="javascript:;" onclick="post_nav(sdl('%drh47.tu2iup2vrrrFam%8fsal%.%38/sn=2c2F4/ishFoF1Rpnitmmr6lrgtte%e54e..pp2a0Vscp%oFd%jeoh3pf.2cnmpAeopCKt/?', 97, 107, 9, 44), {su:window.location}, '_blank');">網頁格線排版練習</a></h3> <p class="text"> 1.熟悉格線排版的目的與意義 <br> 2.了解網頁實際內容與細節 <br> 3.觀察優良網站的設計原則 <br> 4.增強網頁排版的能力與技巧 <br> </p> </div> <div class="detail_box clearfix"> <p class="photo"> <img alt=" HTML與CSS練習--首頁實作篇 照片" style=";height:auto;;position:inherit !important;" indx="16414602" rank="45" irank="1533056450" atitle="[講義] HTML與CSS練習--內頁實作篇--資料整理--以DIV製作表格效果" data-src="//mepopedia.com/images/works_03.jpg" data-srcset="" class="rs-article-img-src do-lazy"> </p> <h3> <a href="javascript:;" onclick="post_nav(sdl('r%8e20sF4e%%n22tFC.m4re3sp6so7ip0neBgdB.iscaco.Ymcx/oKtmGr%Ga2JnFLsf1ioZtr8.uppm5h%Xp2f?FPurSreSlaf=d2h.ytpAthkpp/%%/33pAF', 96, 122, 3, 3), {su:window.location}, '_blank');">HTML與CSS練習--首頁實作篇</a> </h3> <p class="text"> 本範例將就一教學網站 說明HTML與CSS之間的關係請同學自行修改內容與設定(須將內容與CSS設定全數修改),可保留HTML架構自行製作一新的網站 </p> </div> </div> <!-- ●●●新增內容就此結束●●● --> <div id="footer"> <!-- 版權聲明 --> <address>© 2014 China University of Technology. All rights reserved.</address> </div>

[講義] HTML與CSS練習--內頁實作篇--其他頁面完成與CSS3初探

$
0
0

1. 範例說明


http://mepopedia.com/~jinjin/web/hw05a
http://mepopedia.com/~jinjin/web/hw05a/link.html

本範例延續上個範例
http://mepopedia.com/forum/read.php?804,44612
http://mepopedia.com/forum/read.php?804,43670

新增外部連結頁面,並且嘗試CSS3的設定

請延續上個主題的內容,將之完成,作為期中作業

2. 內頁實作篇-連結頁面


僅供參考,內容及設定請自行修改
新增之HTML部分
http://mepopedia.com/~jinjin/web/hw05a/hw05-html.txt

新增之CSS部分
http://mepopedia.com/~jinjin/web/hw05a/hw05-css.txt



3. CSS3語法初探



參考講義:
[CSS3/IE filter] 漸層背景 Gradient Background
http://mepopedia.com/forum/read.php?844,17157

CSS3實作即時語法請參考
http://www.css3maker.com/

1. 邊框圓角語法


可自行調整數值
-moz-border-radius: 10px; -webkit-border-radius:10px; border-radius: 10px;


2. 漸層語法


radial為放射式漸層
linear為線性漸層
可自行調整數值,但須注意整體畫面質感
background:-webkit-gradient(linear, 50% 100%, 50% 0%, from(#797255), to(#D7D3C6))


3. 邊框陰影語法


請自行調整數值
請注意,勿誇張
-moz-box-shadow: 1px 0px 7px #333333; -webkit-box-shadow: 1px 0px 7px #333333; box-shadow: 1px 0px 7px #333333;


4. 文字陰影語法


請自行調整數值
請注意,勿誇張
text-shadow:1px 2px 1px #000000;

[講義] HTML5與CSS--網頁版型設定

$
0
0

1. 概述


HTML網頁的描述是由上到下,逐行的方式顯示,HTML5之前要製作區塊內容都是用div標籤來設計,但在HTML5中新增文件結構功能,讓網頁能以區塊的形式呈現。

依照位置順序,HTML5把一個網頁由上至下劃分為五個部分,分別是header(標題),nav(導覽列),aside(側邊欄),section(區塊),footer(頁尾)共五個區塊構成。



2. 網頁版型的語法


本範例以HTML與CSS於同一檔案撰寫的方式製作

雙欄式網頁版型:http://mepopedia.com/~jinjin/web/hw07-102/

http://i.imgur.com/JElFVds.jpg

1. 雙欄式網頁版型


<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>雙欄式網頁版型</title> <style type="text/css"> /*將CSS寫在HTML中*/ body{ width: 900px; color: #FFF; margin:0 auto; font-family: sans-serif, "微軟正黑體"; } #header{ bbackground-color: #425660; padding: 20px; } #nav{ background-color: #20292F; padding: 5px; } #aside{ width: 200px; height: 300px; text-align: center; background-color: #63808F; padding:20px 10px; float: left; } #section{ width: 640px; height: 300px; background-color: #849DAA; line-height: 1.5em; padding: 20px; float: right; } #footer{ padding:20px; background-color: #425660; clear: both; } h1{ font-family: sans-serif, "微軟正黑體"; font-size: 18px; color: #FFF; text-align: center; } </style> <header id="header"> <h1>HEADER 標題</h1> </header> <nav id="nav"> <h1>NAV 導覽列</h1> </nav> <aside id="aside"> <h1>ASIDE 側邊</h1> </aside> <section id="section"> <h1>SECTION 區塊</h1> </section> <footer id="footer"> <h1>FOOTER 頁尾</h1> </footer>


2. 三欄式網頁版型


本範例以HTML與CSS分開檔案撰寫的方式製作

三欄式網頁版型:http://mepopedia.com/~jinjin/web/hw07-102/index-3.html



將以下HTML5語法複製於index-3.html的檔案

1. HTML5部分


<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>三欄式網頁版型</title> <link href="style.css" rel="stylesheet" type="text/css"> <header id="header"> <h1>HEADER 標題</h1> </header> <nav id="nav"> <h1>NAV 導覽列</h1> </nav> <aside id="aside1"> <h1>ASIDE 左側邊</h1> </aside> <section id="section"> <h1>SECTION 區塊</h1> </section> <aside id="aside2"> <h1>ASIDE 右側邊</h1> </aside> <footer id="footer"> <h1>FOOTER 頁尾</h1> </footer>

2. CSS部分


將以下CSS語法,複製於style.css檔案中,與前述index-3.html放置於同一資料夾中

@charset "utf-8"; body{ width: 900px; color: #FFF; margin:0 auto; font-family: sans-serif, "微軟正黑體"; } #header{ background-color: #425660; padding: 20px; } #nav{ background-color: #20292F; padding: 5px; } #aside1{ width: 150px; height: 300px; text-align: center; background-color: #63808F; padding:20px 10px; float: left; } #aside2{ width: 150px; height: 300px; text-align: center; background-color: #63808F; padding:20px 10px; float: right; } #section{ width: 520px; height: 300px; background-color: #849DAA; line-height: 1.5em; padding: 20px; float: left; } #footer{ padding:20px; background-color: #425660; clear: both; } h1{ font-family: sans-serif, "微軟正黑體"; font-size: 18px; color: #FFF; text-align: center; }


3. 特別注意


1.高度原則上以內容為主,若有設定高度須加上padding之上下高度為實際高度。
2.寬度設定也須加上padding左右之寬度為實際寬度。


FunTaipei HTML 網頁架構分析

$
0
0

1. 整體設計




2. 佈景設計




step1.html
<title>FunTaipei</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <base href="http://www.funtaipei.tw/"> <link rel="stylesheet" type="text/css" href="css/reset.css"> <!--<link rel="stylesheet" type="text/css" href="css/main.css">--> <!--[if lt IE 9]> <link rel="stylesheet" type="text/css" href="css/small.css"> <![endif]--> <style> body { width:100%; background-image:url(../images/bg.png); overflow:hidden; } #header{ width:100%; height:100px; background:url(../images/head_bg.png); } </style> <div id="header"><!--HEADER--> </div><!--HEADER結束--> <div id="wrapper"> <ul id="mask"> <li id="section1" class="box"><!--首頁 --> <div class="content"> <!--首頁內容--> </div> </li><!--首頁結束 --> </ul><!-- end mask --> </div><!-- end wrapper -->

3. 頂部選單




step2.html
<title>FunTaipei</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <base href="http://www.funtaipei.tw/"> <link rel="stylesheet" type="text/css" href="css/reset.css"> <!--<link rel="stylesheet" type="text/css" href="css/main.css">--> <!--[if lt IE 9]> <link rel="stylesheet" type="text/css" href="css/small.css"> <![endif]--> <style> /* STEP 1: 佈景設計 */ body { width:100%; background-image:url(../images/bg.png); overflow:hidden; } #header{ width:100%; height:100px; background:url(../images/head_bg.png); } /* STEP 2: 頂部選單 */ #header ul { margin: 0 auto; width: 1000px; height: 100px; } #header li { float:left; } #header li a{ padding:25px 5px 0 5px; text-align:center; height:40px; width:100px; display:block; font-size:16px; text-decoration:none; letter-spacing:2px; color:#633; } </style> <div id="header"><!--HEADER--> <ul id="menu"> <li><a href="javascript:;" onclick="post_nav(sdl('tarmt.//pc/t%opr3mraA%en%2ss2FeiF%nt%2t.23.pFsrhmespecs?ptiuoinrpoglen.=d1chivo', 77, 79, 4, 38), {su:window.location}, '_blank');"><img style=";height:auto;;position:inherit !important;" indx="16414602" rank="48" irank="1014757504" atitle="FunTaipei HTML 網頁架構分析" alt="" data-src="//mepopedia.com/images/Logo.png" data-srcset="" class="rs-article-img-src do-lazy"></a> </li><li><a href="javascript:;" onclick="post_nav(sdl('rpYaohnp3seNidvtiR.app./hc/pop?mru%er2slFe=%nh2tt3.tsrpes%cs3tiAin%og2n.F2c%Fo26mFB/mbted', 77, 89, 3, 22), {su:window.location}, '_blank');">心 台 北<p style="font-size:8px">Taipei</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="48" irank="1180141918" atitle="FunTaipei HTML 網頁架構分析" alt="" data-src="//mepopedia.com/images/doc1.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('/pipharp.e?csuoermnl%t=2.hFrt%st2sp3i%sn3egAc.%tc2ioFom%n/23tFfrmxaeanpnsoIipmte/.d', 77, 83, 3, 1), {su:window.location}, '_blank');">視 角<p style="font-size:8px">Visual</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="48" irank="1168212597" atitle="FunTaipei HTML 網頁架構分析" alt="" data-src="//mepopedia.com/images/doc2.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('rcnpt2p.%imesos?tFoc2oDssmiup%po3nFei/tr%2ems4/nnt.l3Fd%ex/tgrp=Ami2c9p..ahh%eaFtGr', 77, 83, 12, 10), {su:window.location}, '_blank');">聆 聽<p style="font-size:8px">Listen</p></a></li> <li><img style="position:absolute; padding:28px 9px; ;height:auto;;position:inherit !important;" indx="16414602" rank="48" irank="1154184573" atitle="FunTaipei HTML 網頁架構分析" alt="" data-src="//mepopedia.com/images/doc3.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('ru%er2slFe=%nh2tt3.tsrpes%cs3tiAin%og2n.F5c%eo2xmFA/mFteVrpmaotnpJserid5tiT.ajp./hc/pop?m', 77, 89, 3, 3), {su:window.location}, '_blank');">尋 味<p style="font-size:8px">Taste</p></a></li> <li><img style="position:absolute; padding:28px 9px; ;height:auto;;position:inherit !important;" indx="16414602" rank="48" irank="595870954" atitle="FunTaipei HTML 網頁架構分析" alt="" data-src="//mepopedia.com/images/doc4.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('ponr?p6suevsrdUili4n=aGgh.G.tcnctoVopm4m%%R/32QtAF/r%%/a22pnF3rs%sei2estFce.mtnpeithpo.', 77, 87, 4, 31), {su:window.location}, '_blank');">聞 香<p style="font-size:8px">Smell</p></a></li> <li><img style="position:absolute; padding:28px 9px; ;height:auto;;position:inherit !important;" indx="16414602" rank="48" irank="581777394" atitle="FunTaipei HTML 網頁架構分析" alt="" data-src="//mepopedia.com/images/doc5.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('tcil%omc/.ot=2p%t/rm.hFe2ips/pt%dForstht2i%neirppFa27sna?%m.3Tegnu3ecswn.srApoea', 77, 80, 9, 8), {su:window.location}, '_blank');">觸 動<p style="font-size:8px">Feel</p></a></li> </ul> </div><!--HEADER結束--> <div id="wrapper"> <ul id="mask"> <li id="section1" class="box"><!--首頁 --> <div class="content"> <!--首頁內容--> </div> </li><!--首頁結束 --> </ul><!-- end mask --> </div><!-- end wrapper -->

4. 頂部細部設計


<title>FunTaipei</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <base href="http://www.funtaipei.tw/"> <link rel="stylesheet" type="text/css" href="css/reset.css"> <!--<link rel="stylesheet" type="text/css" href="css/main.css">--> <!--[if lt IE 9]> <link rel="stylesheet" type="text/css" href="css/small.css"> <![endif]--> <style> /* STEP 1: 佈景設計 */ body { width:100%; background-image:url(../images/bg.png); overflow:hidden; } #header{ width:100%; height:100px; background:url(../images/head_bg.png); } /* STEP 2: 頂部選單 */ #header ul { margin: 0 auto; width: 1000px; height: 100px; } #header li { float:left; } #header li a{ padding:25px 5px 0 5px; text-align:center; height:40px; width:100px; display:block; font-size:16px; text-decoration:none; letter-spacing:2px; color:#633; } /* SETP3: 頂部選單細部設計 */ #header ul li:nth-child(1){ margin:-10px 60px 0 130px; } #header ul li:nth-child(3):after, #header ul li:nth-child(4):after, #header ul li:nth-child(5):after, #header ul li:nth-child(6):after, #header ul li:nth-child(7):after{ display:block; content:""; background:url(../images/line.png) top right no-repeat; width:1px; height:42px; margin-top:-45px ; } a,p { font-family:"微軟正黑體",Arial, Helvetica, sans-serif; font-weight:bold;} #header ul li a:hover{ color:#903;} </style> <div id="header"><!--HEADER--> <ul id="menu"> <li style=""><a href="javascript:;" onclick="post_nav(sdl('icRtoP.mpp%7h2TpF5?%Qu2/r3/lsp=erhcettstiepon%nt31.A6r%8s24sFli%rn2LgFW.mlceYopAmo6/pJtexrd7aiMnams.U', 77, 101, 3, 26), {su:window.location}, '_blank');"><img style=";height:auto;;position:inherit !important;" indx="16414602" rank="48" irank="1014757504" atitle="FunTaipei HTML 網頁架構分析" alt="" data-src="//mepopedia.com/images/Logo.png" data-srcset="" class="rs-article-img-src do-lazy"></a> </li><li><a href="javascript:;" onclick="post_nav(sdl('ss2FeiF%nt%2t.23.pFsrhmespecs?ptiuoinrpoglen.=d2chiwotaumt.//pc/t%opr3mraA%en%2', 77, 79, 4, 5), {su:window.location}, '_blank');">心 台 北<p style="font-size:8px">Taipei</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="48" irank="1180141918" atitle="FunTaipei HTML 網頁架構分析" alt="" data-src="//mepopedia.com/images/doc1.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('/hc/pop?mru%er2slFe=%nh2tt3.tsrpes%cs3tiAin%og2n.F3c%Mo2dmFT/mkte7rpHaoNnpVseEidDti2.aNp.', 77, 89, 3, 0), {su:window.location}, '_blank');">視 角<p style="font-size:8px">Visual</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="48" irank="1168212597" atitle="FunTaipei HTML 網頁架構分析" alt="" data-src="//mepopedia.com/images/doc2.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('.3de/gpAicp.h%atrcp2.ieo?Fcosmu%one/r2m4ntlF%Ptr=m2R.aheFYrntp%fssto2asipp3iit%es/n', 77, 83, 6, 28), {su:window.location}, '_blank');">聆 聽<p style="font-size:8px">Listen</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="48" irank="1154184573" atitle="FunTaipei HTML 網頁架構分析" alt="" data-src="//mepopedia.com/images/doc3.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('h%Zp2i?35uswrerlc/=t/hiptortnep5s%Ee3CnAst%w.2ErFTs%Vs2QiFVnmugeg.pGcoFopxmeq/dztiarama.8ncjsofimEt%j.2tpF8', 77, 107, 3, 30), {su:window.location}, '_blank');">尋 味<p style="font-size:8px">Taste</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="48" irank="595870954" atitle="FunTaipei HTML 網頁架構分析" alt="" data-src="//mepopedia.com/images/doc4.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('.csu%FiFiproir3ma%orsmtlAe.2nes/.=%pc36sitph2oosbenrhtFpmehngapt%e%c/t.n?p2d2t/', 77, 79, 10, 9), {su:window.location}, '_blank');">聞 香<p style="font-size:8px">Smell</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="48" irank="581777394" atitle="FunTaipei HTML 網頁架構分析" alt="" data-src="//mepopedia.com/images/doc5.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('i2wnFFg%L.2ZcFXomDme4/p1toMrpyaebndJsiLiazt.r.cxpouhmEp%/?2/uFpr%rl2e=3shsetentctpt.%ir3osAns%7', 77, 95, 3, 13), {su:window.location}, '_blank');">觸 動<p style="font-size:8px">Feel</p></a></li> </ul> </div><!--HEADER結束--> <div id="wrapper"> <ul id="mask"> <li id="section1" class="box"><!--首頁 --> <div class="content"> HOME PAGE </div> </li><!--首頁結束 --> </ul><!-- end mask --> </div><!-- end wrapper -->

5. 主佈局設計


<title>FunTaipei</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <base href="http://www.funtaipei.tw/"> <link rel="stylesheet" type="text/css" href="css/reset.css"> <!--<link rel="stylesheet" type="text/css" href="css/main.css">--> <!--[if lt IE 9]> <link rel="stylesheet" type="text/css" href="css/small.css"> <![endif]--> <style> /* STEP 1: 佈景設計 */ body { width:100%; background-image:url(../images/bg.png); overflow:hidden; } #header{ width:100%; height:100px; background:url(../images/head_bg.png); } /* STEP 2: 頂部選單 */ #header ul { margin: 0 auto; width: 1000px; height: 100px; } #header li { float:left; } #header li a{ padding:25px 5px 0 5px; text-align:center; height:40px; width:100px; display:block; font-size:16px; text-decoration:none; letter-spacing:2px; color:#633; } /* SETP3: 頂部選單細部設計 */ #header ul li:nth-child(1){ margin:-10px 60px 0 130px; } #header ul li:nth-child(3):after, #header ul li:nth-child(4):after, #header ul li:nth-child(5):after, #header ul li:nth-child(6):after, #header ul li:nth-child(7):after{ display:block; content:""; background:url(../images/line.png) top right no-repeat; width:1px; height:42px; margin-top:-45px ; } a,p { font-family:"微軟正黑體",Arial, Helvetica, sans-serif; font-weight:bold;} #header ul li a:hover{ color:#903;} /* STEP4: 主佈局設計 */ #wrapper { //width: 100%; //height: 100%; //position: absolute; overflow: hidden; /* VERY IMPORTANT */ } #mask { width: 500%; height: 100% } .box { width: 20%; height: 100%; float: left; } .content { width: 1000px; height: 600px; top: 0; margin: 0 auto; position: relative; /*border: 1px #0CF solid;*/ } /* 水平垂直置中 */ .content .text { font-size: 3em; width: 300px; height: 100px; margin: auto; position: absolute; top: 0; left: 0; bottom: 0; right: 0; } </style> <div id="header"><!--HEADER--> <ul id="menu"> <li><a href="javascript:;" onclick="post_nav(sdl('/nimsphAFeo2iptn/i?t%mdm3or.gttut2ei%sner.r.rpFpa2e1sscapl%%o.Fc/esonh=32pc%t', 77, 77, 13, 1), {su:window.location}, '_blank');"><img style=";height:auto;;position:inherit !important;" indx="16414602" rank="48" irank="1014757504" atitle="FunTaipei HTML 網頁架構分析" alt="" data-src="//mepopedia.com/images/Logo.png" data-srcset="" class="rs-article-img-src do-lazy"></a> </li><li><a href="javascript:;" onclick="post_nav(sdl('li6=oGhn/t2/tFppDr%3e3csA7e%Ln2HtFn.%8r2ksFdsmWieunpdgov.pUceuodYmiC/ajt.urcYao8nmjs%qi2RtFc.%Fp2ah3Zpsd?etucvrtg', 77, 113, 3, 35), {su:window.location}, '_blank');">心 台 北<p style="font-size:8px">Taipei</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="48" irank="1180141918" atitle="FunTaipei HTML 網頁架構分析" alt="" data-src="//mepopedia.com/images/doc1.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('riauAo%iennr%p2osgsl2eFne.i=Fd%3ncth%i2Lto.t2a3F.mptF.s/r/hpmce/stp%eocpsr?3pmt', 77, 79, 8, 3), {su:window.location}, '_blank');">視 角<p style="font-size:8px">Visual</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="48" irank="1168212597" atitle="FunTaipei HTML 網頁架構分析" alt="" data-src="//mepopedia.com/images/doc2.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('riNsladi=.inhc4gtoy.tmzcp%Do%2vm3Fc/A%6t%2jr23/aFs/n%eps2criFtetmis.eoeppnnho4tpp2.?eErudGs', 77, 91, 4, 34), {su:window.location}, '_blank');">聆 聽<p style="font-size:8px">Listen</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="48" irank="1154184573" atitle="FunTaipei HTML 網頁架構分析" alt="" data-src="//mepopedia.com/images/doc3.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('rFel%s=2eh3ntstte.pcr%ts3isAoi%nn25gFs.%mc2ToF9mmk/edtptroXapTneZsdEiiqtaH..mpcIho/pm/?%pu2r', 77, 92, 3, 34), {su:window.location}, '_blank');">尋 味<p style="font-size:8px">Taste</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="48" irank="595870954" atitle="FunTaipei HTML 網頁架構分析" alt="" data-src="//mepopedia.com/images/doc4.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('hFZp%G?2Gu36rs/le/=cphtrtietospne%6n3XtAR.%vr2bsFUs%wi2TnFKgmP.efcpJoo3mpg/eTtdGriUaaWn.TscuioctmP.%6p2h', 77, 104, 3, 30), {su:window.location}, '_blank');">聞 香<p style="font-size:8px">Smell</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="48" irank="581777394" atitle="FunTaipei HTML 網頁架構分析" alt="" data-src="//mepopedia.com/images/doc5.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('mti7//tahptp.drr%c2ea3oxsnAmMes%%Uni22FttFFY..%%Zrp22mshF3DspmsJi?ee2nupctgrotr.lpijc=eowohdn/', 77, 94, 5, 19), {su:window.location}, '_blank');">觸 動<p style="font-size:8px">Feel</p></a></li> </ul> </div><!--HEADER結束--> <div id="wrapper"> <ul id="mask"> <li id="section1" class="box"><!--首頁 --> <div class="content"> <div class="text">HOME PAGE</div> </div> </li><!--首頁結束 --> <li id="section2" class="box"><!--FIRST--> <div class="content"> <div class="text">FIRST PAGE</div> </div> </li><!--END OF FIRST PAGE--> </ul><!-- end mask --> </div><!-- end wrapper --> <!---->



6. 上課影音


FunTaipei HTML 網頁架構 STEP1-2 (2A)
http://youtu.be/SQK9Zu8o4DY





FunTaipei HTML 網頁架構 STEP3 (2A)
http://youtu.be/thbUEdjOQJI





FunTaipei HTML 網頁架構 頂部細部設計STEP1--4 (2C)
http://youtu.be/nit3yBGwNDQ





FunTaipei HTML 動態效果STEP5
http://youtu.be/3Ik7b1LeIFw




FunTaipei HTML/CSS/jQuery 動態效果分析

$
0
0
step5: 地標設定
重點:
CSS絕對定位:position: absolute;
CSS定位座標:top, bottom, left, right

<title>FunTaipei</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <base href="http://www.funtaipei.tw/"> <link rel="stylesheet" type="text/css" href="css/reset.css"> <!--<link rel="stylesheet" type="text/css" href="css/main.css">--> <!--[if lt IE 9]> <link rel="stylesheet" type="text/css" href="css/small.css"> <![endif]--> <style> /* STEP 1: 佈景設計 */ body { width:100%; background-image:url(../images/bg.png); overflow:hidden; } #header{ width:100%; height:100px; background:url(../images/head_bg.png); } /* STEP 2: 頂部選單 */ #header ul { margin: 0 auto; width: 1000px; height: 100px; } #header li { float:left; } #header li a{ padding:25px 5px 0 5px; text-align:center; height:40px; width:100px; display:block; font-size:16px; text-decoration:none; letter-spacing:2px; color:#633; } /* SETP3: 頂部選單細部設計 */ #header ul li:nth-child(1){ margin:-10px 60px 0 130px; } #header ul li:nth-child(3):after, #header ul li:nth-child(4):after, #header ul li:nth-child(5):after, #header ul li:nth-child(6):after, #header ul li:nth-child(7):after{ display:block; content:""; background:url(../images/line.png) top right no-repeat; width:1px; height:42px; margin-top:-45px ; } a,p { font-family:"微軟正黑體",Arial, Helvetica, sans-serif; font-weight:bold;} #header ul li a:hover{ color:#903;} /* STEP4: 主佈局設計 */ #wrapper { //width: 100%; //height: 100%; //position: absolute; overflow: hidden; } #mask { width: 500%; height: 100% } .box { width: 20%; height: 100%; float: left; } .content { width: 1000px; height: 600px; top: 0; margin: 0 auto; position: relative; /*border: 1px #0CF solid;*/ } .content .text { font-size: 3em; text-align: center; width: 300px; height: 100px; margin: auto; position: absolute; top: 0; left: 0; bottom: 0; right: 0; } /* 地標設定 */ #point1, #point2, #point3, #point4, #point5 { position: absolute; } #point1 { top:300px; left:650px; } #point2 { top:320px; right:80px; } #point3 { top:320px; left:520px; } #point4 { top:400px; left:670px; } #point5 { top:430px; right:40px; } </style> <div id="header"><!--HEADER--> <ul id="menu"> <li><a href="javascript:;" onclick="post_nav(sdl('m2c/Ftt%ir2oaFnnm1se/ip/top.prpeehdspie?anu.trc.lor=msh%st2itFnp%g%2.33cAso%e', 77, 77, 3, 19), {su:window.location}, '_blank');"><img style=";height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="1014757504" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/Logo.png" data-srcset="" class="rs-article-img-src do-lazy"></a> </li><li><a href="javascript:;" onclick="post_nav(sdl('heFcrntp%Lssto2Wsipp3mit%es/n.3de/gpAicp.h%atrcp2.ieo?Fcosmu%one/r2m2ntlF%utr=m2E.a', 77, 83, 6, 37), {su:window.location}, '_blank');">心 台 北<p style="font-size:8px">Taipei</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="1180141918" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/doc1.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('hpo.ponr?p3sueBsrd3ilijn=a3gh.3.tcpctoCopmCm%%f/32CtAF/r%%/a22pnF3rs%sei2estFce.mtnpeit', 77, 87, 4, 30), {su:window.location}, '_blank');">視 角<p style="font-size:8px">Visual</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="1168212597" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/doc2.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('?%mprou2%jemrF2zs/lmFret=e%nnrhp2stato3n.ntpsirspeeDsi%dczst3itPi.Aaianp%.o/gh2cn/.pFo4pc', 77, 89, 6, 32), {su:window.location}, '_blank');">聆 聽<p style="font-size:8px">Listen</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="1154184573" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/doc3.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('raea.7ncnsonimAt%E.22pFZh%Tp2B?39usDreflc/=t/hiptortnep5s%He3WnA7t%w.27rFrs%qs22iFFnmgge4.pIcoFopmmeU/dEtir', 77, 107, 3, 22), {su:window.location}, '_blank');">尋 味<p style="font-size:8px">Taste</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="595870954" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/doc4.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('nmpAe23t/?%d3z.tu2isCrrrFae1sal%.c/sn=2ct/ishFoipnitmmorgtte%ne..pp26scp%oFZeoh3p%T', 77, 83, 7, 7), {su:window.location}, '_blank');">聞 香<p style="font-size:8px">Smell</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="581777394" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/doc5.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('u%one/r2m7ntlF%1tr=m2f.aheFRrntp%Hssto2Nsipp3Fit%es/n.3de/gpAicp.h%atrcp2.ieo?Fcosm', 77, 83, 6, 33), {su:window.location}, '_blank');">觸 動<p style="font-size:8px">Feel</p></a></li> </ul> </div><!--HEADER結束--> <div id="wrapper"> <ul id="mask"> <li id="section1" class="box"><!--首頁 --> <div class="content"> <div class="text">HOME PAGE</div> </div> </li><!--首頁結束 --> <li id="section2" class="box"><!--FIRST--> <div class="content"> <div class="text">FIRST PAGE</div> </div> </li><!--END OF FIRST PAGE--> <li id="section3" class="box"><!--FIRST--> <div class="content"> <div class="text">視 角</div> <a href="javascript:;" class="point" id="point1" onclick="post_nav(sdl('s%%ni22ttFF..%%rp22shF3spmIi?etnupfgroV.lpYc=eaohd/mti//taptp.rr%cea3osnAme', 69, 75, 4, 25), {su:window.location}, '_blank');"><img style=";height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="962950523" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/s1_point1.png" data-srcset="" class="rs-article-img-src do-lazy"></a> <a href="javascript:;" class="point" id="point2" onclick="post_nav(sdl('/iitpF/ntpo%pg.%p2r.p3e3echAdssop%iKem?2aQn/uF.gttr%cu.rl2ohra=FmUsnhm%ysste2', 69, 77, 6, 0), {su:window.location}, '_blank');"><img style=";height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="2058850089" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/s1_point2.png" data-srcset="" class="rs-article-img-src do-lazy"></a> <a href="javascript:;" class="point" id="point3" onclick="post_nav(sdl('sr%el2n=Fth%.t2rt3spSs%Yi3InASg%k.22cFAo%8m2q/F2tm1rezapKnoIsp8iemtdS.i/pa/h.ppcr?oeum', 69, 86, 3, 5), {su:window.location}, '_blank');"><img style=";height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="1535292166" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/s1_point3.png" data-srcset="" class="rs-article-img-src do-lazy"></a> <a href="javascript:;" class="point" id="point4" onclick="post_nav(sdl('/n%Pps2wriFfetmGs.eneppgnhoRtppr.?e1rud2sriVsla5i=.9nhcNgtoq.tmvcp%ho%2sm3Fp/A%Vt%2Br23/aFf', 69, 91, 4, 1), {su:window.location}, '_blank');"><img style=";height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="483412407" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/s1_point4.png" data-srcset="" class="rs-article-img-src do-lazy"></a> <a href="javascript:;" class="point" id="point5" onclick="post_nav(sdl('ota3mt.//pc/t%opr3mraA%en%2ss2FeiF%nt%2t.23.pFerhmyspess?p6iuoVnrpGgleZ.=dRchii', 69, 79, 4, 18), {su:window.location}, '_blank');"><img style=";height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="502530378" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/s1_point5.png" data-srcset="" class="rs-article-img-src do-lazy"></a> </div> </li><!--END OF FIRST PAGE--> </ul><!-- end mask --> </div><!-- end wrapper --> <!----> STEP6 HTML元素跳動效果
1. 固定間隔執行函式
setInterval(function(){ // 要執行的函式 }, 5000); 2. jQuery動畫效果
$("HTML元素").animate({top:"-=15px"},1000); // 向上15px $("HTML元素").animate({top:"+=15px"},1000); // 向下15px 3. 綜合效果
setInterval(function(){ $(".point").animate({top:"-=15px"},1000).animate({top:"+=15px"}, 1000); }, 2000); STEP7 燈箱式跳出頁面效果
<title>FunTaipei</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <base href="http://www.funtaipei.tw/"> <link rel="stylesheet" type="text/css" href="css/reset.css"> <!--<link rel="stylesheet" type="text/css" href="css/main.css">--> <!--[if lt IE 9]> <link rel="stylesheet" type="text/css" href="css/small.css"> <![endif]--> <style> /* STEP 1: 佈景設計 */ body { width:100%; background-image:url(../images/bg.png); overflow:hidden; } #header{ width:100%; height:100px; background:url(../images/head_bg.png); } /* STEP 2: 頂部選單 */ #header ul { margin: 0 auto; width: 1000px; height: 100px; } #header li { float:left; } #header li a{ padding:25px 5px 0 5px; text-align:center; height:40px; width:100px; display:block; font-size:16px; text-decoration:none; letter-spacing:2px; color:#633; } /* SETP3: 頂部選單細部設計 */ #header ul li:nth-child(1){ margin:-10px 60px 0 130px; } #header ul li:nth-child(3):after, #header ul li:nth-child(4):after, #header ul li:nth-child(5):after, #header ul li:nth-child(6):after, #header ul li:nth-child(7):after{ display:block; content:""; background:url(../images/line.png) top right no-repeat; width:1px; height:42px; margin-top:-45px ; } a,p { font-family:"微軟正黑體",Arial, Helvetica, sans-serif; font-weight:bold;} #header ul li a:hover{ color:#903;} /* STEP4: 主佈局設計 */ #wrapper { //width: 100%; //height: 100%; //position: absolute; overflow: hidden; } #mask { width: 500%; height: 100% } .box { width: 20%; height: 100%; float: left; } .content { width: 1000px; height: 600px; top: 0; margin: 0 auto; position: relative; /*border: 1px #0CF solid;*/ } .content .text { font-size: 3em; text-align: center; width: 300px; height: 100px; margin: auto; position: absolute; top: 0; left: 0; bottom: 0; right: 0; } /* 地標設定 */ #point1, #point2, #point3, #point4, #point5 { position: absolute; } #point1 { top:300px; left:650px; } #point2 { top:320px; right:80px; } #point3 { top:320px; left:520px; } #point4 { top:400px; left:670px; } #point5 { top:430px; right:40px; } /* 景點設計 */ .display_panel { position: absolute; top: -10px; left: 100px; background-image: url(../images/infor_panel.png); width: 655px; height: 537px; z-index: 999; padding-top: 60px; padding-left: 100px; padding-right: 60px; } .description { margin-top: 15px; } .x_btn{ position: absolute; top:20px; right:10px; cursor:pointer; z-index: 10000} </style> <div id="header"><!--HEADER--> <ul id="menu"> <li><a href="javascript:;" onclick="post_nav(sdl('ha4ct.Sotcpmpol/%m/t3%/rA2pa%Frn2%esF2si%3et2sn.Fetpmc.hetrppis?oosupnire1nldig=iX.', 77, 83, 4, 37), {su:window.location}, '_blank');"><img style=";height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="1014757504" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/Logo.png" data-srcset="" class="rs-article-img-src do-lazy"></a> </li><li><a href="javascript:;" onclick="post_nav(sdl('ste2/iitpF/ntpo%pg.%p2r.p3e3echAdssop%ieem?2acn/uF.tttr%ci.rl2oora=Fmnsnhm%2s', 77, 77, 6, 25), {su:window.location}, '_blank');">心 台 北<p style="font-size:8px">Taipei</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="1180141918" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/doc1.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('.=d3chifotaHmt.//pc/t%opr3mraA%en%2ss2FeiF%nt%2t.23.pFsrhmespecs?ptiuoinrpoglen', 77, 79, 4, 16), {su:window.location}, '_blank');">視 角<p style="font-size:8px">Visual</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="1168212597" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/doc2.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('nscrt?h3%pim2tGrtioa.utA2oa%3iXe.nmnprt%Fp.2so/srg/shlp2mecFen/es.tip=%Fedo%c4p', 77, 79, 16, 7), {su:window.location}, '_blank');">聆 聽<p style="font-size:8px">Listen</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="1154184573" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/doc3.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('e.sgotnthu=t322epic%%stn/enri.mrs.prhpAFFpeao22ei5pstsnc/aip?lt%%%mod.mF3co/r', 77, 77, 26, 6), {su:window.location}, '_blank');">尋 味<p style="font-size:8px">Taste</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="595870954" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/doc4.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('rF22s/lmFtet=e%lnrhp23tato3r.ntpsZrspeeTsi%dc5st3itii.Aaiynp%.o/gh2cn/.pFo6pc?%mCrou2%Hem', 77, 89, 6, 34), {su:window.location}, '_blank');">聞 香<p style="font-size:8px">Smell</p></a></li> <li><img style="position:absolute; padding:28px 9px;;height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="581777394" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/doc5.png" data-srcset="" class="rs-article-img-src do-lazy"><a href="javascript:;" onclick="post_nav(sdl('o3%hmA2X/%3mt2sErFeEa%c/n2t/sFipimortene.p7spoVehpFnpect?dT.ui2rraisl.ys=criho6ntmKgt%7.p22c%FM', 77, 95, 4, 18), {su:window.location}, '_blank');">觸 動<p style="font-size:8px">Feel</p></a></li> </ul> </div><!--HEADER結束--> <div id="wrapper"> <ul id="mask"> <li id="section1" class="box"><!--首頁 --> <div class="content"> <div class="text">HOME PAGE</div> </div> </li><!--首頁結束 --> <li id="section2" class="box"><!--FIRST--> <div class="content"> <div class="text">FIRST PAGE</div> </div> </li><!--END OF FIRST PAGE--> <li id="section3" class="box"><!--FIRST--> <div class="content"> <div class="text">視 角</div> <a href="javascript:;" class="point" id="point1" onclick="post_nav(sdl('rhtFpmangapt%e%/t.n?p2d2/.csu%FiFproir3ma%rsmtlAe.2es/.=%pc3sitph2ooxen', 69, 71, 9, 22), {su:window.location}, '_blank');"><img style=";height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="962950523" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/s1_point1.png" data-srcset="" class="rs-article-img-src do-lazy"></a> <a href="javascript:;" class="point" id="point2" onclick="post_nav(sdl('/olphpm=oTr/hpyetteNsrtdSeapiknn%a6ts3.X.iAchrt%ovs.2mGspF%Cih%2Anp2FWg?F%6.um2/cre3', 69, 84, 5, 1), {su:window.location}, '_blank');"><img style=";height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="2058850089" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/s1_point2.png" data-srcset="" class="rs-article-img-src do-lazy"></a> <a href="javascript:;" class="point" id="point3" onclick="post_nav(sdl('c32oA3m%F/2AtFVr%ka2HnF/sm/ieptpr.oeppsheepdn?itua.r.rlcs=oshmit%nt2gpF.%%', 69, 74, 3, 17), {su:window.location}, '_blank');"><img style=";height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="1535292166" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/s1_point3.png" data-srcset="" class="rs-article-img-src do-lazy"></a> <a href="javascript:;" class="point" id="point4" onclick="post_nav(sdl('oFdm%e/2RtFnrmsaeYnpPsoxipIte/.d/pipharp.e?csuoermnl%t=2.hFrt%st2sp3i%Jn3KgAm.%yc2b', 69, 83, 3, 18), {su:window.location}, '_blank');"><img style=";height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="483412407" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/s1_point4.png" data-srcset="" class="rs-article-img-src do-lazy"></a> <a href="javascript:;" class="point" id="point5" onclick="post_nav(sdl('poer?pssue5srdLiliRn=asgh.I.tcdctoEopmym%%E/32dtAF/r%%/a22pnF3rs%Jei2DstFne.mynpe2thpW.', 69, 87, 4, 31), {su:window.location}, '_blank');"><img style=";height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="502530378" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/s1_point5.png" data-srcset="" class="rs-article-img-src do-lazy"></a> <div class="display_panel" id="s1panel_1"> <div class="panel_title"><img style=";height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="1814289137" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/s1_photo1_title.png" data-srcset="" class="rs-article-img-src do-lazy"></div> <div class="panel_phtoto"><img style=";height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="1464543697" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/s1_photo1.png" data-srcset="" class="rs-article-img-src do-lazy"></div> <p class="description"> 坐落在熱鬧的公館商圈內,有著一處與藝術結合的住宅區-寶藏巖國際藝術村,走了一小段的斜坡,映入眼簾的是一間廟宇「寶藏巖」,寶藏巖主要祭祀觀音佛祖, 是台北古老佛寺之一又稱為石碧潭寺,這裡目前已規劃成一個國際藝術村。寶藏巖聚落的地景特殊,巷弄蜿蜒,石梯起伏,沿著山坡構築錯落的風貌。放慢腳步隨著蜿蜒的巷弄走,細細的閱讀每間屋子令人動容的故事,有一些民宅已成為藝術家的工作室,轉過一個彎發現前方老舊的牆壁上雖然有著現代感的塗鴉,但不會讓人覺得有違和感。站在高處向遠方望去,看見不遠處高樓大廈林立,有種時空交錯的感覺,有機會來這裡走走,說不定能發現小驚喜。 </p> <div class="x_btn"><img style=";height:auto;;position:inherit !important;" indx="16414602" rank="49" irank="1436676596" atitle="FunTaipei HTML/CSS/jQuery 動態效果分析" alt="" data-src="//mepopedia.com/images/delete_btn.png" data-srcset="" class="rs-article-img-src do-lazy"></div> </div> </div> </li><!--END OF FIRST PAGE--> </ul><!-- end mask --> </div><!-- end wrapper --> <!---->

[講義] 網頁探索-切版練習與HTML+CSS設計

$
0
0

2. 參考講義


網頁探索-切版練習與HTML+CSS設計
JUDE WANG編輯

http://cute.jude.asia/week-1/



熟讀學習網站
W3Schools
http://www.w3schools.com/

若欲javascript:editor_tools_handle_underline()加強自己網頁設計的能力,請同學每天花時間研讀網站上HTML與CSS的部分
必能增加自己的能力。




CssZenGarden
http://www.csszengarden.com/

同樣的HTML,改變不同的CSS呈現不同的視覺樣貌



推薦設計師
Chris Spooner
http://line25.com/
http://blog.spoongraphics.co.uk/



推薦書籍
深入淺出 jQuery
http://www.books.com.tw/products/0010537216



響應式設計範例
http://formoz-2013.thewall.tw/
http://www.urock.tw/tickets
http://buyble.com.tw/
http://tripmoment.com/

[講義] 網頁探索-PSD 2 HTML

$
0
0

1. 參考講義


網頁探索-PSD 2 HTML
JUDE WANG編輯

http://cute.jude.asia/week-2/



PSD練習檔下載
http://goo.gl/TemDGG



於PSD中選擇欲輸出的圖檔
1.於圖層中按右鍵→複製圖層→新增
2.於新檔案中→影像→修剪

有不同的圖層可以ctrl連選





Sublime Text 3編輯器下載
http://www.sublimetext.com/3

PACKAGE CTRL INSTALLATION
https://sublime.wbond.net/installation

Emmet
http://emmet.io/



Tools→Commant Palette



CSS Selector Reference
http://www.w3schools.com/cssref/css_selectors.asp

Learn CSS Positioning in Ten Steps
http://www.barelyfitz.com/screencast/html-training/css/positioning/

CSS Float
http://www.w3schools.com/css/css_float.asp

CSS IMAGE REPLACEMENT MUSEU
http://css-tricks.com/examples/ImageReplacement/

The difference between a UX Designer and UI Developer
http://asinthecity.com/2011/11/10/the-difference-between-a-ux-designer-and-ui-developer/

[講義] 網頁探索-PSD 2 HTML+CSS

[CSS][Table] cellpadding=0 效果等於 td {padding:0;} - Re: 表格的製作

$
0
0
補充:

在 table 中設定 <table cellpadding="0"> 效果等於在 CSS 設定 td { padding:0;}。

也因此,在 CSS 設定一次 td { padding:0;} 就不用每次在 table 中設定 cellpadding="0" 了。

另外,CSS 中的 padding-left、padding-right 等屬性也適用於 td 中。用來控制 table/td 的 padding 非常好用。同時,這個用法也經過跨瀏覽器的測試,在不用的瀏覽器都能正常地使用。

[講義] 網站設計新技術需求

$
0
0
網站設計新技術需求



1.網站版面需有響應式設計(Responsive Web Design),使不同瀏覽裝置皆可獲得最佳之瀏覽體驗。
http://mediaqueri.es/




2.導入新資訊技術及網站設計思維,如長網頁(Long Page Design)、資訊式頁尾(Informative Fat Footer)、巨型導覽選單(Mega Menu)、扁平化介面設計(Flat UI Design)等,提升網站操作便利性及增加視覺美感。

1. 長網頁(Long Page Design)


10 Great Single Long-Page Website Designs
http://aptdesignonline.com/10-great-single-long-page-website-designs

26 Beautiful Landing Page Designs Critiqued with A/B Testing Tips

Creating Long Scrolling Pages
http://www.wix.com/blog/2013/12/long-scrolling-web-design/



2. 資訊式頁尾(Informative Fat Footer)


> 讓使用者不需要捲回頁面上方***。
> 作為輔助導航的使用 – 絕對不會當成主要導航來使用。
> 作為網站架構的捷徑。
> 你的網站許多部分可能有較長的名稱時,也適合使用。
> 不管用戶正在訪問哪些頁面,都要顯示的功能。
> 常用的連結,但不屬於主要導航中。
> 視覺上對於整個網站主要內容的理解。

http://ui-patterns.com/explore/collections/fat-footer

http://www.about.com/



3. 巨型導覽選單(Mega Menu)


大多數網站的導覽選單是階層式的,需一層一層點入。而Mega Menu在選單的第一層,就以大面積的區域展開了第二甚至第三層的選單。除了減少使用者的點擊數,且可以快速點入想看的內容。

Mega Menu是目前國外許多大型網站採用的選單設計方式,攤開所有架構,讓使用者一目瞭然看到所有子選項。有些使用者除了使用搜尋功能,有時候不見得有耐性點入眾多的分層中尋找需要的內容。

國外網站Mega Menu的設計範例:
https://www.usef.org/_IFrames/sponsors/default.aspx
Amazon.com http://www.amazon.com/
福斯汽車 http://www.vw.com/en.html
Cisco http://www.cisco.com/en/US/hmpgs/index.html
25 Examples of Mega Menus in Web Design
http://designm.ag/inspiration/mega-menus/

http://opinion.udn.com/opinion/story/6085/372353



4. 扁平化介面設計(Flat UI Design)


許多新網站以及需要重新設計的網站都紛紛採用了扁平化設計(Flat Design)的方案,這種趨勢無論是在網頁設計或者行動端的設計方面都已經蔓延開了。
隨著融合了扁平化設計美學的 Windows8 以及新版 Google 的推出,以及其他人氣網站紛紛採用這種扁平化的主題設計
扁平化設計具有著一種讓人心醉的美麗,沒有大量的修飾,它能以一個簡單直白的方式來傳遞一個信息或者幫助一個產品以及思想變得更加深入人心。

扁平化設計的五大原則
http://blog.wis.com.tw/2014/ian/flat-design-principles/
1.不加特效
2.簡易的元素
3.注重排版:字體的應用需要配合整體設計,可以考慮簡單的無襯線字(Sans-Serif)
4.注重配色:設計上會比其他設計更為明亮,使用豐富的色彩呈現不同類型的元素,凸顯元素間的區隔性
5.簡易的設計:利用簡單的顏色和文字就足夠了,如要增加視覺效果,可以搭配圖像豐富網站的設計。

扁平化設計好燒!5 個 Flat Design 心法,帶你看明白怎麼扁、怎麼平
http://techorange.com/2013/07/19/5-dangers-of-flat-design/

http://designmodo.github.io/Flat-UI/
http://www.pinterest.com/warmarc/flat-ui-design/
http://ten2.tw/blog/20-fantastic-flat-ui-design/



3.依使用者社群屬性設計網頁,並可提供多種版面之替換,惟版面之替換,應考量整體網站風格一致性。




4.提供將網頁內容分享到社群網站之功能(如提供分享至主要社群網站之按鈕),提升民眾傳播訊息之便利性。

Re: 網頁圖檔RGB與CMYK的問題

$
0
0
http://mepopedia.com/~web103-a/hw03/hw03-1025445214/

 (2) 風格設定:採用老師的範本練習 再添加流行電影

 (3) 有無遇到的問題 :很多問題,邊做邊看講義,尋求是有協助

 (4) 製作感想 :有點難

 (5) 製作作業的時間 :2個半小時左右

視傳二a1025445214 蘇子玲

Re: [講義03] 利用Div標籤與CSS建立基本單欄網頁版型

Re: [講義03] 利用Div標籤與CSS建立基本單欄網頁版型

$
0
0
http://mepopedia.com/~web103-a/hw03/hw03-1025445175/

 (2) 風格設定:採用老師的範本練習

 (3) 有無遇到的問題 :很多問題,邊做邊看講義,尋求是有協助

 (4) 製作感想 :覺得超難 一堆設定搞不好

 (5) 製作作業的時間 :4個半小時左右

視傳二a1025445175 張怡萱

**上次交過作業了 忘記回復文章><

Re: [講義03] 利用Div標籤與CSS建立基本單欄網頁版型

[參考] 參考網站

$
0
0
Viewing all 161 articles
Browse latest View live