Adding a break tag ( ) - Post ID 291753

User 2906089 Photo


Registered User
222 posts

I can't find the <br> break tag in SD. I could not find anything in the user guides or in the forums. So, a little helping hint would be great.

Thanks in advance.
Learn something, Share something.
User 2906089 Photo


Registered User
222 posts

Using the short paragraph results in: <p class="paragraph"><br><br><br></p>
As an html-element results in: <p class="paragraph"><br><br><br></p>

Adding styling to use a margin-bottom seems over kill. when all I'm looking for is the basic <br><br><br>.
Learn something, Share something.
User 2699991 Photo


Registered User
4,799 posts
Online Now

Bosco wrote:
Using the short paragraph results in: <p class="paragraph"><br><br><br></p>
As an html-element results in: <p class="paragraph"><br><br><br></p>

Adding styling to use a margin-bottom seems over kill. when all I'm looking for is the basic <br><br><br>.


I'm confused what your problem is about
Just type in the paragraph in text editor and hit the enter button on your keypad to start a new line
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS
Contact Me For One To One Assistance
https://alphathemes.coffeecup.com/forms … an%281%29/
User 2906089 Photo


Registered User
222 posts

Thanks for the response Wayan. I just want to add a simple break and I can't see how to do it without a bunch of extra code. What you are saying is to do this:

<p class="paragraph">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas et metus.<br><br><br></p>

I had not thought about adding the <br> tags by hitting return inside of a paragraph block. I've always used them as stand alone lines. So my problem is holding onto old standards from hand coding pages. I realize it's bad form in today's standards to use breaks for spacing and not simple line returns. So you solved my problem.

Thanks
Learn something, Share something.
User 379556 Photo


Registered User
1,535 posts

Bosco wrote:
Adding styling to use a margin-bottom seems over kill. when all I'm looking for is the basic <br><br><br>.

The margins for paragraphs seem to be set as follows in SD4 -

Bootstrap 3:
the top margin defaults to 0px
the bottom margin defaults to 10px

Bootstrap 4 and Foundation 6:
the top margin defaults to 0px
the bottom margin defaults to 16px

Vanilla:
the top margin defaults to 16px
the bottom margin defaults to 16px

I just change the project defaults to my own preferences in the Styles panel by using the 'Apply Styles' 'To all elements of this type'.

Frank

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.