Questions tagged [underline]

An underline is a more or less horizontal line immediately below a portion of text. Generally, it is used to emphasize keywords or important passages. Not to be confused with "underscore", which is used for the character "_".

Underline in CSS

In CSS, underlining is created by setting the property "text-decoration" to "underline" (other line types, like strikethrough or overline, are also possible). The property "text-decoration-style" defines the appearance of the underline (e.g. solid, dotted, wavy). In CSS3, underline color can be defined by "text-decoration-color" to be different from the text color. For more information, see w3schools.com.

Underline in HTML

HTML has a presentational element <u> for underlined text. However, it was deprecated in HTML 4.01 in favor of CSS; in HTML5 it was redefined for text that should be "stylistically different" (cfr. w3schools.com).

Underline in Unicode

In Unicode, underline can be created by the combining diacritic "combining low line" (U+0332, "◌̲ ").

Underline in ASCII

In plain-text (ASCII) environments, underlining is often indicated by surrounding underscore characters, e.g. "This text is _underlined_."

596 questions
0
votes
2 answers

Underline form field value using itextsharp

I have an application that uses itextsharp to fill PDF form fields. I got new requirement from the customer to allow underlining the fields values. I have read many posts including answers to questions in this site but I could't figure out a way to…
Koby Mizrahy
  • 1,361
  • 2
  • 12
  • 23
0
votes
1 answer

How do I underline text "text" when text is a field?

public class Text extends JPanel { private String text; public Text() { this.setPreferredSize(new Dimension(20,20)); setFont (new Font(text, Font.PLAIN, 24)); text = ""; } public void showUnderline() { …
user1320668
  • 183
  • 1
  • 2
  • 6
-1
votes
1 answer

How to create a specific text underlining with CSS

I can get different styles of under-lining done with CSS, but they are straight, wavy or dotted. Now I came across a different style which I like, but I have no clue on how I can realize this. It is a bit more playful on the page. Something like…
Schaep
  • 1
  • 1
-1
votes
1 answer

formatiing part text in a table cell in word

`tab1.Rows(20).Cells.Merge tab1.Rows(20).Cells(1).Range.Text = "2. Brief of Case. " + objVar(6) tab1.Rows(20).Cells(1).Range.ParagraphFormat.Alignment = wdAlignParagraphJustify tab1.Rows(22).Cells.Merge tab1.Rows(22).Cells(1).Range.Text = "2. …
-1
votes
2 answers

CSS code for underline style for menu items

I would like to know the CSS code used to make the underline effect for the menu items of this website : https://www.kevin-missud-charpente.fr/ Thanks in advance.
-1
votes
1 answer

How to increase the space between the text and underline under a hyperlink in CSS?

For any text and underline, we can use line-height and padding-bottom. But in my case i have used hyperlinks, so when i hover over the hyperlink i want the text-decoration underline to increase the spacing between the hyperlink text and…
-1
votes
3 answers

Text underline display line above text instead of below

As showing the given image After applying underline decoration text style to the text it shows line above text instead of below in flutter 2.2. TextButton( onPressed: () {}, child: Text( …
Brinda Rathod
  • 2,693
  • 1
  • 20
  • 32
-1
votes
1 answer

Underline text links but not buttons

I am building a site that uses both text hyperlinks, as well as CSS button ones. I am trying to configure the CSS so that the text links generate an underline when hovered, but not the buttons. I have tried a number of configurations with the :not()…
Valce
  • 1
-1
votes
2 answers

Flutter - underline or paint words text to speech (TTS)

I have a flutter program that translates from text to speech, but I have a question, how to underline what it says? that is to say that each word that is said is underlined or painted, I hope someone can help me, thank you very much.
Daniel Salas DG
  • 69
  • 1
  • 11
-1
votes
2 answers

css underline text only with arrow centered

i'm trying to underline my text with an additional arrow centered on the ligne. when doing this i can't center my text in the page. .souligne { line-height: 17px; padding-bottom: 15px; text-transform: uppercase; border-bottom: 2px…
cetipabo
  • 453
  • 5
  • 12
-1
votes
2 answers

Underline with padding: Non-links

Should the following line of CSS work for adding padding to regular underlines? Not links, just when I underline one or more words for emphasis. Nothing seems to change. .underline { padding-bottom: 2px; border-bottom: black 2px…
linski
  • 1
-1
votes
2 answers

Ghost underline even text-decoration is none

I know this top has been discussed a lot and I don't really see any similar case from my search. Maybe I'm wrong. I feel like this is incredible so I'm wondering if anyone can shed me some light. I've got below two tables one nest the other. One…
Woody
  • 19
  • 5
-1
votes
2 answers

Underlining a java code line in source code

Following is my Java code import java.io.*; public class UnderLine { public static void main(String[] args) throws Exception { String thisLine = null; String Test = "Hello"; try { // open input stream…
Kasun Kumara
  • 11
  • 1
  • 7
-1
votes
2 answers

How remove underline from img a link dropdown in table?

I have tried removing the underline using text-decoration:none all over the place but I cannot get it to remove itself. This is my HTML... .dropdown { position: relative; display: inline-block; text-decoration:…
Rodent
  • 1,698
  • 1
  • 12
  • 13
-1
votes
1 answer

TextBlock text underline with different color when mouse over

I would like to color a Textblock text with a different color than the font color when the mouse is over text. How to do that other than creating a custom control?
Dhan
  • 11
  • 6