About 50 results
Open links in new tab
  1. What is the right way to create a horizontal line with HTML and CSS ...

    I need to draw a horizontal line after some block, and I have three ways to do it: 1) Define a class h_line and add css features to it, like #css .hline { width:100%; height:1px; background: #fff...

  2. How to create a partial-horizontal line in HTML? - Stack Overflow

    Jul 16, 2016 · I would like to create a thin line below the main heading in a webpage, which is centered, something like this. How do I go about it as using /hr will create an end-to-end line.

  3. html - How can I create a horizontal line with <span> or <div>, instead ...

    0 I use a div as it behaves like anHR (they're both block). Then there are two routes. The first is giving the div an height of 1px (or 2 or 3, what you like) and add a margin. The other is a height of 0 with a …

  4. html - Draw a line in a div - Stack Overflow

    Sep 28, 2015 · The style-tag is for inline-styling.. If you want to add style directly in your HTML. when you load a CSS-file, the browser know that it is CSS.

  5. html - Add line break within tooltips - Stack Overflow

    Jul 27, 2010 · How can line breaks be added within a HTML tooltip? I tried using <br/> and \n within the tooltip as follows:

  6. css - HTML5 tag for horizontal line break - Stack Overflow

    Nov 30, 2014 · You can still use <hr> as a horizontal line, and you probably should. In HTML5 it defines a thematic break in content, without making any promises about how it is displayed. The attributes …

  7. Add a linebreak in an HTML text area - Stack Overflow

    Oct 16, 2019 · How can i add a line break to the text area in a html page? i use VB.net for server side coding.

  8. How to add a new line in textarea element? - Stack Overflow

    I want to add a newline in a textarea. I tried with \\n and &lt;br/&gt; tag but are not working. You can see above the HTML code. Can you help me to insert a newline in a textarea? &lt;textarea cols...

  9. How can I add new line/linebreak character in title attribute in HTML ...

    The spec suggests using this for line breaks: If the title attribute's value contains "LF" (U+000A) characters, the content is split into multiple lines. Each "LF" (U+000A) character represents a line …

  10. How do I add a horizontal line in a html select control?

    Closed 2 years ago. How do I add a horizontal line (<hr> tag) in the dropdown control or in select control in HTML?