text-decorations

how to create textview link without underscore in android

做~自己de王妃 提交于 2019-12-05 19:26:38
i came into this wired situation, my code is as follow LinearLayout ll = new LinearLayout(this); TextView tv = new TextView(this); ll.addView(tv); tv.setText(Html.fromHtml("<a STYLE=\"text-decoration:none;\" href=\"" + StringEscapeUtils.escapeJava(elem.getChildText("newsLink")) + "\">" + StringEscapeUtils.escapeJava(elem.getChildText("Title")) + "</a>")); tv.setTextColor(Color.BLACK); but the style="text-decoration:none" and tv.setTextColor(color.black) both not working, the link is still in blue with underscore, any hints on why they're not working? Thanks! you can try this. such as String

Blue lines under links on my site even though I've disabled all related CSS? [closed]

孤街醉人 提交于 2019-12-05 16:56:27
问题 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 6 years ago . I've tried disabled text-decoration, outlines, borders, and everything else I can think of. Using the inspect tool I cannot find anything that would

Any way to stop CSS :hover text-decoration underline on child? [duplicate]

落爺英雄遲暮 提交于 2019-12-05 11:41:16
Possible Duplicate: How do I get this CSS text-decoration issue to work? I'm using the jquery toggle effect to show or hide more information about list elements: jQuery(document).ready(function($) { $("ul p").hide(); $("ul li").addClass("link"); $("ul li").click(function () { $("p", this).toggle(300); }); }); which works fine with a structure like: <ul> <li>List element 1<p>Additional info 1</p></li> <li>List element 2<p>Additional info 2</p></li> </ul> In order to make it look 'clickable' I'm styling .link with css: ul li.link { color: #0066AA; } ul li.link:hover { text-decoration: underline;

How to change 'text-decoration' property with jQuery?

跟風遠走 提交于 2019-12-05 07:27:10
I have table with following structure: <table style=" margin-top: 10px; border: 1px wheat solid; width: 100%; font-size: 10px; font-family: Arial , Verdana;text-shadow:0px 1px 0px #000"> <tr class="infoRow" style="background:#666666; "> <td>Element11 </td> <td style="font-size:12px; font-weight:bold; font-family: georgia;">Element12 </td> <td><input type="checkbox" class="check" /></td> </tr> <tr class="infoRow" style="background:#666666; "> <td>Element21 </td> <td style="font-size:12px; font-weight:bold; font-family: georgia;">Element22 </td> <td><input type="checkbox" class="check" /></td> <

How to get rid of underline on <span> inside <a> tag with hover?

流过昼夜 提交于 2019-12-04 05:00:45
fiddle HTML <ul> <li><a href="#">Messages<span>1</span></a></li> </ul> CSS a { text-decoration: none; } a:hover { text-decoration: underline; } a:hover span { text-decoration: none; } span { background-color: red; border-radius: 999px; color: white; margin-left: 2px; position: relative; top: -.5em; font-size: .75em; font-weight: bold; padding: 0 .3em; } When you mouse-over the link the underline is applied to the <span> even though I've set text-decoration: none . Is there a way to get rid of it? Try changing the display of <span> to inline-block as follows: Example Here span { background

CSS - Multiple text-decorations with style and color

随声附和 提交于 2019-12-04 03:50:00
问题 I want to make a text with red wavy underline and blue dashed overline using text-decoration . This is my code: (working only in Mozilla Firefox) (don't works, because display only overline) span { font-size: 40px; text-decoration: underline wavy red; text-decoration: overline dashed blue; } <span> Some Text </span> How can I do that effect using only text-decoration ? (I know, it will work only in Mozilla Firefox) Thanks for help. 回答1: You can not have two values for one css property at the

CSS multiple text-decoration

泪湿孤枕 提交于 2019-12-04 02:46:08
I want to have the <h2> underlined and blinking at the same time. Is there any way to achieve this modifying only the CSS style of <h2> ? For instance: h2 { text-decoration: underline, blink; } or h2 { text-decoration: underline; text-decoration: blink; } none of the above works If there is no such way what is the fastest/easiest way to do it? powerbuoy You need to space separate them: text-decoration: underline overline line-through; http://jsfiddle.net/PamjT/ Easiest is to set border-bottom to your h2: h2 { border-bottom:1px solid black; text-decoration:blink; } Please note that blink isn't

Remove text decoration from links

允我心安 提交于 2019-12-01 22:55:55
问题 Why won't this remove the underline from the facebook and assassin industries links on this page. .module_wpproad { text-decoration:none; border:none; } 回答1: The default text-decoration attribute of links takes precedence over the text-decoration attribute of the container. You will need to be specific in your override: .module_wpproad a { text-decoration: none; } 来源: https://stackoverflow.com/questions/2520872/remove-text-decoration-from-links

Remove text decoration from links

时光怂恿深爱的人放手 提交于 2019-12-01 20:51:21
Why won't this remove the underline from the facebook and assassin industries links on this page . .module_wpproad { text-decoration:none; border:none; } The default text-decoration attribute of links takes precedence over the text-decoration attribute of the container. You will need to be specific in your override: .module_wpproad a { text-decoration: none; } 来源: https://stackoverflow.com/questions/2520872/remove-text-decoration-from-links

Why does the text-decoration: none not work inside p?

空扰寡人 提交于 2019-12-01 20:21:13
I have the following HTML and CSS snippet and I want the "!" not to be underlined, but it is. What am I doing wrong? p { color:red; text-decoration: underline; font-size: 1.2em; } span.none { text-decoration: none; } <p class="p">Click the thumb<span class="none">!</span></p> add display:inline-block; to span.none class p { color:red; text-decoration: underline; font-size: 1.2em; } span.none { text-decoration: none; display:inline-block; } <p class="p">Click the thumb<span class="none">!</span></p> Why does the text-decoration: none not work inside p? tldr; When text decorations are propogated