Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
haii I am using a web page..it looks good in firefox and chorme ..but when take IE(I am using IE8)..the whole page is float to right side..can you tell me why and give a solution for that..
Posted
Comments
Sergey Alexandrovich Kryukov 5-Dec-12 1:41am    
Why? Probably because IE sucks; and therefore, giving a solution is way harder :-)
--SA
Sergey Alexandrovich Kryukov 5-Dec-12 1:42am    
...And, isn't that obvious: there is nothing to discuss without seeing your code?
--SA
Thanks7872 5-Dec-12 6:24am    
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

insert this in your page's head...this can help you........
deepakaitr12345 6-Dec-12 7:51am    
Yes,
That's correct more accuretly for the IE 7,8,and 9
<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" />


Thanks


1 solution

Also check if Doctype was declared and how it recognized in IE ( press F12 )
 
Share this answer
 

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