Runboard.com
You're welcome.
Welcome: You have reached Pastor Rick's Design Elements message board... Enjoy your stay and please tell others about this board...

User Quick Links:    runboard.com       Sign up (learn about it) ● Sign in (lost password?)

 
Pastor Rick Profile
Live feed
Blog
Friends
Miscellaneous info

Head Administrator
Global user (premium)

Registered: 07-2005
Location: Texas
Posts: 555
Karma: 11 (+12/-1)
Reply ● Quote
Replacing the <br> HTML tag


For years I have seen folks telling me not to use the HTML <br> tag but until a couple of months ago nobody had a decent alternative. This is the best alternative I have found.

In your CSS add this:

/* TEXT LINES IN WELCOME BOX */
[sign in to see URL] {
display:inline-block;
}


Then in your HTML, you add this to start a new line.

<span class="line"> content or blank </span>

Using this method allows you to avoid the <br> tags.

The only drawback is this method only works with text areas. It doesn't work with HTML links.

---

Advertise Boards On TRDConceptsDE
7/13/2018, 10:18 pm Link to this post Send Email to Pastor Rick   Send PM to Pastor Rick Blog
 


Add a reply





You are not logged in (login)