[Solved] Spacing Text In CSS, Alternatives To The BR Tag

Home Forums CSS [Solved] Spacing text in CSS, alternatives to the BR tag

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author Posts
  • January 26, 2014 at 12:21 am #161132 techheadzParticipant

    One thing I still do not understand is how you put spacing in paragraphs.

    For example when I did everything in just .html I would use the tag to create a new line or two tags to create a new paragraph.

    Using CSS I can now understand why you shouldn’t really use this, and was wondering what the alternative is?

    If I have a div with some text I would generally do this:

    <div> <span class="font_12px"> Here is some text. <br>Here is some text on a new line. <br><br>Here is some text in a new paragraph. </span> </div> January 26, 2014 at 1:35 am #161134 techheadzParticipant

    Thank you very much for that. Now that makes more sense to me.

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

Từ khóa » Html Br Alternatives