3
Answers

How to make a wesite compatible with all browsers

Photo of Joma Rajab

Joma Rajab

8y
280
1
I have problem with the header of website its height  become more with firefox and the color of menu background not changed on firefox as well but with IE and chrome it if fine
 I use template 
 
 
please help  
 

Answers (3)

0
Photo of Francis
NA 11.7k 724.2k 8y
You didn't specify that you are using responsive design or not. If you are going with any responsive framework then most of the UI related compatibility issues will be solved. If you didn't just go with it.
Accepted
0
Photo of Joma Rajab
NA 110 9.8k 8y
Thanks very much
Yes I am using responsive design and below the code for header and imageof header on chrome and firefox where its height covers part of the body of the page
please help
  1. <!--headerstart-->
  2. <headerclass="headerblack-bg">
  3. <!--logostart-->
  4. <ahref="#"class="logo"><asp:Imagesrc="assets/img/logo.jpg"runat="server"Height="100%"></asp:Image></a>
  5. <!--logoend-->
  6. <divclass="top-menu">
  7. <ulclass="navpull-right"style="margin-top:12px;background-color:none">
  8. <asp:LinkButtonID="Button1"runat="server"Text="Logout"onClick="linkout"Font-Names="TimesRoman"NavigateUrl="Default.aspx"Font-Size="16"></asp:LinkButton>
  9. </ul>
  10. </div>
  11. </header>
  12. <!--headerend→
  13. .header{
  14. position:fixed;
  15. left:0;
  16. right:0;
  17. z-index:1002;
  18. }
  19. .black-bg{
  20. background:#ffd777;
  21. border-bottom:1pxsolid#c9aa5f;
  22. }
0
Photo of Midhun T P
NA 19.7k 281.2k 8y
Hi, In many cases we have found issues with responsive websites in IE browsers, rarely with firefox. Can you post your screenshot, both in chrome and firefox, as well as css and html for that header.