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 <direction> Property
CSS <cursor> Property
CSS <counter-reset> Property
CSS <counter-increment> Property
CSS <content> Property
CSS <color> Property
CSS <clip> Property
CSS <clear> Property
CSS <caption-side> Property
CSS <bottom> Property
CSS <border> Property
CSS <border-width> Property
CSS <border-top> Property
CSS <border-top-width> Property
CSS <border-top-style> Property
CSS <border-top-color> Property
CSS <border-style> Property
CSS <border-spacing> Property
CSS <border-right> Property
CSS <border-right-width> 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 :1084

 

The display property (CSS Reference)

Introduction

The display property can be used to control if an element is displayed or not. If you are using this property without any placeholder then no space is reserved for the control. It would be displayed, as the element doesn’t exist on the page. With the help of dynamic html you can make the element later visible again. Note: All values in this property are not completely supported by IE or Netscape.

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>

<style type="text/css">

h3.inline

{

            display:inline

}

h3.hidden

{

            display:none

}

</style>

<title>display Demonstration</title>

</head>

<body>

<h1>

  <p>

    This property is used to define whether an element is visible or not. Note that you only see two elements.

  </p>

</h1>

<h3 class="inline"><p>This is an inline element</p></h3>

<h3 class="hidden"><p>This is some hidden text</p></h3>

<h3 class="inline"><p>This is another inline element</p></h3>

</body>

</html>

Output

Values

Name:

Description:

block

This is the default value of the property. It renders a break line before and after the element. The element is treated like a block.

compact

This value is used to render the element as an inline element.

inline-table

This value displays the table as an inline element.

list-items

This value is used to create a list.

marker

This value is used with the before and after elements to specify the content.

none

This value can be used if you do not want to display the element.

run-in

The run-in value is used to assign the element to be a block-level.

table

This value is used to display the element as a block-level table.

table-caption

This value displays the value as a table caption.

table-column

This value displays the element as a table-column.

table-column-group

This value displays the element as a group of a table-column.

table-footer-group

This value displays the element as a group of a table-footer.

table-header-group

This value displays the element as a group of the table-header.

table-row-group

This value displays the element as a group of the table-row.


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