Skip to Main Content
建構Android應用程式--使用HTML、CSS和JavaScript 第二版
book

建構Android應用程式--使用HTML、CSS和JavaScript 第二版

by Jonathan Stark, Brian Jepson
May 2012
Intermediate to advanced content levelIntermediate to advanced
176 pages
3h 43m
Chinese
GoTop Information, Inc.
Content preview from 建構Android應用程式--使用HTML、CSS和JavaScript 第二版
基本樣式
15
第一步
理論很棒,但我是那種「秀給我看,別光用講」的人,所以,讓我們開始做事吧。
假設你有個網站,而你想將其行動化(圖
2-1
)。就此場景而言,有很多簡單事情可以將
網頁調整為適合
Android
系統。本章會檢視你可能的選擇。範例
2-1
是簡化過的網頁,圖
2-2
是範例
2-1
看起來的樣子。這是你在本章中會使用的
HTML
如果你在讀這一章時想試一試樣式,可以從本書網站下載(參見第
xii
頁的
與我們聯絡”)。桌面樣式表(
screen.css
)沒有列出來,因為那不重要
但是,如果你想試著使用看看,可以利用前章的樣式表
2.1
:桌上型電腦的
Chrome
瀏覽器觀看一般網站網頁的畫面
16
第二章
範例
2.1
:我們要配上樣式的
HTML
文件
<html>
<head>
<link rel="stylesheet" href="screen.css" type="text/css" />
<title>Jonathan Stark</title>
</head>
<body>
<div id="container">
<div id="header">
<h1><a href="./">Jonathan Stark</a></h1>
<div id="utility"> ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

大模型应用开发极简入门 : 基于GPT-4和ChatGPT

大模型应用开发极简入门 : 基于GPT-4和ChatGPT

Olivier Caelen, Marie-Alice Blete
HBase管理指南

HBase管理指南

Posts & Telecom Press, Yifeng Jiang
自然语言处理与计算语言学

自然语言处理与计算语言学

Posts & Telecom Press, Bhargav Srinivasa-Desikan

Publisher Resources

ISBN: 9789862764817