{{sellerTotalView > 1 ? __("sellers", {number: sellerTotalView}) : __("seller", {number: sellerTotalView}) }}, {{numTotalView > 1 ? __("items", {number: numTotalView}) : __("item", {number: numTotalView}) }}
free FREE

Change Your Zip Code

Inventory information and delivery speeds may vary for different locations.

Location History

{{email ? __('Got it!') : __('Restock Alert')}}

We will notify you by email when the item back in stock.

Cancel
Yami

Jingdong book

网站开发案例课堂:CSS3+DIV网页样式与布局案例课堂(附光盘)

{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}

网站开发案例课堂:CSS3+DIV网页样式与布局案例课堂(附光盘)

{{__(":people-members", {'people': item.limit_people_count})}} {{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ item.invalid_price }} {{ itemDiscount }}
Ends in
{{ itemCurrency }}{{ item.valid_price }}
{{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }}
{{ itemDiscount }}
{{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }} {{ itemCurrency }}{{ item.invalid_price }} {{itemDiscount}}
{{ itemCurrency }}{{ item.valid_price }}
Sale ends in
Sale will starts after Sale ends in
{{ getSeckillDesc(item.seckill_data) }}
{{ __( "Pay with Gift Card to get sale price: :itemCurrency:price", { 'itemCurrency' : itemCurrency, 'price' : (item.giftcard_price ? priceFormat(item.giftcard_price) : '0.00') } ) }} ({{ itemCurrency }}{{ priceFormat(item.giftcard_price / item.bundle_specification) }}/{{ item.unit }}) Details
Best before

Currently unavailable.

We don't know when or if this item will be back in stock.

Unavailable in your area.
Sold Out

Details

Full product details
Editer Recommend

清华大学出版社“案例课堂”大系
丛书以案例的形式讲解软件的内容,读者可以在实践中熟练掌握软件的使用方法。
每一个案例都精挑细选,同时配有全程语音讲解的视频文件,方便读者学习。
案例的选材广泛,涉及到软件应用的各个领域、各个行业,学习无死角。
“CG设计”系列全彩精印,同等价位下内容更多,同等内容下更实惠。
“网站开发”系列附赠超值,全面学习无障碍:
CSS属性速查表
HTML标签速查表
网页布局案例赏析
精彩网站配色方案赏析
精选JavaScript实例
JavaScript函数速查手册
CSS+DIV布局案例赏析
案例源文件与教学课件


Content Description

《网站开发案例课堂:CSS3+DIV网页样式与布局案例课堂》作者根据自己在长期教学中积累的丰富的网页设计教学经验,完整、详尽地介绍了CSS 3 + DIV网页样式与布局的技术。

《网站开发案例课堂:CSS3+DIV网页样式与布局案例课堂》共分为24章,前19章分别介绍了开发网站的准备工作、HTML 5技术、CSS样式入门、CSS样式基本语法、CSS 3的高级特性、控制网页字体和段落样式、控制网页图片样式、控制网页背景和边框样式、美化网页浏览效果、控制表格与表单样式、控制列表样式、使用CSS 3滤镜美化网页元素、CSS定位与DIV布局核心技术、CSS + DIV盒子的浮动与定位、固定宽度网页布局剖析与制作、自动缩放网页布局剖析与制作、CSS 3与JavaScript的搭配应用、CSS与XML的综合应用、CSS与Ajax的综合应用。最后5章介绍了5个综合性网站的例子。通过学习案例,使读者进一步巩固所学的知识,提高实战能力。

《网站开发案例课堂:CSS3+DIV网页样式与布局案例课堂》内容丰富、全面,图文并茂,步骤清晰,通俗易懂,专业性强,使读者能理解CSS 3 + DIV网页样式与布局的技术,并能解决实际生活或工作中的问题,真正做到知其然更知其所以然。通过重点章节,条理清晰、系统地介绍了读者希望了解的网页设计技巧。

《网站开发案例课堂:CSS3+DIV网页样式与布局案例课堂》涉及面广泛,几乎囊括了CSS 3 + DIV网页样式与布局的所有重要知识,适合所有的网页设计初学者快速入门,同时也适合想全面了解CSS 3 + DIV网页样式与布局的设计人员阅读。

Catalogue

第1章 制作网页的准备工作 1

