How to debug an HTML page on mobile?

How to override the css used in the inserted HTML page?

  • Here is my sample code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <style type="text/css"> <!-- a:link { font-size: 15px; color: #0000FF; text-decoration: none; } --> </style> </head> <body> <div> <html> <head> <title>Testing css</title> <style type="text/css"> <!-- a:link { font-size: 48px; color: #FF0000; font-family: arial, helvetica, sans-serif; text-decoration: blink; } --> </style> </head> <body> <a href="dummy link">Dummy Click</a> </body> </html> </div> <h1> Outside page insertion</h1> <a href="click this "> Click here... </a> </html> When I access this page, the CSS in the main page is overridden by the CSS in the inner area. I would like to use the main page CSS as it is for the rest of the contents in the page. How do I do that? Plz help me?

  • Answer:

    The coding is wrong. You cannot have 2 <heads, bodies> in a HTML document. Correct it, your page will work just fine.

Ravi K at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

hard code the tags in the body

DesignR

Take out the folowing tags. <style type="text/css"> and </style>

TheTruthHurts

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.