Home | Products | Downloads | Order Now | Contact us      

   Best Webmaster Software Tools for Website Building!

Products > HTML Password Lock
 

HTML Password Lock FAQ

 

Password protection:

When open the locked web page with IE6 and IE7 browsers, after login, the contents are shifted to the left or are left justified, but Firefox and Opera are just fine. How to correct this?

When open the locked file with IE6 and IE7 browser, after login, the contents are shifted to the left or are left justified, but Firefox and Opera are just fine. How to correct this?

This problem happens when you are making a CSS based web site.

Due to a small bug in Internet Explorer's implementation, you need two steps to center a div or a block-level element horizontally.

First step, apply "center" to the text-align property of body element, and all the elements within it will be centered. Like so:

body {text-align: center; }

The line above will, of course, center all the text inside the centered elements as well, which is generally not what we want. So, the next step is to aligh the text within the block back to the left. So here’s all the code:

body {text-align: center; }
#container {width: 760px; margin: 0 auto; text-align: left; }

With above code, the element "container" will be centered in all web browsers.

 

Search This Site:

   Advanced

Main

HTML Password Lock
Screenshots
Order Now!
  Download Now

Help

Online Help
Quick Start
FAQ

Online Example

Single Password
Multi-Users/Passwords

Related Products

Search Engine Composer
Encrypt HTML Pro
Web Button Menu Maker

Who likes our products:

Rated 4.5 stars at SnapFiles
Pop at Cnet Download.com

Rated 5 Stars at The File Transit!

Home | Download | Order Now | Contact us | Links
©Copyright 2002 - 2010 MTop Software Inc. All Rights Reserved.