Monday, June 4, 2012

z-index: Send an HTML element to Back or bring to Front

z-index: Send an HTML element to Back or bring to Front

Link to My Blogger Tricks

z-index: Send an HTML element to Back or bring to Front

Posted: 04 Jun 2012 12:09 PM PDT


what is z-index propertyOne of the major problems people facing while designing HTML layouts using CSS is the overlapping issue. CSS positioning lets you position an HTML object anywhere you like. You can locate an object anywhere you like but it involves great care. By using the CSS positioning attributes like absolute, fixed or relative you often come across a problem where on object overlaps another or blocks the view of another section. In order to bring one div section on front or back of another you will need to use z-index property of CSS. Just like in Adobe Photoshop CS5, z-index lets you to send an element to back or bring it to front. In todays' tutorial we will aim at explaining this property briefly and with clarity.

Read more »
Share:

0 comments:

Post a Comment