BizTalk Utilities CV ,   Jobs ,   Code library  
 
 

The max-width property (CSS Reference)

Introduction

The max-width property can be used to specify the maximum width of an element. 

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>max-width Demonstration</title>

<style type="text/css">

p.maxwidth

{

    max-width: 250px;

}

</style>

</head>

<body>

<h1><p>max-width demonstration</p></h1>

<p class="maxwidth">This is an element with the max-width of 250px</p>

 

</body>

</html>

Values

Name:

Description:

length

The following values can be also used to define the maximum width:

cm (centimeter)

em  (ems)

inch (inches)

mm (millimeters)

pc (picas)

px (pixels)

pt (points)

none

This value is used if you do not want to specify any max-width limit.

percentage

This value can be used to define the maximum width with percentages. You have to use the percentage sign %.

 

Recent Jobs

An immediate job opportunity as a B
Software Developers Needed in Charl
Sr. Software Engineer - Analytics
Immediate Mainframe openings for Ch
Immediate TANDEM-TAL openings for C

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



answering service
soccer drills
swimming pool builder
help desk support
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