CSS 閱讀筆記–台北e大[PHP全動態購物網站設計實務]首頁CSS完全複製cp_html_css.html範例備份(2015/12/30)
資料來源:http://elearning.taipei.gov.tw
css\screen.css
@charset “utf-8”; /* CSS Document */
type=”text/css”> p margin: padding: }
body { font-family: font-size: margin: padding: background-image: background-repeat: background-color: } p ,h1,h2,h3,h4,h5,h6,ul,ol,li,table,tr,td,th{ margin: padding: }
#wrapper { width: margin-right: margin-left: } #wrapper #header { background-image: background-repeat: height: width: } #wrapper #header #icon_table tr td p font-family: font-size: color: text-decoration: } #wrapper #header #icon_table { float: margin-right: } #wrapper #header #icon_table tr td a border-top-style: border-right-style: border-bottom-style: border-left-style: } #wrapper #navigation table tr td p { font-family: font-size: text-align: color: }
#wrapper #navigation { background-image: background-repeat: height: width: margin: } #wrapper #navigation table tr td a border-top-style: border-right-style: border-bottom-style: border-left-style: } #wrapper #navigation table tr td p a text-decoration: color: }
#wrapper #content { width: } #wrapper #content #left { background-color: width: float: } #wrapper #content #right { background-image: background-repeat: float: width: height: } #wrapper #footer { background-image: background-repeat: height: width: float: margin: padding: }
#wrapper #navigation table p { font-family: font-size: color: text-align: margin: } #wrapper #footer #footer_text { margin-top: margin-right: margin-bottom: margin-left: } #wrapper #footer #footer_text tr td font-family: font-size: color: } #wrapper #footer #footer_text tr td text-decoration: color: }
#wrapper #footer #footer_text tr td font-family: color: text-align: } |
cp_html_css
http-equiv=”Content-Type” content=”text/html;
InstanceBeginEditable name=”doctitle” –>
InstanceEndEditable –>
href=”css/screen.css” rel=”stylesheet”
InstanceBeginEditable name=”head” –>
type=”text/css”> #wrapper width: margin-right: margin-left: margin-top: margin-bottom: } #wrapper font-family: font-size: color: text-align: margin-top: margin-bottom: } #wrapper font-family: font-size: color: text-align: margin-top: margin-bottom: } #wrapper border-top-width: border-top-style: border-top-color: border-right-width: border-right-style: border-right-color: } #wrapper border-bottom-width: border-left-width: border-bottom-style: border-left-style: border-bottom-color: border-left-color: } #wrapper font-family: font-size: color: margin-top: margin-bottom: margin-left: } .totalnum font-family: font-size: color: float: } #wrapper margin-right: margin-left: margin-top: margin-bottom: border-top-width: border-right-width: border-bottom-width: border-left-width: border-top-style: border-right-style: border-top-color: border-right-color: border-bottom-color: border-left-color: } #wrapper border-top-width: border-right-width: border-bottom-width: border-left-width: border-bottom-style: border-left-style: border-top-color: border-right-color: border-bottom-color: border-left-color: } #wrapper font-family: font-size: text-align: margin: color: } #wrapper font-family: font-size: text-align: margin: color: } #wrapper font-family: font-size: color: text-align: margin-top: margin-bottom: margin-left: } .iconsimg margin-right: margin-left: margin-top: margin-bottom: border-top-style: border-right-style: border-bottom-style: border-left-style: text-align: } #wrapper width: margin-top: margin-right: margin-bottom: margin-left: }
InstanceEndEditable –>
id=”wrapper”>
id=”header”>
href=”index.php”>
src=”images/template_img/icon1.png” width=”30″
href=”javascript:window.external.AddFavorite(‘http://www.fol.com.tw’,”)”>
src=”images/template_img/icon2.png” width=”30″
href=”shoppinginfo.html”>
src=”images/template_img/icon3.png” width=”30″
href=”shopping.php”>
src=”images/template_img/icon4.png” width=”30″
href=”contentus.php”>
src=”images/template_img/icon5.png” width=”30″
href=”adminpage/adminlogin.php”>
end–>
id=”navigation”> 您好,歡迎來到芙兒。登入會員
href=”dress.php”>
src=”images/template_img/button_01.png” width=”70″
href=”longdress.php”>
width=”70″ height=”29″ />
href=”formaldress.php”>
src=”images/template_img/button_03.png” width=”70″
href=”coat.php”>
width=”70″ height=”29″ />
href=”other.php”>
src=”images/template_img/button_05.png” width=”70″
href=”accessories.php”>
width=”70″ height=”29″ />
href=”uniform.php”>
src=”images/template_img/button_07.png” width=”75″
|
id=”content”>
id=”left”>
cellpadding=”0″>
利用table
width
指定整體表個寬度–>
src=”images/template_img/banner_02.jpg” width=”225″
height=”225″ />
src=”images/template_img/banner_03.jpg” name=”member_img”
width=”225″ height=”100″ border=”0″
usemap=”#member_imgMap” id=”member_img” />
src=”images/template_img/banner_04.jpg” width=”225″
height=”100″ />
src=”images/template_img/banner_05.jpg” width=”225″
height=”250″ />
src=”images/template_img/banner_01.jpg” width=”159″
align=”center” valign=”middle”>
因為圖片大小不同所以用 align=”center”定義內容的水準對齊方式 valign=”middle”内容的垂直排列方式–>
height=”140″ alt=”
徵才廣告”
/>
end–>
id=”right”> 在CSS中有指定高度,所以有透個這個高度值確定身體的長度–>
id=”newslist_form” name=”newslist_form”
method=”post” action=””>
cellspacing=”0″ id=”newslist_tab”>
最新消息
colspan=”3″>
公告日期 標題 查看
width=”157″>
width=”399″>
width=”42″>
href=”newsdetail.php?
width=”20″ height=”20″ class=”iconsimg”
align=”center”>
title=”
查看內容“/>
end–>
end–>
id=”footer”> 在CSS中有指定高度–>
cellspacing=”0″ id=”footer_text”>
│關於芙兒│
href=”webindex.html”>
width=”552″>
網站地圖│隱私權保護│客服專線:0800-888-999
width=”348″>
COPYRIGHT
© FOL. ALL RIGHTS RESERVED
end–>
end–>