en WordPress.com Forums › Support Inserting a line divider Author Posts October 30, 2009 at 7:07 pm #415090 thegeometryofleisureMember I am trying to insert a Line Divider into a Page at http://jwmulligan.wordpress.com 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 wordpress.com support this? Thanks very much for your help. The blog I need help with is jwmulligan.wordpress.com. October 30, 2009 at 7:17 pm #415282 thesacredpathStaff 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: http://www.w3schools.com/tags/tag_hr.asp <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. October 30, 2009 at 9:34 pm #415304 panaghiotisadamMember You can use this (you can change the height number to adjust line thickness): <div style=”width:75%;height:2px;background:#ff0000;”></div> October 30, 2009 at 11:35 pm #415322 thegeometryofleisureMember panaghiotisadam, thanks very much! that’s working quite well. Author Posts The topic ‘Inserting a line divider’ is closed to new replies.