When I tried to fix a hover error in Internet Explorer, I realized that doctype was spelled incorrectly.I fixed it, but now the formatting is wrong in firefox !
The site should look like this , but it looks like that
Is there a quick fix or will I have to rewrite all this manually?Please ask if you need any code.
It looks like Firefox is processing your comments, which are formatted as follows:
<!-------Menu--->
as soon as the beginning of the comment and, therefore, commenting on a significant part of your markup.
Try changing them to
<!-- menu -->
and look it doesn't matter
When you changed Doctype, the browser probably changed from quriks to standard mode. This means that the browser will now interpret your site strictly following the W3C standards and will not be as fault tolerant as before.
I am sure that the problems with rendering will be resolved after fixing these errors . If I were you, I would first try to remove these unnecessary dashes from the comments. <!-------Example----> to <!-- Example --> .
<!-------Example---->
<!-- Example -->
Correction will be a manual process, but you will not need to completely rewrite. You should be able to phase out any rendering problems one by one.
Source: https://habr.com/ru/post/1338561/More articles:Outputting HTML literal code between razor instructions results in a compilation error - asp.net-mvc-3How to assign shortcuts that activate different installed extensions of Chrome? - google-chromeSecuring PHP source code on a server - securityHow do browsers handle cookies? - javaRunning make for a C ++ project under Eclipse - c ++Is .NET inheritance useless? - inheritanceCreate a reverse LinkedList in C ++ from this LinkedList - c ++What is the scope of global variables inside a C ++ DLL? - c ++flip linked list? - c ++JQuery round function - javascriptAll Articles