peachananr / simple-text-rotator

Add a super simple rotating text to your website with little to no markup
http://peachananr.github.io/simple-text-rotator/demo.html
GNU General Public License v2.0
748 stars 249 forks source link

Removing blank lines #6

Open showcasefloyd opened 10 years ago

showcasefloyd commented 10 years ago

Is there a way to not have a blank line in between sets of text?

I use this library to display a series of messages on my company's internal website and it works great except it seems to add a blank link at the end of the messages.

So for instance I four lines of text and I use the \ as the separator

line1line2line3line4

and then I "dissolve" into each of them. After the fourth one it adds a blank line for no reason.

Any idea how I can get rid of this?

Thanks so much in advance,

SCF

matysanchez commented 10 years ago

Can you give me a example with code? And If it is possible attach a image? Thanks.

showcasefloyd commented 10 years ago

Thanks for the feedback. I actually posted this question some months ago, and forgot I even asked about it. I was able to find a solution, I think just using CSS. Anyhow, The library is great! Thanks so much.

Floyd

legenderrys commented 10 years ago

@showcasefloyd looking at your content the las ' \ ' separator will generate a blank line. try deleting that.

showcasefloyd commented 10 years ago

Thanks for the tip. I'll give it a try