第2章 网页实现技术——HTML 5 21

第3章 CSS 3样式入门 47

第4章 CSS样式的基本语法 67

第5章 CSS 3的高级特性 77

第6章 使用CSS 3控制网页字体与段落的样式 95

第7章 使用CSS控制网页图片的样式 123

第8章 使用CSS控制网页背景与边框样式 137

第9章 使用CSS 3美化网页浏览效果 167

第10章 使用CSS控制表格和表单的样式 185

第11章 使用CSS控制列表样式 201

第12章 使用CSS 3滤镜美化网页元素 221

第13章 CSS定位与DIV布局核心技术 243

第14章 CSS + DIV盒子的浮动与定位 269

第15章 固定宽度网页布局的剖析与制作 293

第16章 自动缩放网页布局的剖析与制作 311

第17章 CSS 3和JavaScript的搭配应用 335

第18章 CSS与XML的综合运用 375

第19章 CSS与Ajax的综合应用 395

第20章 商业门户类网站赏析 413

第21章 制作娱乐休闲类网页 437

第22章 制作图像影音类网页 451

第23章 制作企业门户类网页 477

第24章 制作在线购物类网页 487


Book Abstract

第1章

制作网页的

准备工作

随着Internet的发展与普及,越来越多的人开始在网上通信、工作、购物、娱乐,甚至在网络上建立自己的网站。网站代表了企业和个人的形象,正确的布局可以让网站的结构更加合理,使网站变得更加美观。

1.1 认识网页和网站

现在,网站已经成为越来越重要的信息发布途径。拥有自己的网站,可以说是每个网页创作者的梦想。要学习网站建设,首先应当认识一下网页和网站,了解它们的相关概念。

1.1.1 什么是网页

网页是Internet中最基本的信息单位,是把文字、图形、声音及动画等各种多媒体信息相互链接起来而构成的一种信息表达方式。

通常情况下,网页中有文字和图像等基本信息,有些网页中还有声音、动画和视频等多媒体内容。

网页一般由站标、导航栏、广告栏、信息区和版权区等部分组成,如图1-1所示。

在访问一个网站时,首先看到的网页一般称为该网站的首页。有些网站的首页具有欢迎访问者的作用。首页只是网站的开场页,单击页面上的文字或图片,即可打开网站主页,而首页也随之关闭,如图1-2所示。

图1-1 网页的外观

图1-2 网站的首页

网站主页与首页的区别在于:主页设有网站的导航栏,是所有网页的链接中心。但多数网站的首页与主页通常合为一个页面,即省略了首页而直接显示主页,在这种情况下,它们指的是同一个页面,如图1-3所示。

图1-3 网站主页与首页合二为一

1.1.2 什么是网站

网站就是在Internet上通过超级链接的形式构成的相关网页的集合。简单地说,网站是一种通信工具,人们可以通过网页浏览器来访问网站,获取自己需要的资源或享受网络提供的服务。例如,人们可以通过淘宝网站查找自己需要的信息,如图1-4所示。

图1-4 淘宝网站

1.2 网页中需要包含的要素

在互联网中,网页是一个文件,存储在某一台与互联网相连的计算机或服务器中,使用统一资源定位符(URL)来识别和访问,本节就来介绍网页中需要包含的要素。

1.2.1 需要HTML文件

HTML(Hypertext Marked Language),即超文本标记语言,是一种用来制作超文本文档的简单标记语言,是应用非常广泛的网页格式,也是用来显示Web页面的语言之一。

网页中所有定义的色彩、文字、表格,甚至是视频等元素的网页相关代码,都是编写在HTML文件中的,可以说HTML就是网站展示声音、图片、文字等元素的平台。图1-5展示了淘宝网首页的HTML相关代码。

图1-5 淘宝网首页的HTML相关代码

1.2.2 需要DIV层

标记是一个区块容器标记,在

标记中,可以放置其他的一些HTML元素,例如段落

、标题

、表格、图片和表单等。然后使用CSS 3相关的属性把div容器标记中的元素作为一个独立的对象进行修饰,这样就不会影响到其他HTML元素了。

