BizTalk Utilities CV ,   Jobs ,   Code library  
 
Home Page
CSS
CSS <padding> Property
CSS <padding-top> Property
CSS <padding-right> Property
CSS <padding-left> Property
CSS <padding-bottom> Property
CSS <overflow> Property
CSS <outline> Property
CSS <outline-width> Property
CSS <outline-style> Property
CSS <outline-color> Property
CSS <min-width> Property
CSS <min-height> Property
CSS <max-width> Property
CSS <max-height> Property
CSS <marker-offset> Property
CSS <margin> Property
CSS <margin-top> Property
CSS <margin-right> Property
CSS <margin-left> Property
CSS <margin-bottom> 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 :257

 

The position property (CSS Reference)

Introduction

The position property works like the flow property. Both properties allow you to set the position of the element. You can use the left, right, top, and bottom properties with the position property.

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>position Demonstration</title>

<style type="text/css">

img.position

{

    position: absolute;

    bottom: 25%;

    left: 25%;

    right: 25%;

    top: 25%;

}

</style>

</head>

<body>

<h1><p>position demonstration</p></h1>

<img class="position" src="http://www.topxml.com/images/topxml_site.gif">

</body>

</html>

Output

Values

Name:

Description:

absolute

This value can be used to position the element anywhere on the page. You can set the position with the left, right, top, bottom properties.

fixed

This value can be used if you want the element to be fixed at a position. That means even if you scroll the page, the element wont move. This value only works with Netscape 6.1 but not with IE.

relative

This value is positioned as there were no offset.

static

This value can be used if you want to position the element in normal flow of the display page.


Rate this article on a scale of 1 to 10

Your vote :  


 

Recent Jobs

Software Developers Needed in Charl
Sr. Software Engineer - Analytics
Immediate Mainframe openings for Ch
Immediate TANDEM-TAL openings for C
Immediate ASP.NET/C# Openings for C

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



gotomeeting
swimming pool contractor
conference call
water softener
Teleconference
Host Department NOLIMIT Web Hosting
MSN
sunglasses


    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