text-align (CSS2)

Specifies the horizontal alignment property for the element.

Syntax

center | justify | left | right | inherit

Examples having uses of: 'text-align'

0 votes
13k views

HTML Table Layout

Table layout styled with CSS attributes and managed by HTML class attribute.
1 votes
12k views

CSS nth-child

The nth child selector is used to select the specified element of the page.
2 votes
11k views

CSS on HTML

Extend the standard HTML element styles by CSS.
0 votes
10k views

CSS Text Align

This example uses an Internal CSS Style Sheet to make the heading centred, along with the main text. It moves the example date to the right hand side.
2 votes
2k views

HTML Div Layout

The HTML div element is a block level element used for grouping HTML elements.
0 votes
2k views

JavaScript clearInterval method

JavaScript clearInterval function enables you to stop the timer event started by the JavaScript setIntterval function. When you apply the setInterval function a JavaScript function by specifying the time interval then it calls the function continuously after equal intervals of time.
0 votes
2k views

HTML Table Alignment

You can create text alignment for the table by using the HTML style attribute and setting CSS attribute "text-align: right"
1 votes
1k views

CSS Basic Formatting

This example uses a basic internal CSS Style Sheet sets the page background to green (#9AFE2E), and then we add CSS attributes for <h1> and <p> tags.
0 votes
1k views

CSS Align

The text-align property specifies the horizontal alignment of text in an element.
1 votes
1k views

CSS3 Border-radius

The CSS3 border-radius property allows web developers to easily utilise rounder corners in their design elements, without the need for corner images or the use of multiple div tags.
1 votes
1k views

jQuery User Controlled Animation

jQuery Animate can function supports animation in different directions
0 votes
1k views

CSS Fonts

Using CSS font properties we can set the color, hight , width ,size and alignment of the Font.
0 votes
1k views

CSS Text Align

Text can be centered, or aligned to the left or right, or justified. When text-align is set to "justify", each line is stretched so that every line has equal width, and the left and right margins are straight (like in magazines and newspapers).