形象地讲,在HTML网页文件中,DIV就相当于一个“圈地者”,它将网页分成若干个小区域,每一个DIV在网页上占据了一定的位置,在这个位置上,用户可以放置特定的内容。图1-6中的“手机数码”区域,就是先用DIV圈出一块地方,然后在上面放置“手机数码”的分类信息,其他区域也是这样来放置网页元素的,最后合在一起,就整合出了一个完美的网页了。

图1-6 网页上的“手机数码”区域及其他区域

1.2.3 需要CSS定义的网页样式

在网页中,设计者将DIV元素都放置好了,要想给浏览者呈现出一个丰富多彩的网页效果,还需要利用CSS来定义网页样式。

在设计网页的过程中,CSS扮演了一个“美术家”的角色,利用CSS,可以定义网页文字、图片以及视频等元素的显示方式,使其能够更贴切地接近我们的要求。如图1-7所示的网页中就使用了CSS来定义网页样式。

图1-7 使用了CSS来定义网页样式

CSS样式一般是作用在DIV上的,它需要与DIV一起构成网页上的一个模块,而网页又是由多个DIV构成的,因此,从狭义上讲,HTML + DIV + CSS组合起来,就能构成一个网站。

1.2.4 需要JavaScript设置网页动画

JavaScript是一种为了使网页能够具有交互性,能够包含更多活跃的元素,而嵌入在网页中的技术,它使我们的网页能够表现得内容更加生动,使网页的效果更加醒目。

JavaScript作为一种可以给网页增加交互性的脚本语言,拥有近20年的发展历史。它的简单、易学易用特性,使其立于不败之地。使用JavaScript可以很容易地制作出很多网页动画效果,如漂亮的时钟、广告效果的跑马灯等。

图1-8中,网页里的广告图片会自动地切换,而且单击图片左右两侧的箭头时,广告也会切换。这种效果就是用JavaScript脚本控制的。

图1-8 网页里的广告图片效果

1.2.5 需要域名与服务器空间

一个网站开发完成后,要想运营,需要给网站申请一个域名。申请域名的方法很多,用户可以登录域名服务商的网站,根据提示申请域名。域名有免费域名和收费域名两种,用户可以根据实际的需要进行选择。

域名注册成功之后,还需要申请网站空间,应根据不同的网站类型选择不同的空间。网站空间有免费空间和收费空间两种。对于个人网站的用户来说,可以先申请免费空间使用。免费空间只需向空间的服务提供商提出申请,在得到答复后,按照说明上传主页即可,主页的域名和空间都不用操心。对于商业网站而言,用户需要考虑空间和安全性等因素,为此可以选择收费网站。

使用免费空间美中不足的是:网站的空间有限,提供的服务一般,空间不是非常稳定,域名不能随心所欲地选择。

域名与网站是一一对应的关系,用户只需要在浏览器里输入某个域名,就能进入到对应的站点中。例如,在浏览器的地址栏中输入“www.baidu.com”这个域名,就能进入百度网站,如图1-9所示。

图1-9 进入百度网站

1.3 一个简单网页的基本构成

任何一个网页的内容都包含在和这对标签之内,在这对标签中,通常包含三个要素,分别是head部分、body部分以及注释部分。

1.3.1 head部分

头标记head用于说明文档头部的相关信息,一般包括标题信息、元信息、定义CSS样式和脚本代码等。HTML的头部信息以结束,语法格式如下:

...

元素的作用范围是整篇文档,定义在HTML语言头部的内容往往不会在网页上直接显示。在head标记中,一般可以设置title和meta等标记的内容。

1.3.2 body部分

网页所要显示的内容都放在网页的主体标记内,主体标记以开始,以标记结束,语法格式如下。

...

主体标记是HTML文件的重点所在,HTML的所有标记都将放在这个标记内。然而它并不仅仅是一个形式上的标记,它本身也可以控制网页的背景颜色或背景图像。

注意,在构建HTML结构时,标记不允许交错出现,否则会造成错误。例如,下列代码中出现了交错:

注释语句元素由前后两半部分组成,前半部分由一个左尖括号、一个半角感叹号和两个连字符头组成,后半部分由两个连字符和一个右尖括号组成。例如:

网页

页面注释不但可以对HTML中一行或多行代码进行解释说明,而且能够注释掉某些代码。如果希望某些HTML代码在浏览器中不显示,可以将这部分内容放在之间。例如,修改上述代码,如下所示:

……

标记测试

Introduction

