Underline Text

  • Advertisement ( why? )
     

    etexzan, 29th May 2013 11:34 pm

    Does anyone know of a plug in for underline text? Or is there a way I can create a customized feature to create the underline text feature? Example: <u>Hello</u>

    • Luca, 30th May 2013 3:06 am

      Hi,
      <U> tag is deprecated. To underline text you should use css instead of html tag.

      To do it, you can add a style to an existing tag (for example a <P>) or if you want to underline only some words of a paragraph you could use the <span> tag.

      Anyway, to underline text to a tag with css the syntax is:

      p /* (or span) */
      {
      text-decoration:underline;
      }

    • rodfarias, 30th May 2013 10:06 am

      Totally agree with Luca.
      But try this:

      Tools->Keyboard shortcuts->Edit and manage keyboard shortcuts...
      + New
      OK (with defaults)
      Paste this:

      @title u_tag

      @version 20130530

      @description underline html tag

      @authors

      @date 20130530

      @hkp-upid d9cc8360-8652-40ce-8cd2-b8467f2992d6

      @section HTML

      @keywords

      @begin-shortcut "default" [key="Ctrl+Shift+U",useseltext=1,movecursor=1]

      <U>{{SELTEXT}}|</U>

      @end-shortcut "default"

      Now you can use ctrl-shift-u for <U>...</U>

      • rodfarias, 30th May 2013 10:14 am

        sorry for formatting errors in the last post.
        I can not write correctly the ASCII 35 caracter on line init

        I do
        @title u_tag
        @version 20130530
        @description underline html tag
        @authors
        @date 20130530
        @hkp-upid d9cc8360-8652-40ce-8cd2-b8467f2992d6
        @section HTML
        @keywords

        @begin-shortcut "default" [key="Ctrl+Shift+U",useseltext=1,movecursor=1]
        <U>{{SELTEXT}}|</U>
        @end-shortcut "default"

        Then OK