Pastor Rick
Head Administrator
Registered: 07-2005
Location: Texas
Posts: 560
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 */
span.line {
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.
|
7/13/2018, 10:18 pm
|
Link to this post
Send Email to Pastor Rick
Send PM to Pastor Rick
Blog
|