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
-1
votes
3 answers

How to get rid of underlined links

I learn via Freecodecamp, one of our tasks was to create a Portfolio, but I cannot get rid of the underline links inside my navbar and footnote. Text-decoration: none; does not help, any other ideas? body { max-width: 100%; position:…
-1
votes
2 answers

Any way to create a thinner underline in CSS without using border?

I've searched and everyone says you have to use border to create a custom underline. But I want my anchor text to all be underlined even when it breaks into multiple lines (like on a narrow screen.) HTML: This is a bunch of text which I want to…
Dan
  • 1,257
  • 2
  • 15
  • 31
-1
votes
2 answers

css underline transitions hover state bouncing my list items

What I'm trying to achieve ---> http://jsfiddle.net/46a8u/ I applied those styles to my css. Problem is my links bounce to the left when hovered. I don't want them to move at all. The only transition I want is for the underline to go from left to…
Chris Brennan
  • 191
  • 1
  • 10
-1
votes
3 answers

Can not remove underline of a element css

I'm working on this site https://stagetoday.squarespace.com/ . In the left bottom corner, there is a link, but I can't remove the text-decoration:underline when I hover over it. I tried text-decoration:none and text-decoration:none!important but it…
-1
votes
1 answer

Migradoc loses underline formatting before page break

I have a small HTML-to-PDF which uses MigraDoc to produce PDF files. There seems to be a bug with adding formatted text to a paragraph. The problem is that underline formatting gets lost for all text on first page in a multipage PDF. Bold and Italic…
lekso
  • 1,731
  • 3
  • 24
  • 46
-1
votes
2 answers

bottom border width for text

I have some text which I want underlined. Now, I don't just want the actual text to underline, I want the line to stretch across the screen. I do: H4{align:left; font-style: bold; border-bottom: 1px black solid;} However, I don't want the line to…
dublintech
  • 16,815
  • 29
  • 84
  • 115
-2
votes
1 answer

How do I remove this underline on my code in VS Code?

I have had this underline since I set up VS Code on my new PC and I can't remember where it is from. I don't think it is an extension as I have checked and I only have standard ones installed. Rather, I think it's a setting that I must have enabled.…
-2
votes
2 answers

Underline animation on a link

I want make an underline animation on a link this is my html

feldman

pat66
  • 1
  • 1
-2
votes
2 answers

Annoying Blue Color for Button in HTML

Screen shot of problem I am trying to get rid of this annoying blue color in my Bootstrap button supported with Bootstrap. First, there was an underline with blue color, but when add text-decoration: none underline is cleared but still blue…
ww6jdr
  • 7
  • 1
-2
votes
1 answer

how do i underline every character and set number of characters dynamically in a edit view

i want to give hint for last 4 characters only.Please provide layout for the same
-2
votes
1 answer

Remove underlines from text in PDF file

I have a bunch of PDF files with broken links. I need to remove those links and right now I can do the following: Remove link actions Change text color from blue to black What I can't do is to remove blue underlines below text that was a link…
Anubis
  • 2,484
  • 2
  • 22
  • 33
-2
votes
1 answer

Removing of Underline and Blue color of Link

I am using Wordpress. I want to Make my front page only with Post title and date of posting. I have pasted that code:

Posted on Kindly…
Muhammad
  • 1
  • 1
  • 2
-3
votes
1 answer

how I can underline a contact or text when it is clicked using HTML, CSS, and JavaScript. The underline must be equal to the width of the contact

My website contacts are HOME ABOUT CONTACT ME. My website have a sticky bar at the top and contacts have in this bar, I want to underline height must be 2px. by the way, I also want to Shadow of sticky bar and background-color is gradient color. I…
-3
votes
1 answer

JavaFX label text Underline Spacing with Css

I have Forget password label in JavaFX application that I applied underline on it. UI I know this isn't possible to do with a basic property, but instead I have applied the following CSS to the label and I don't know how to set Spacing between the…
Hassen
  • 11
  • 3
-3
votes
1 answer

Getting rid of errors and warnings in a python file in Qt Creator

I am working on a python project in Qt Creator, and for some reason it keeps on underlining sections of my code, giving me flake8 warnings and errors. By following this stack overflow question, I have managed to get rid of the labels coming out of…
Ali Awan
  • 180
  • 10
1 2 3
39
40