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 white-space property (CSS Reference)

Introduction

The white-space property can be used to specify the white-space (blank) in an element.

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>white-space Demonstration</title>

<style type="text/css">

p.normal

{

    white-space:normal;

}

p.pre

{

    white-space:pre;

}

p.nowrap

{

    white-space:nowrap;

}

</style>

</head>

<body>

<h1><p>white-space demonstration</p></h1>

<p class="normal">This is the normal value for the white-space property. This is the normal value for the white-space

property. This is the normal value for the white-space property. This is the normal value for the white-space

property.</p><br/>

<p class="pre">This     is          the        pre       value    for the white-space property.</p><br/>

<p class="nowrap">This is the nowrap value for the white-space property. This is the nowrap value for the white-space

property. This is the nowrap value for the white-space property. This is the nowrap value for the white-space property.</p>

</body>

</html>

Output

Values

Name:

Description:

normal

This is the default value of the white-space property.

pre

The pre value is like the HTML tag <pre>. It renders the output the same as you write in your HTML.

nowrap

The nowrap value is used to continue the text on the same line till a line break or a <br> tag appears.

 

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