伴随着Web 2.0潮流的盛行,传统的表格布局模式正逐渐被网页标准化CSS + DIV的设计方式取代,对最新CSS 3的学习也成为网页设计师的必修功课。本书专门针对网页样式与布局的初学者,帮助他们快速提高实战水平。

1. 本书特色

(1)知识全面:由浅入深,涵盖了所有的CSS 3 + DIV知识点,帮助读者快速掌握网页设计方面的技能。

(2)图文并茂:在介绍案例的过程中,每一个操作均有对应的插图。图文结合的方式使读者在学习过程中能够直观、清晰地看到操作的过程及效果,便于更快地理解和掌握。

(3)易学易用:颠覆传统“看”书的观念,变成一本能“操作”的图书。

(4)案例丰富:把知识点融会于系统的案例实训中,并且结合经典案例进行讲解和拓展,进而实现“知其然,并知其所以然”的效果。

(5)贴心提示:本书对读者在学习过程中可能会遇到的疑难问题以“提示”和“注意”等形式进行说明,以免读者在学习的过程中走弯路。

(6)超值赠送:除了本书的素材和结果外,还附赠封面所述的大量的资源,读者可以全面掌握网页设计方方面面的知识。

2. 读者对象

本书不仅适合网页设计初级读者入门学习,也可作为中、高级用户的参考手册。书中大量的实例模拟真实的网页设计案例,对读者的工作有现实的借鉴作用。

3. 作者团队

本书作者刘玉红长期从事网站设计与开发工作。胡同夫、梁云亮、王攀登、王婷婷、陈伟光、包慧利、孙若淞、肖品、王维维和刘海松等人参与了本书的编写工作。

本书虽然倾注了编者的努力,但由于水平有限,书中难免存在疏漏之处,恳请读者批评指正。读者如果遇到问题或有意见和建议,敬请与我们联系,我们将全力提供帮助。

编 者

Specifications

Brand Jingdong book
Brand Origin China

Disclaimer

Product packaging, specifications and price are subject to change without notice. All information about the products on our website is provided for information purposes only. Please always read labels, warnings and directions provided with the product before use.

View Full Terms of Use
Add to favorites
{{ $isZh ? coupon.coupon_name_sub : coupon.coupon_ename_sub | formatCurrency }}
{{__("Buy Directly")}} {{ itemCurrency }}{{ item.directly_price }}
Quantity
{{ quantity }}
{{ instockMsg }}
{{ limitText }}
{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}
Sold by JD@CHINA
Ship to
{{ __("Ship to United States only") }}
Free shipping over 69
Genuine guarantee

Added to Cart

Keep Shopping

More to Consider

{{ item.brand_name }}

{{ item.item_name }}

{{ item.currency }}{{ item.market_price }}

{{ item.currency }}{{ item.unit_price }}

{{ item.currency }}{{ item.unit_price }}

Coupons

{{ coupon.coupon_name_new | formatCurrency }}
Clip Clipped Over
{{ getCouponDescStr(coupon) }}
{{ coupon.use_time_desc }}
Expires soon {{ formatTime(coupon.use_end_time) }}

Share this item with friends

Cancel

Yami Gift Card

Get this exclusive deal when paying with gift card

Terms and Conditions

Gift card deals are special offers for selected products;

The gift card deals will automatically be activated if a customer uses gift card balance at check out and the balance is sufficient to pay for the total price of the shopping cart products with gift card deals;

You will not be able to activate the gift card deals if you choose other payment methods besides gift card. The products will be purchased at their normal prices;

If your account balance is not enough to pay for the products with gift card deals, you can choose to reload your gift card balance by clicking on the Reload button at either shopping cart page or check out page;

Products that have gift card deals can be recognized by a special symbol showing 'GC Deal';

For any additional questions or concerns, please contact our customer service;

Yamibuy reserves the right of final interpretation.

Sold by Yami

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

Yami is committed to provide our customers with a peace of mind when purchasing from us. Most items shipped from Yamibuy.com can be returned within 30 days of receipt of shipment (For Food, Beverages, Snacks, Dry Goods, Health supplements, Fresh Grocery and Perishables Goods, within 7 days of receipt of shipment due to damages or quality issues; To ensure that every customer receives safe and high-quality products, we do not provide refunds or returns for beauty products once they have been opened or used, except in the case of quality issues; Some products may have different policies or requirements associated with them, please see below for products under special categories, or contact Yami Customer Service for further assistance).
Thank you for your understanding and support.

