I encountered a symptom of an underline in a WordPress blog that was not specified.
I want to remove this underline.Problem i am experiencing
For example, this page.
is "Same drugs as Hildoid are sold in the market",
Since then, all text has been underlined.
The underline position looks like CSS
text-decoration: underline;, but there is no such designation anywhere, even if you check the following.
The following code was checked for underlined codes, but none of them were found.
text-decoration: underline;→ None
・ Pseudo-elements such as
and other underline-dedicated elements->none
・ HTML direct writing → None
If i check from the smartphone, the text below the second
tag is all centered, so
It also seems to have something to do with it.
Can you tell me if you know the cause and countermeasure?
Answer # 1
inselement surrounds the entire section because there is no
. In the
inselement end tag
text-decoration: underlineis specified by the user agent style sheet, which affects the descendant elements. The
text-decorationproperty is not inherited, but it affects all descendants. Therefore, it looks like "There is no specification to underline anywhere" as in the question text.
§ 2. Line Decoration: Underline, Overline, and Strike-Through
When specified on or propagated to an inline box, that box becomes a decorating box for that decoration, applying the decoration to all its fragments.The decoration is then further propagated to any in-flow block-level boxes that split the inline (see CSS2.1 section 126.96.36.199) .When specified on or propagated to a block container that establishes an inline formatting context, the decorations are propagated to an anonymous inline box that wraps all the in-flow inline-level children of the block container.When specified on or propagated to a ruby container, the decorations are propagated only to the ruby base.For all other box types, the decorations are propagated to all in-flow children.
After correcting this, it will be as follows (link for operation check).
Answer # 2
HTML There is a part where the syntax is strange, and that is the direct cause. (The following is an example)
- php - how to play a video, spread the video to the entire screen width, and display text according to scrolling
- php - i want to recover a wordpress site infected with malware
- java - i want to dynamically change the width of the header when the screen is enlarged
- php - i want to enlarge the product image when i click it on the product detail page of welcart
- php - i want to create pagination with numbers using the plugin "wp-pagenavi" that can create wordpress pagination