Click here to Skip to main content
15,884,629 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How to centralise a div in all screens in IE 5? Please send the css for doing so. We are using VS 2005 and the css used is as follows:

.wrapper{ height:auto; overflow:hidden; margin:0px auto;margin-top:20px; background-color:#FFFFFF;font-family:Tahoma; font-size:11px; color:#FFFFFF;}

All other IE versions and other browsers its fine.Client is using IE 5 and wants to work as in higher versions. In IE 5 it goes lef alligned. All else fine.
Posted
Updated 25-Dec-13 21:38pm
v2

1 solution

Get your client to upgrade their browser. That is the fastest and easiest.
 
Share this answer
 
Comments
thatraja 26-Dec-13 4:27am    
I wanted to give you 10000000000....... but CP allows only 5
Peter Leow 26-Dec-13 5:07am    
1000000....thanks to you.
[no name] 26-Dec-13 4:32am    
Actually the client is using IE 11 in windows 8 OS. For compatibility we set IE =5 to maintain compatibility design which affects login page alone. Else it affects other pages too.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900