underline

RichTextBox and underline color

Hi, Is there any way to change the color of an underline in a RichTextBox? I've tried http://geekswithblogs.net/pvidler/archive/2003/10/15/188.aspx but it doesn't seem to work. Anybody know where did those enum values came from? Didn't see any documentation for it. Thanks. ...

Visual Studio Editor does not underline errors anymore

My Visual Studio (2008) Editor has stopped to underline Errors (this nifty wavy red lines). I can't really tell when, but it can be related to the installation of .Net Framework 3.5 SP 1 or the MVC Beta (which I guess is unlikely). Furthermore have I installed and uninstalled both CodeRush and Resharper for evaluation purposes (decided n...

Is there a semantic version of <u>?

Hi, In XHTML Strict, it seems that you're not allowed to use the <u> tag any more. Is there a semantic equivalent like there is for <b> and <i>? If not, is there any convention for how to markup underlined text in XHTML? Thanks. ...

What is the Constant Value of the Underline font in Java ?

What is the Constant Value of the Underline font in Java ? Font.BOLD bold font Font.ITALIC italic font What is the UNDERLINE font Constant ? I try all the available constants but it didn't work . ...

Superscript underline in IE

I'm going to be brief because I'm short on time, so I apologize if this isn't as detailed as I'd like it to be. I have some code: print("<a href='#'>Some text<sup>&reg;</sup> some more text</a>"); In FF, this works like I would like, the link as a whole is underlined. However in IE, the link is underlined except under the where it l...

Wavy underlines in a FlowDocument

In WPF, is there an easy way to add wavy underlines (like spelling errors in Word) to FlowDocument elements? There's the Underline class, but there seems to be no way to style it. ...

Wavy underlines as a TextDecoration: what I am doing wrong?

I want to create wavy underlines using TextDecoration (in a control similar to RichTextBox). I did the following thing: private static Pen CreateErrorPen() { var geometry = new StreamGeometry(); using (var context = geometry.Open()) { context.BeginFigure(new Point(0.0, 0.0), false, false); context.PolyLineTo(new...

Using a System.Drawing.Font with a WPF Label

I have a WPF Label control which I'm trying to change the appearance of using a System.Drawing.Font object supplied by some legacy code. I have been able to set most of the properties, but am struggling with Strikeout and Underline. So far I have: System.Drawing.Font font = FontFromLegacyCode(); System.Windows.Controls.Label label = n...

Winforms MenuStrip Underlined Hotkey Letter

Typically the hotkey letters on a MenuStrip are underlined. (&File, &Open, etc) On a project I'm working on the underline shows up in the designer, but not at run time. I can't find the property that controls this. Anyone out there know? ...

WPF Wavy Underline Bold/Larger Fonts

In a previous discussion, bstoney provides a very nice example of how to wavy underline some text in WPF. It works great for normal fonts, but for bold and/or larger fonts, I find that the tiling gets off such that the tops of the wavy underline are clipped and they appear below the bottoms instead. I'm hoping to avoid learning all abo...

underlining text in sifr

Hey all, I've recently been getting into using sifr as a healthy alternative to generating text as image using php. I've got a question about underlining text, for a website design I need to be able to specify the thickness of the underline and the distance from the text, is there any way to accomplish this with sifr? If not, is there a...

Links css underline

I have the following style for my footers in my css file: #footer { text-align: center; font-size: .7em; color:#000000; } This is the html for the footer part: <div id="footer"> <br> //google ad <br> <br> <A HREF="http://www.site1.com"&gt;Blog&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A HREF="http://...

Internet Explorer: Broken Underlines

I'm having some trouble getting this layout to work correctly in IE. The problem is that when I have a bit of small-caps, underlined text, an image with vertical-align set to middle breaks up the underline. Lower case letters have their underline shifted down. See the picture. This looks fine in Firefox, Chrome and Opera, but it's broke...

Changing the color of a font and making it underlined

I need to make a font underline and blue for a hyperlink in one of my JButtons, but it seems the font class has no obvious way to do this. I can't use attributedtext because I'm not going to be displaying this with Graphics class. Is there anyway I can accomplish this? I just need the title of my JButton to be blue and underlined. ...

transfer text to clipboard that is underlined

I have a program that the user enters some data and then it creates a form letter and copys it to there clipboard Some of the users came back and said they would like some parts of the letter to be underlined to help the people they are sending it to read it easier ( headlines etc) I don't know of a way to mark something as underlined ...

sifr padding issue

Hi, I'm having a problem with my sifr replacements. I have some headings with a tag in side so I want them to be underlined. But the line starts like 5 px before the text and ends 5 px. after the text ends. What can I do to fix this? screenshot: http://diggitall.com/sifrpadding.png Thanks in advance ...

Using <html><u> tags to make button text underlined, caused button to take up entire JToolBar

I need to have a button whose text is underlined and the only way I could find to do this in Java was to use and tags but when I do this, it causes the button to take up as much room as is left in the JToolBar even though the text is short and it should only take up a small amount of space. Here is how I create the the Button. ...

Fix broken <a> decoration with multiple spans

So, i have <a href="#">R<span class="superscript">5</span></a> and the underline for my anchor is broken (meaning the underline for the R is at the baseline, and the underline for the 5 is in the middle of the R -- because the 5 is small), which i don't want. How do i get the anchor underline to be one unbroken line under both the R a...

StaticMenuItemStyle vs. StaticSelectedStyle - Does one overwrite the other?

I am building a custom asp:menu control in ASP.NET using C# code behind. It is based on the sitemap to my website. Here's the basics of the menu: <%@ Control language="C#" autoeventwireup="true" codefile="Control.ascs.cs" inherits="menuClass" %> <asp:menu id="myMenu" datasourceid="sitemap" runat="server"> <staticmenuitemstyle font-u...

css, underline, possible to increase gap

Using css, when text has 'text-decoration:underline;' applied, is it possible to increase the distance between the text and the underline? ...