Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Are HR tags bad?

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #30099
    paperrobots
    Participant

    This may be a stupid question, but I had someone tell me recently I shouldn’t be using them. Are they considered a bad practice?

    #80922
    TheDoc
    Member

    They aren’t necessarily bad practice, the problem with them is that they are near impossible to display properly across all browsers.

    #80896
    demersdesigns
    Participant

    The hr tag is not bad practice by any means. It is part of the HTML5 spec after all. I thought this explanation on HTML5 Doctor was spot on. http://html5doctor.com/small-hr-element/

    #80881
    EhhWhat
    Member

    Agree with poster above about how they render so differently across browsers. I tend to just make a div with a class of HR and style it accordingly, never have an issue with cross browser then.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.