satimis Posted November 1, 2015 Share Posted November 1, 2015 Hi all, Please advise how to hide em> on following page http://reynoldstocks.com/hk-stock-code-0001-0040/ <em> ...... </em> Thanks Regards satimis Link to comment Share on other sites More sharing options...
dsonesuk Posted November 1, 2015 Share Posted November 1, 2015 Produce valid html code would help, div within paragraph within a em tag is not allowed, and proper closing tag </em> instead of em> helps also, else you will have it read as you have now, as just plain text. Link to comment Share on other sites More sharing options...
satimis Posted November 1, 2015 Author Share Posted November 1, 2015 Produce valid html code would help, div within paragraph within a em tag is not allowed, and proper closing tag </em> instead of em> helps also, else you will have it read as you have now, as just plain text. Hi, Thanks for your advice. </em> already closed .......<strong class="alignleft"><em>[tpyf#0001.HK,0002.HK,.......,0040.HK]</em></strong>....... satimis Link to comment Share on other sites More sharing options...
dsonesuk Posted November 1, 2015 Share Posted November 1, 2015 Again! YOU CANNOT SURROUND DIV WITH <P> <STRONG> or <EM>, THIS WILL CAUSE ERRORS THAT MAKES IT DIFFICULT FOR BROWSER TO INTERPRET, VALIDATE YOUR CODE AT https://validator.w3.org/nu/ CORRECT THE MANY HTML, CSS, ERRORS UNTIL NO ERRORS SHOW, THIS SHOULD CORRECT PROBLEM, FAILING TO DO THIS WILL RESULT IN THIS TOPIC BEING IGNORED, as it is trying to fix transmission of car, when the engine is completely F%@KED. Link to comment Share on other sites More sharing options...
satimis Posted November 1, 2015 Author Share Posted November 1, 2015 (edited) Again! YOU CANNOT SURROUND DIV WITH <P> <STRONG> or <EM>, THIS WILL CAUSE ERRORS THAT MAKES IT DIFFICULT FOR BROWSER TO INTERPRET, VALIDATE YOUR CODE AT https://validator.w3.org/nu/ CORRECT THE MANY HTML, CSS, ERRORS UNTIL NO ERRORS SHOW, THIS SHOULD CORRECT PROBLEM, FAILING TO DO THIS WILL RESULT IN THIS TOPIC BEING IGNORED, as it is trying to fix transmission of car, when the engine is completely F%@KED. Hi, <body><div><strong class="alignleft"><em>[tpyf# 0001.HK,0002.HK,0040.HK]</em></strong></div><p></p></body> There was no error on clicking [check] but /em> still there; http://reynoldstocks.com/hk-stock-code-0001-0040/ Edited November 1, 2015 by satimis Link to comment Share on other sites More sharing options...
dsonesuk Posted November 1, 2015 Share Posted November 1, 2015 (edited) Again! YOU CANNOT SURROUND DIV WITH <P> <STRONG> or <EM>, THIS WILL CAUSE ERRORS THAT MAKES IT DIFFICULT FOR BROWSER TO INTERPRET, VALIDATE YOUR CODE AT https://validator.w3.org/nu/ CORRECT THE MANY HTML, CSS, ERRORS UNTIL NO ERRORS SHOW, THIS SHOULD CORRECT PROBLEM, FAILING TO DO THIS WILL RESULT IN THIS TOPIC BEING IGNORED, as it is trying to fix transmission of car, when the engine is completely F%@KED. OH, i see what you are doing, fix 1 error like the broken wing mirror, forget about the other 150 errors and everything will become al-right! well I'm afraid that still won't be enough. Edited November 1, 2015 by dsonesuk Link to comment Share on other sites More sharing options...
satimis Posted November 2, 2015 Author Share Posted November 2, 2015 Again! YOU CANNOT SURROUND DIV WITH <P> <STRONG> or <EM>, THIS WILL CAUSE ERRORS THAT MAKES IT DIFFICULT FOR BROWSER TO INTERPRET, VALIDATE YOUR CODE AT https://validator.w3.org/nu/ CORRECT THE MANY HTML, CSS, ERRORS UNTIL NO ERRORS SHOW, THIS SHOULD CORRECT PROBLEM, FAILING TO DO THIS WILL RESULT IN THIS TOPIC BEING IGNORED, as it is trying to fix transmission of car, when the engine is completely F%@KED. OH, i see what you are doing, fix 1 error like the broken wing mirror, forget about the other 150 errors and everything will become al-right! well I'm afraid that still won't be enough. Hi, Document checking completed. No errors or warnings to show. [*]<!DOCTYPE html>↩ [*]<html>↩ [*]<head>↩ [*]<title>Test</title>↩ [*]</head>↩ [*]<body>↩ [*]<div><em><strong class="alignleft">[tpyf#0001.HK,0002.HK,0003.HK,0004.HK,0005.HK,0006.HK,0007.HK,0008.HK,0009.HK,0010.HK,0011.HK,0012.HK,0013.HK,0014.HK,0015.HK,0016.HK,0017.HK,0018.HK,0019.HK,0020.HK,0021.HK,0022.HK,0023.HK,0024.HK,0025.HK,0026.HK,0027.HK,0028.HK,0029.HK,0030.HK,0031.HK,0032.HK,0033.HK,0034.HK,0035.HK,0036.HK,0037.HK,0038.HK,0039.HK,0040.HK]</strong></em></div>↩ [*]</body>↩ [*]</html> Total execution time 1 milliseconds. Now /strong> is there instead of /em>Sorry I couldn't figure out what is the problem?satimis Link to comment Share on other sites More sharing options...
dsonesuk Posted November 2, 2015 Share Posted November 2, 2015 And yet there are STILL 150+ errors https://validator.w3.org/nu/?doc=http%3A%2F%2Freynoldstocks.com%2Fhk-stock-code-0001-0040%2F Link to comment Share on other sites More sharing options...
satimis Posted November 3, 2015 Author Share Posted November 3, 2015 And yet there are STILL 150+ errors https://validator.w3.org/nu/?doc=http%3A%2F%2Freynoldstocks.com%2Fhk-stock-code-0001-0040%2F Those errors came from the design of WordPress. It won't be easy for me to correct them. If checking the complete "text input" entered by me there was no error found. satimis Link to comment Share on other sites More sharing options...
dsonesuk Posted November 3, 2015 Share Posted November 3, 2015 (edited) Ignoring errors from links from quotes plugin, you are stilll use strong, em to surround div, possible misplaced and incomplete closing tags, incorrect syntax of css for fancy box, misplaced style tags placed in <body>...</body> instead of <head>...</head>, misuse of 'for' attribute, deprecated hgroup tags. AND TO REPEAT MYSELF, STILL! USING INLINE STRONG AND EM ELEMENTS TO SURROUND DIV ELEMENT. Edit: can't use negative values for padding; Edited November 3, 2015 by dsonesuk Link to comment Share on other sites More sharing options...
satimis Posted November 4, 2015 Author Share Posted November 4, 2015 Hi,Problem sorted out. The solution is quite simple, just leaving a space between<dir class="alignleft"><em><strong>[tpyf#0001.HK,0002.HK.......,0039.HK,0040.HK]and</strong></em></dir>Without it "/strong>" will be displayed on the page. Thankssatimis Link to comment Share on other sites More sharing options...
dsonesuk Posted November 4, 2015 Share Posted November 4, 2015 Ok! Forget about other problems, just put duck tape around split fuel line. Link to comment Share on other sites More sharing options...
davej Posted November 4, 2015 Share Posted November 4, 2015 There is a style block inside the body, which is illegal, and many other errors, as Donesuk has said. Link to comment Share on other sites More sharing options...
dsonesuk Posted November 4, 2015 Share Posted November 4, 2015 Ha ha, no really!, what the he/she would have found if validated at links provided from post #4 to #10 and pointed out in detail in post #10, thanks for repeating what has already pointed out before. Link to comment Share on other sites More sharing options...
DarkxPunk Posted November 20, 2015 Share Posted November 20, 2015 I feel you dsonesuk, I feel you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now