This site has been taken over by the staff of www.ASPDeveloper.Net

Please report errors to suggest@aspdeveloper.net

BizTalk Utilities CV ,   Jobs ,   Code library  
 
Home Page
CSS
CSS <left> Class
CSS <lang> Class
CSS <focus> Class
CSS <first> Class
CSS <first-child> Class
CSS <active> Class
CSS <z-index> Property
CSS <word-spacing> Property
CSS <width> Property
CSS <white-space> Property
CSS <visible> Property
CSS <vertical-align> Property
CSS <unicode-bidi> Property
CSS <top> Property
CSS <text-transform> Property
CSS <text-shadow> Property
CSS <text-indent> Property
CSS <text-decoration> Property
CSS <text-align> Property
CSS <table-layout> Property
<< BizTalk
 

By :Mark Wilson
I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :03/24/2008
Times viewed :1715

 

The right property (CSS Reference)

Introduction

The right property is used to determine the absolute position from right for the content. This property is best used with the property position. The following example demonstrates the usage and positions 3 strings from right.

Example

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head><title>right Demonstration</title>

<style type="text/css">

p.right0

{

            position:absolute;

            right:0px;

}

p.right1

{

            position:absolute;

            right:25px;

}

p.right2

{

            position:absolute;

            right:50px;

}

</style>

</head>

<body>

<h1><p>The text should be somewhere at the right.</p></h1>

<h1><p class="right0">Hello World0</p></h1><br/>

<h1><p class="right1">Hello World1</p></h1><br/>

<h1><p class="right2">Hello World2</p></h1>

</body>

</html>

Output

Values

Name:

Description:

auto

Defines the position automatically.

length

The following values can be also used to define the right distance:

cm (centimeter)

em  (ems)

inch (inches)

mm (millimeters)

pc (picas)

px (pixels)

pt (points)

percentage

Defines the distance of the content from right in percentages. You have to use the percentage sign %.


Rate this article on a scale of 1 to 10

Your vote :  


 

Recent Jobs

Software Specialist, Linux - Finlan
Linux Core Technical Project Manage
Graphics designer at Tanzania. Expe
Integration Specialist Needed - Wor
Virtualization Server Infrastructur

View all Jobs (Add yours)
View all CV (Add yours)






    Email TopXML  

Front Page Daily Stuff TopXML Forum XML blogs XML Newsgroups BizTalk Biztalk Utilities Biztalk Utilities Tutorial B2B SAP XML Microsoft .NET Dotnet System XML Soapformatter SQLXML XMLserializer XQuery PHP PHP SimpleXML PHP XML Dom PHP XML RPC PHP XSLT Java Java Java XML Xalan Microsoft ASP ASP Schemas XML SQL Server XML XMLDom XSL XSL Tutorial XSLT Stylesheets General Javascript CSS XHTML WAP