Adobe
Products
Creative Suite
Photoshop Family
Acrobat Family
Flash Platform
Digital Marketing Suite
Digital Publishing Suite
More products
Solutions
Digital marketing solutions
Digital media solutions
Education
Financial services
Government
Web Experience Management
More solutions
Learning Help Downloads Company
Store
Adobe Store for home and home office
Education Store for students, educators, and staff
Business Store for small and medium businesses
Other ways to buy
Search
 
Info Sign in
Welcome,
My cart
My orders My Adobe
My Adobe
My orders
My information
My preferences
Sign out
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Adobe
Products Sections   Search  
Solutions Company
Help Learning
Sign in Welcome, My orders My Adobe
Qty:
Purchase requires verification of academic eligibility
Subtotal
Review and Checkout
Adobe Developer Connection / Dreamweaver Developer Center /

Getting Started with CSS excerpts: Styling tables, backgrounds, and borders

by David Powers

David Powers
  • http://foundationphp.com/

Created

21 December 2009

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
CSS design Dreamweaver CS4 styling

Requirements

User level

Beginning

Knowledge of cascading style sheets (CSS) is essential for developing modern, attractive websites, but many beginners are put off by the need to learn about unfamiliar concepts, such as selectors, properties, and classes, before they can achieve anything. Getting StartED with CSS takes a practical approach by showing you how to use CSS in simple stages, starting by changing the default appearance of HTML tags to improve the look of text and links. It assumes no prior knowledge of CSS and avoids bombarding you with unnecessary technical details. At the same time, it explains all the main points and acts as a reference that you can come back to when you need to refresh your memory.

Aimed at anybody who wants to learn how to style websites using CSS, this book covers the following topics:

  • What Is CSS, and Why Should I Learn It? (PDF , 2.2 MB)
  • How Do I Improve the Look of Text and Links?
  • How Can I Improve the Layout of My Text?
  • How Can I Flow Text Around Images?
  • How Do I Add Backgrounds and Borders to Improve the Look of My Page? (PDF , 2.2 MB)
  • How Do I Solve the Mysteries of Width and Height?
  • How Do I Create Differently Styled Sections?
  • How Do I Style Lists and Navigation Menus?
  • How Do I Style Tables? (PDF , 2.2 MB)
  • How Do I Position Elements Precisely on the Page?
  • Are There Any Guidelines for Basic Page Layout?
  • How Do I Create Styles for Printing?
  • Appendix: CSS Properties and Selectors

The printed book is available through Friends of Ed, an APress company.

Getting StartED with CSS © 2009 David Powers. Reproduced by permission of Friends of Ed. All rights reserved.

What Is CSS, and Why Should I Learn It?

In the beginning, the Web was simple. It consisted of plain, unadorned text. Headings were in large, bold type; links were blue and underlined—and that was it. The lack of images and any attempt at styling the page seem odd to us now, but the Web's origins lie in the scientific community, not with artists or graphic designers. However, it didn’t take long before people other than scientists realized the potential of the Web and began to demand the ability to include images. Once images began to brighten up web pages, designers wanted not only a way to make text look more interesting but also to lay out the contents of a page in more attractive ways than just headings and paragraphs. Many designers think of CSS as the “new” way to style web pages, so it comes as quite a surprise to discover that CSS has been with us for years. The original specification was published by the World Wide Web Consortium (W3C) at the end of 1996.

Download the complete chapter:

  • Chapter 1: What Is CSS and Why Should I Learn It? (PDF, 2.2 MB)

How Do I Add Backgrounds and Borders to Improve the Look of My Page?

The secret of good web design is drawing the visitor's eyes to important parts of the page. Images, borders, and background colors all help to break up the page and focus attention. Images of the Grand Canyon not only look attractive, they tell the visitor what the Grand Canyon looks like. But images can also serve another purpose—decorative touches that please the eye and give a unified look to the site. Rather than littering the HTML markup with purely decorative images, it's preferable to add them as background. Although some HTML tags allow you to add background images, the options are very limited. CSS, on the other hand, gives you an amazing amount of control over the location and appearance of background images.

Download the complete chapter:

  • Chapter 5: How Do I Add Backgrounds and Borders to Improve the Look of My Page? (PDF, 2.2 MB)

How Do I Style Tables?

Tables seem to be the most divisive of all HTML elements—you either love 'em or hate 'em. For years, they were the only way to build a grid structure to lay out web pages. But tables work in a unique way. The height of each row is determined by the tallest object in the row, and the width of each column is determined by the widest object in the column. Just when you think you have everything nicely aligned, you add something slightly bigger in a table cell, and the whole table structure shifts.

Download the complete chapter:

  • Chapter 9: How Do I Style Tables? (PDF, 2.2 MB)

More Like This

  • Understanding CSS basics
  • Dreamweaver templates: Customizable starter designs for web designers
  • Creating your first website – Part 1: Set up your site and project files
  • Getting to know your CSS selectors – Part 1: CSS2.1 and attribute selectors
  • Dreamweaver templates: Customizable starter designs for beginners
  • Building a photo album with the Spry framework
  • From table-based to tableless web design with CSS – Part 1: CSS Basics
  • Understanding specificity
  • Managing websites with multiple layouts
  • Understanding cascading style sheets

Tutorials and samples

Tutorials

  • Mobile app with PhoneGap – Part 7: Submitting to the Apple App Store
  • PhoneGap and Dreamweaver: Releasing on iOS
  • Mobile app with PhoneGap – Part 5: Submitting to Android Market
  • Mobile app with PhoneGap – Part 4: Creating a release build for Android

Samples

  • Responsive design with jQuery marquee
  • Customizable starter design for jQuery Mobile
  • Customizable starter design for HTML5 video
  • Customizable starter design for multiscreen development

Dreamweaver user forum

More
02/07/2012 Any testing server experts out there?
02/07/2012 Another quick CSS layout question - vertical align:middle
01/25/2012 Dreamweaver and CMS
02/07/2012 Cannot insert a background image in an editable ID style

Dreamweaver Cookbook

More
11/07/2011 Simple social networking share buttons
09/20/2011 Registration form that will generate email for registrant to validate
08/21/2011 Spry Accordion - Vertical Text - Auto Start on Page Load - Mouse Over Pause
08/17/2011 Using cfdump anywhere you like

Products

  • Creative Suite
  • Photoshop Family
  • Acrobat Family
  • Flash Platform
  • Digital Marketing Suite
  • Digital Publishing Suite
  • Mobile apps

Solutions

  • Digital marketing
  • Digital media
  • Web Experience Management

Industries

  • Education
  • Financial services
  • Government

Help

  • Product help centers
  • Orders and returns
  • Downloading and installing
  • My Adobe

Learning

  • Adobe Developer Connection
  • Adobe TV
  • Training and certification
  • Forums
  • Design Center

Ways to buy

  • Adobe Store
  • For students and educators
  • For small and medium businesses
  • For enterprises
  • Special offers

Downloads

  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR
  • Adobe Shockwave Player

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • Pacific - English
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2012 Adobe Systems Incorporated. All rights reserved.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy (updated 07-14-2009).

Ad Choices

Reviewed by TRUSTe: site privacy statement