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  
 
 

The marker-offset property (CSS Reference)

Introduction

The marker-offset property can be used to specify the nearest border edges of a marker box and its associated principal box. A list item is displayed in a principal box and the marker is displayed in a marker-box.

Note: Please check if the browser you're targeting supports this property yet. Many don't, at the time of publishing.

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>marker-offset Demonstration</title>

<style type="text/css">

li:Before

{

    display: marker;

    marker-offset: 3em;

}

</style>

</head>

<body>

<h1><p>marker-offset demonstration</p></h1>

<ol>

  <li>This is the first Item</li>

  <li>This is the second Item</li>

  <li>This is the third Item</li>

</ol>

</body>

</html>

Values

Name:

Description:

auto

This value can be used to set the marker-offset automatically.

length

The following values can be also used to define the marker-offset:

cm (centimeter)

em  (ems)

inch (inches)

mm (millimeters)

pc (picas)

px (pixels)

pt (points)

 

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