Need help? Check out our Support site, then

Inserting a line divider

  1. thegeometryofleisure

    I am trying to insert a Line Divider into a Page at by using the following HTML tag:

    HR WIDTH="75%" COLOR="#FF0000" SIZE="4"

    I need the line to be red because the background is black. Am I doing something wrong? Does support this?

    Thanks very much for your help.

    The blog I need help with is

  2. The size and width attributes for the "hr" tag were depriciated in HTML 4.01 and are not supported at all in XHTML 1.0 and above:

    <hr> is also not allowed in XHTML. You have to use the self-closing hr tag <hr />.

    Also in XHTML you cannot use uppercase in HTML tags. Tags must be lowercase.

  3. panaghiotisadam

    You can use this (you can change the height number to adjust line thickness):
    <div style="width:75%;height:2px;background:#ff0000;"></div>

  4. thegeometryofleisure


    thanks very much! that's working quite well.

Topic Closed

This topic has been closed to new replies.

About this Topic