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
0 answers

custom jQuery Underline

Hi I'm using a jQuery custom underline plugin (below) the code is relatively simple, currently the underline appears with a mouseover function and disappears with mouseout, also only one instance of the underline can exist on he webpage at any one…
0
votes
1 answer

CSS3 transition for custom underline images

Hi friends I am looking for a strictly CSS3 fix for opacity transitions on custom underlines using background-images and nested in a navigation list. I realise after some research that background-image transitions are not currently supported, I…
0
votes
4 answers

Remove the underline from Hyperlinked Image

It all started out with these two codes #Header .Logo { background: url('http://s24.postimg.org/69nibdvz9/Header_P .png') no-repeat 0px 0px; height: 186px; …
user2502669
  • 3
  • 1
  • 3
0
votes
1 answer

set one item in gridview to underlined on gridview load

Ok so i have a gridview of strings and i want it so when i load the gridview i can have one underlined. final GridView gridview = (GridView)findViewById(R.id.gridView); final ArrayAdapter arrayadapter = new ArrayAdapter( …
brian4342
  • 1,265
  • 8
  • 33
  • 69
0
votes
1 answer

EditText: how to underline all Text in an editText

I am working on editText with some button for: bold, italic, and underline. I've had success with bold and italic, but I don't know how to underline text. My purpose is while typing in editText, and the underline button is press, then all text is…
vantubk
  • 5
  • 1
0
votes
5 answers

Fix broken decoration with multiple spans

So, i have R5 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…
MeBigFatGuy
  • 28,272
  • 7
  • 61
  • 66
0
votes
2 answers

Underline animation with jQuery

I'm trying to do an animation with hover on a link without success, here's my code: HTML
0
votes
3 answers

Style thicker underline CSS

I wanted to add a thicker underline to my h1 tags so I used "border-bottom" as suggested in multiple Stack Overflow questions. However, the border extended well beyond the text, so I decided to add the display property "inline-block" to make the…
Jack Guy
  • 8,346
  • 8
  • 55
  • 86
0
votes
1 answer

-tag with an background-image underline with fixed width

I'm new to stackoverflow.com and this is my first post so: I want to have a h1-text with underline. This underline will be an image and it should have a fixed width of 420px. The text in h1 will often be wider than the 420px, but sometimes…
djkaapula
  • 3
  • 1
  • 2

0
votes
2 answers

CSS a:hover border-bottom length

Could anyone help me out by telling me why the a:hover { border-bottom: 2px; } continues on over the length of the link itself? body { margin: 0; font-family: "Georgia", "Times New Roman", "Times", "serif"; } header { background-color:…
Spectre
  • 121
  • 2
  • 6
  • 13
0
votes
3 answers

Using 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…
Mike2012
  • 7,629
  • 15
  • 84
  • 135
0
votes
1 answer

Text wrapping in WPF hyperlink with style