Learn More

Sold by Yami

Terms and Conditions of Yami E-Gift Card

If you choose “Redeem automatically” as your delivery method, your gift card balance will be reload automatically after your order has been processed successfully;

If you choose “Send to Email”as your delivery method, the card number and CVV will be sent to the email address automatically;

Any user can use the card number and CVV to redeem the gift card, please keep your gift card information safely. If you have any trouble receiving email, please contact Yami customer service;

Yami gift card can be used to purchase both Yami owned or Marketplace products;

Yami gift card will never expire;

Yami gift card balance does not have to be used up at once;

All rights reserved by Yami.

Return Policy

Gift card that has already been consumed is non-refundable.

Sold by JD@CHINA

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Sold by JD@CHINA

Service Guarantee

Yami Cross-store Free Shipping over $69
Yami 30-days Return

Yami-China FC

Yami has a consolidation warehouse in China which collects multiple sellers’ packages and combines to one order. Our Yami consolidation warehouse will directly ship the packages to your door. Cross-store free shipping over $69.

Return Policy

You may return products within 30 days upon receiving the products. Sellers take responsibilities for any wrong shipment or missing items. Packing needs to be unopened for any other than quality issues return. We promise to pack carefully, but because goods are taking long journey to destinations, simple damages to packaging may occur. Any damages not causing internal goods quality problems are not allowed to return. If you open the package and any quality problem is found, please contact customer service within three days after receipt of goods.

Shipping Information

Yami Consolidation Service Shipping Fee $9.99(Free shipping over $69)

Sellers in China will ship their orders within 1-2 business days once the order is placed. Packages are sent to our consolidation warehouse in China and combined there. Our Yami consolidation warehouse will directly ship the packages to you via UPS. The average time for UPS to ship from China to the United States is about 10 working days and it can be traced using the tracking number. Due to the pandemic, the delivery time may be delayed by about 5 days. The package needs to be signed by the guest. If the receipt is not signed, the customer shall bear the risk of loss of the package.

Sold by JD@CHINA

Service Guarantee

Free shipping over 69
Genuine guarantee

Shipping

Yami Consolidated Shipping $9.99(Free shipping over $69)


Seller will ship the orders within 1-2 business days. The logistics time limit is expected to be 7-15 working days. In case of customs clearance, the delivery time will be extended by 3-7 days. The final receipt date is subject to the information of the postal company.

Yami Points information

All items are excluding from any promotion or points events on Yamibuy.com

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Yami

Download the Yami App

Back Top

Recommended for You

About the brand

Jingdong book

为您推荐

Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折

Reviews{{'('+ commentList.posts_count + ')'}}

Have your say. Be the first to help other guests.

Write a review
{{ totalRating }} Write a review
  • {{i}} star

    {{i}} stars

    {{ parseInt(commentRatingList[i]) }}%

Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}
Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}

No related comment~

Review

Yami Yami

{{ showTranslate(commentDetails) }}Show Less

{{ strLimit(commentDetails,800) }}Show more

Show Original

{{ commentDetails.content }}

Yami
Show All

{{ formatTime(commentDetails.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ commentDetails.likes_count }} {{ commentDetails.likes_count }} {{ commentDetails.reply_count }} {{commentDetails.in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Comments{{'(' + replyList.length + ')'}}

Yami Yami

{{ showTranslate(reply) }}Show Less

{{ strLimit(reply,800) }}Show more

Show Original

{{ reply.reply_content }}

{{ formatTime(reply.reply_in_dtm) }}

{{ reply.reply_likes_count }} {{ reply.reply_likes_count }} {{ reply.reply_reply_count }} {{reply.reply_in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Cancel

That’s all the comments so far!

Write a review
How would you rate this item?

Please add your comment.

  • A nice nickname will make your comments more popular!
  • The nickname in your account will be changed to the same as here.
Thanks for your review
Our community rely on great reviews like yours to find the best of Asia.

Report

If you find this content inappropriate and think it should be removed from the Yami.com site, let us know please.

Cancel

Are you sure to delete your review?

Cancel

You’ve Recently Viewed

About the brand

Jingdong book