xhtml / css line break

  • Started
  • Last post
  • 2 Responses
  • instantok

    okay, i am having a line break issue...

    all i need to do is create an empty line to separate blocks of text while preserving my line height

    first i was using two brs in a row to create an empty line...this works perfectly in every browser i need to support except ie 5 on a pc...

    so i switched to using p to create paragraphs but the line breaks it generates do not listen to the defined line height...this doesnt work right anywhere...

    i am being fussy about it because the text needs to line up with a background image that puts an hr between every line of text (notebook-paperish effect)

    any tips?

  • welded0

    What about making a class or inline style for the spacer paragraph tag with it's own line-height declaration? Is it feasible to add a margin to the top and/or bottom of the other text blocks?

  • heavyt0

    yeah, just put a margin-bottom, or margin-top on one of your other lines.
    that will give you some space.
    TR1

    ps. if you want to lemme look at the code i will help you