display CSS Property

The CSS display property is used to set the type of boxes that different elements should create. Some display types are not supported in Internet Explorer.

Definition Of display property:

The display is a property of CSS that defines what type of boxes that surrounds elements should generate and how it will displayed.

What display property can do?

This display property is very important and useful property of CSS that determines how browsers treat boxes that are around different elements. For example, none, block, inline-block, inline-table, table-row, table-cell, table-column, etc.

How to use CSS display property?

Syntax:

1
display: displayTyp

Example:

1
display:block;

How to use CSS display property in Javascript?

You can set value of display property with Javascript in following manner:

1
object.style.display="none&quot


Related posts

Tags: , ,

No Response

Post your response

Copyright © 2010 - 2013 Handy CSS Designed By Anotix, Powered By WordPress, all right reserved.