Archive for the ‘Uncategorized’ Category.

CSS Text style

CSS Text style :

text color,Alignment,Decoration,Indentation,and Transformation.

look a Example:

p{color:#cc0000; text-align:left; text-decoration:underline; text-indent:2em; text-transform:inherit;} Continue reading ‘CSS Text style’ »

css3 Columns

Proposes new properties to create flexible column layouts.

Multi-column layout in CSS

Abstract

This is a proposal for multi-column layout in CSS. It is based on several older proposals and comments on older proposals. Contributors include Bert Bos, Dave Raggett, Chris Wilson, Robert Stevahn, Peter Linss, Chris Lilley and Håkon Lie.

The document describes one main proposal, and two variations of the proposal.

Status of this document

This document forms one part of a modular set of Working Drafts which will, when complete, define the next level of CSS. There is consensus in the W3C Working Group on CSS&FP that the functionality described in this document is important to improve formatting, especially printing, from the Web. There is not yet consensus on the CSS syntax for describing multicolumn layouts. Continue reading ‘css3 Columns’ »

The :bound-element pseudo-class

The :bound-element pseudo-class, when used from a binding, must match the bound element of that binding. If the selector is used in a context that is not specific to a binding, then it must match any bound element. [SELECTORS]

Although the :bound-element pseudo-class is not directly dependent on the ‘binding’ property, specifying the ‘binding’ property on a CSS rule that uses the :bound-element pseudo-class on the last sequence of simple selectors can lead to an infinite loop. Authors should avoid doing this.

4.1. Example

The following example shows an XBL binding that uses this pseudo-class to to draw a border around each of the children of the bound element, but no other elements: Continue reading ‘The :bound-element pseudo-class’ »

What is parent-child selector

What is parent-child selector? [CSS2]

Parent-child selector is a selector representing the direct descendent of a parent element. Parent-child selectors are created by listing two or more tilde (~) separated selectors.

BODY ~ P {background: red; color: white}
The P element will be declared the specified style only if it directly descends from the BODY element:
<BODY><P>Red and white paragraph </P></BODY>

BODY ~ P ~ EM {background: red; color: white}
The EM element will be declared the specified style only if it directly descends from the P element which in its turn directly descends from the BODY element:
<BODY><P><EM>Red and white EM</EM></P></BODY>

What is attribute selector

Attribute selector[CSS2 ]is a selector defined by

1) the attribute set to element(s),

2) the attribute and value(s), 

3) the attribute and value parts:

1a) A[title] {text-decoration: underline}
All A elements containing the TITLE attribute will be underlined

1b) A[class=name] {text-decoration: underline}
The A elements classed as ‘name’ will be underlined

2) A[title="attribute element"] {text-decoration: underline}
The A elements containing the TITLE attribute with a value that is an exact match of the specified  value, which in this example is ‘attribute element’, will be underlined

3) A[title~="attribute"] {text-decoration: underline}
The A elements containing the TITLE attribute with a value containing the specified word, which in this example is ‘attribute’, will be underlined

my fisrt blog,Weather fine today

This is my css blog, welcome visit this site.

just test wordpress :)