Category: CSS

Programming Windows 8 Apps with HTML, CSS, and JavaScript (Second Preview)

My image
  • Author: Kraig Brockschmidt
  • Format: PDF
  • Price: free

This book is about writing Windows 8 apps in HTML, CSS, and JavaScript. The earlier chapters are indeed very specific to that particular choice of language and presentation layer, along with the Windows Library for JavaScript.

Somewhere around Chapters 7 and 8, however, we really begin to transition more into the WinRT APIs that are applicable to apps written in any language. I’m finding this especially true as I’m writing Chapter 13 on live tiles and notifications—very little of it, other than the code snippets, is unique to JavaScript, especially when talking about tile-updating web services written with server-side technologies like PHP and ASP.NET! My point in saying this is that while I’ve written this book ostensibly for web developers who are and will be looking to create apps for Windows 8 and the Windows Store, much of this book will also be very helpful to Windows 8 developers in general. And since it is now and will be a free ebook, you can’t lose!

Chapters include:

  • The Life Story of a WinRT App: Platform Characteristics of Windows 8
  • Quickstart
  • App Anatomy and Page Navigation
  • Controls, Control Styling, and Data Binding
  • Collections and Collection Controls
  • Layout
  • Commanding UI
  • State, Settings, Files, and Documents
  • Input and Sensors
  • Media
  • Purposeful Animations
  • Contracts

http://blogs.msdn.com/b/microsoft_press/archive/2012/08/20/free-ebook-programming-windows-8-apps-with-html-css-and-javascript-second-preview.aspx

The Web Book

My image
  • Author: Robert Schifreen
  • Format: PDF download (click the blue download button)
  • Price: Free for personal use

The Web Book is a complete 330-page book that tells you how to create a Web site from scratch. It covers everything from registering a domain name and renting some hosting space, to creating your first HTML page, to building full online database applications with PHP and MySQL. You can download The Web Book as a PDF file completely free of charge for personal use.

Contents include:

  • About The Web Book
  • Our Choice of Web Host
  • Licensing The Web Book
  • A Custom Edition For Your Company
  • Who’s Written This Book?  And Why?
  • Why We’re Here
  • From Word Processor to Web Site
  • How long should all this take?
  • What Is a Web Site Anyway?
  • How the Web Works
  • Domain Names
  • The Simple Option
  • The Flexible Option
  • About Web Content
  • Do you need a development server?
  • Getting Everything Together
  • Our Domain Name and Hosting
  • It’s Not Rude to Point
  • Our HTML Editor and FTP Client
  • Amaya
  • Make A Web Work Folder
  • Filezilla
  • Creating Your First Web Page
  • Now step away from the computer!
  • Keep On Reading
  • WWW – What, Why, Who?
  • Importing Existing Content
  • Writing For The Web
  • Fonts and Colours
  • Hyperlinks
  • Linking to Other Sites
  • Mailto: Links
  • Understanding The Basics of HTML
  • Meta tags
  • HTML and Privacy
  • Validating your HTML
  • A Bit More about Accessibility
  • Cascading Style Sheets
  • About DOCTYPEs
  • Getting Started with CSS
  • A Word About Fonts
  • Classes
  • Making Styles Work For You
  • HTML Tags Names
  • A Better CSS Editor
  • ID-based Styles
  • Extreme CSS
  • Page Layouts and Div Tags
  • The CSS Box Model
  • Pictures On Pages
  • About Image Sizes
  • Pictures As Links
  • Finding Images to Use on Your Site
  • A Browser Icon for your Site
  • The Short Cut to Great Web Pages
  • Using an Open Source Design
  • Tweaking the Text
  • Changing the Pictures
  • Changing the CSS Styles
  • Which Style Is This?
  • Adding Pages and Navigation
  • Uploading the Finished Files
  • Rules, Tables and Image Maps
  • Rules
  • Tables
  • Image Maps
  • Password-Protecting your Web Pages
  • The .htaccess File
  • The .htpasswd File
  • Protecting Multiple Folders
  • CMSes and Other Software
  • CMSes and Templates
  • Automatic Installers
  • Try Before You Install
  • A Word about Patching
  • Setting Up A Database
  • General Installation Procedures
  • Uninstalling
  • Joomla
  • Uploading the Files
  • Configuring Joomla
  • Your New Joomla Site
  • WordPress
  • Downloading the Software
  • Make a Database
  • Configure WordPress
  • Upload The Software
  • Final Configuration
  • phpBB
  • File Permissions
  • Plogger
  • Getting Started
  • The Installation Process
  • Uploading Your Pictures
  • Avoiding Data Overload
  • Installing the PSPad Editor
  • Javascript
  • Choose Your Side
  • Javascript and Semicolons
  • Email Address Obfuscation
  • Why Upload?
  • Security and Cookies
  • Morning All!
  • Getting the Screen Size
  • Javascript Toolkits and Frameworks
  • Finding Out More
  • MySQL and Web Databases
  • Databases, Tables, Fields, Rows and Columns
  • Normalization
  • Referential Integrity
  • Creating A Database
  • Using phpMyAdmin
  • Creating The Customers Table
  • Inserting Some Data
  • Querying the Customers Table
  • Introducing PHP
  • Don’t Panic
  • Your First PHP Program
  • Some More PHP
  • Random Numbers
  • Sending Email with PHP
  • Passing Information to PHP
  • Don’t Forget to Sanitize
  • Loop the Loop
  • Arrays
  • User-Defined Functions
  • HTML Forms
  • Creating a Form with Amaya
  • Naming the Form Objects
  • Handling Form Data in PHP
  • Testing The Form
  • Other Types of Form Data
  • Checkbox Arrays
  • Feedback Forms
  • Hidden Fields
  • Accessing MySQL Databases with PHP
  • Counting Rows
  • Reading Data
  • Searching A Table
  • About SQL Injection Attacks
  • Adding Data to a Table
  • Editing a Data Record
  • Deleting Data
  • Putting it All Together
  • Debugging and Global Variables
  • Syntax Errors
  • Coding Errors
  • The $_SERVER Variables
  • The Structure of a PHP Application
  • Web Servers and the Real World
  • Putting the App Together
  • Saving State
  • How to Back Up your Web Site
  • Don’t Forget the Database
  • Restoring Lost Information
  • Finance and Marketing Issues
  • Promoting Your Site
  • Making Money
  • Accepting Online Payments
  • Managing your Marketing
  • Search Engine Optimisation
  • SEO Tips
  • Keeping the Crawlers Away
  • If at First you Don’t Succeed, Pay
  • The End.  So, What Now
  • Appendix A – Building a Test Server
  • Our Goal
  • First Install the OS
  • Some Useful Commands
  • Get Updated
  • Test Your Web Server
  • Install the Telnet Server
  • An ftp server
  • Webmin
  • Webalizer
  • PHP and MySQL

