Jump to content

How to hide em> on the page


Recommended Posts

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 post
Share on other sites

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 post
Share on other sites

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 by satimis
Link to post
Share on other sites

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 by dsonesuk
Link to post
Share on other sites

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.

 

  1. [*]<!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 post
Share on other sites

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 by dsonesuk
Link to post
Share on other sites
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...