Forums

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

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
  • #161132
    techheadz
    Participant

    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>
    
    #161134
    techheadz
    Participant

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

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