Get the book: The Web Book

CSS 2 Tutorial

My image
  • Author: Miloslav Nic
  • Format: online HTML
  • Price: free

In this tutorial CSS 2 stylesheets are applied on XML documents. It picks up where the CSS1 tutorial left off.

It is presented in 55 lessons, where you learn by studying examples. A complete reference to CSS 2 and an index of CSS properties are also provided.

Published under a GNU Free Documentation License and available in English, Portuguese, and Czech languages.

http://www.zvon.org/xxl/CSS2Tutorial/General/htmlIntro.html

CSS 1 Tutorial

My image
  • Author: Miloslav Nic
  • Format: online HTML
  • Price: free

A tutorial ebook on CSS 1 presented in 17 lessons, where you learn by studying examples. A complete reference to CSS 1 is also provided, with plenty more examples.

Published under a GNU Free Documentation License and available in English, Portuguese, and Czech languages.

Contents include:

  • Example 1: Defining the look of your pages from one central CSS file
  • Example 2: Using the same stylesheet to format different HTML sources
  • Example 3: Formatting a style sheet
  • Example 4: Colors
  • Example 5: Elements sharing the same properties
  • Example 6: The use of commas
  • Example 7: The use of semicolons
  • Example 8: Multiple definitions of a property
  • Example 9: Class attributes
  • Example 10: Classes with and without element names
  • Example 11: More colors
  • Example 12: Font sizes
  • Example 13: Font styles
  • Example 14: Text decoration
  • Example 15: Text alignement
  • Example 16: Borders
  • Example 17: Where to go next

http://www.zvon.org/xxl/CSSTutorial/Output/index.html

Cascading Style Sheets

My image
  • Author: Wikibooks, the open-content textbooks collection
  • Format: HTML
  • Price: free

This book is a guide to CSS–cascading style sheets, a technique widely used in web pages including Wikipedia to describe their visual style and appearance.

The book is a work in progress, and there may be incomplete or missing chapters.

Chapters include:

  • Introduction
  • Applying CSS to HTML and XHTML – linking, embedding and inlining
  • Applying CSS to XML
  • CSS Construction
  • Syntax
  • Defining Style Rules
  • Lengths and Units
  • Selectors
  • Inheritance Rules
  • The !important Keyword
  • CSS Presentation
  • Color
  • Fonts and Text
  • Hyperlinks
  • Lists
  • Box Model — setting the size and shape of elements
  • Background
  • Shorthand Properties
  • CSS Layout
  • Positioning — includes floating elements
  • Tables
  • Floating Elements
  • Media Types
  • CSS and Divs – in progress
  • Troubleshooting
  • Standards Mode and Quirks Mode
  • Browser Compatibility
  • CSS order of Rules (Troubleshooting multiple instances)
  • Hacks and Filters

http://en.wikibooks.org/wiki/Cascading_Style_Sheets