phpeveryday.com

The best tutorial of php, php framework, php strategies, object oriented oriented,


CSS - Basic: Understanding CSS Selectors

Tag: css, css selector   Category: CSS
post: 24 Jan 2008 read: 498


CSS Step By Step Tutorial: Every CSS Style definition has two components:

- A list of one or more element (elements) which style will be applied. We called Selectors
- The declaration block specifies what the style actually does.

css selectors

Type Selectors

Class Selectors

class selectors

ID Selectors

id selectors

Descendent Selectors

descendent selectors

Child Selectors

child selectors

This style above will not apply at "subcontent" class, because we use >.

Pseudo-Class Selectors

descendent selectors




| Give Your Opinion | Recommend
Share and Bookmark to: These icons link to social bookmarking sites where readers can share and discover new web pages.
digg del.icio.us technorati Ma.gnolia BlinkList

Recommended articles by other readers:
Web Services: How PHP Kiss VB.NET? (Part 1)
Chart: How to Build Cool Animation Real Time Chart
Joomla: Fast Road to Understand Component Programming
Email: Send Attachement Mail
mod_rewrite - Part 1: create your "fantasy" URL

What do You Think?
Your Name *:
Email *:
(Will not be published)
Website/URL:
Your Comment *:
* Required


615
posting