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 <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
CSS <list-style> Property
CSS <list-style-type> Property
CSS <list-style-position> Property
CSS <list-style-image> Property
CSS <line-height> Property
CSS <letter-spacing> 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 :7395

 

The overflow property (CSS Reference)

Introduction

The overflow property works similar to the clip property. It simply allows you to select whether an element should be cut off or not if it is too big.

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

<style type="text/css">

div.overflow

{

    overflow: scroll;

    height: 100px;

    width: 100px;

}

div.auto {

    overflow: auto;

}

div.hidden

{

    overflow: hidden;

    height: 100px;

    width: 100px;

}

</style>

</head>

<body>

<h1><p>overflow demonstration</p></h1>

<h2>Overflow</h2>

<div class="overflow">

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

</div>

<h2>Auto</h2>

<div class="auto">

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

</div>

<h2>Hidden</h2>

<div class="auto">

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

</div>

</body>

</html>

Output

Values

Name:

Description:

auto

This value can be used if you want the element to be clipped. It will show scrollbars to see the rest of the element.

hidden

This value can be used if you want to see only the clipped part of the element.

scroll

This value can be used if you want the element to be clipped. It will be show scrollbars to see the rest of the element.

visible

This value can be used if you do not want the element to be clipped. It will show the element in any case. It doesn’t matter if it is too big or not. It will automatically extend the boundaries if the element is too big.


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