About 52 results
Open links in new tab
  1. html - Underlining text when using CSS - Stack Overflow

    Jan 17, 2012 · em { text-decoration:underline; } The <em/> stands for emphasized text. The default is italic, so depending on your CSS reset, you may need to also reset font-syle to …

  2. html - CSS underlining - Stack Overflow

    To underline text in CSS we can do: h3 {text-decoration:underline;} However this only underlines the text enclosed in h3 tag. What if want the underline to go across the page? Thanks

  3. How to Add a Dotted Underline Beneath HTML Text

    Mar 6, 2013 · How do you underline html text so that the line beneath the text is dotted rather than the standard underline? Preferably, I would like to do this without using a separate CSS file.

  4. html - How to make text underline css - Stack Overflow

    Apr 25, 2014 · How to make text underline css Asked 11 years, 7 months ago Modified 2 years, 5 months ago Viewed 2k times

  5. css - How do I create a div tag heading with a underline ... - Stack ...

    Sep 21, 2015 · The border is the wrong (amateur) way to do it. Better use the "hr" tag. It makes an underline a width of the parent div. Put it after the text or heading you want to be underlined. …

  6. Como aumentar o espaço entre texto e underline no CSS?

    Oct 2, 2018 · Quandos estamos usando um text-decoration: underline temos um sublinhado aplicado ao mesmo. Porém a minha dúvida é a seguinte: É possível alterar a distância entre o …

  7. css - Control underline position on text-decoration: underline

    Sep 26, 2014 · There is the proposed text-underline-position property in CSS 3, but it seems that it has not been implemented in any browser yet. So you would need to use the workaround of …

  8. html - how do I create underlined text with ::after and ::before …

    Oct 9, 2022 · 1 I'm trying to create an underlined title with the after pseudo element, but a problem occurs where the element has a large width. Making the underline bigger than the text, which I …

  9. css - How can I make `text-decoration: underline` looks the same …

    Aug 27, 2021 · 1 There are many ways of underlining text without using text-decoration: underline. One way of doing this is with bottom borders. First make a CSS class for all the text …

  10. html - Advanced CSS challenge: underline only the final line of text ...

    Mar 3, 2013 · I want to underline the final line of multi-line text, or at least create the allusion of it. Look closely at the following examples, because I'm trying to do something tricky. A. Here's …