• When posting, please be aware that artistic nudity is still nudity and not allowed under RpNation rules. Please edit your pictures accordingly!

    Remember to credit artists when using work not your own.

Help Linebreaks not showing up

MiraAutumn

The Fall Maiden
So I don't use BBCode often, much less BBCode+, so I copied this example from Lyro senpai and edited it to suit my needs. Problem is, no linebreaks are showing up.


[class=tabs] background-color: #beecb0; border-radius: 5px; box-shadow: 0px 0px 5px #000088; box-sizing: border-box; color: #236315; font-size: 18px; font-weight: bold; line-height: 1; margin: 20px auto; min-width: 350px; text-align: center; width: 55%; [/class] [class=tab] box-sizing: border-box; cursor: pointer; display: inline-block; padding: 10px 0; width: 20%; [/class] [class name=tab state=hover] background-color: #92bafd; [/class] [script class=tab on=click] hide tabsContent set currentTab (getText) if (eq ${currentTab} Geography) (show tabsContentGeography) if (eq ${currentTab} Legends) (show tabsContentLegends) if (eq ${currentTab} Races) (show tabsContentRaces) if (eq ${currentTab} Magic) (show tabsContentMagic) [/script] [div class=tabs][div class=tab style="border-top-left-radius: 5px; border-bottom-left-radius: 5px;"]Geography
[div class=tab]Legends[/div][div class=tab]Races[/div][div class=tab]Magic[/div][/div] [div class="tabsContent tabsContentGeography"]
❀​
Some general information about Generic RP #42. linebreak linebreak linebreak linebreak linebreak extra long linebreak
❀​
[/div] [div class="tabsContent tabsContentLegends" style="display: none;"]
❀​
Some general information about Generic RP #42.
❀​
[/div] [div class="tabsContent tabsContentRaces" style="display: none;"]
❀​
Some general information about Generic RP #42.
❀​
[/div] [div class="tabsContent tabsContentMagic" style="display: none;"]
❀​
Some general information about Generic RP #42.
❀​
[/div]
[/div]
Code:
[div=background:url('http://wallpapercave.com/wp/KOiPggy.jpg');background-size:cover;padding:5px;border;5px double white]
[nobr]
    [class=tabs]
        background-color: #beecb0;
        border-radius: 5px;
        box-shadow: 0px 0px 5px #000088;
        box-sizing: border-box;
        color: #236315;
        font-size: 18px;
        font-weight: bold;
        line-height: 1;
        margin: 20px auto;
        min-width: 350px;
        text-align: center;
        width: 55%;
    [/class]
    
    [class=tab]
        box-sizing: border-box;
        cursor: pointer;
        display: inline-block;
        padding: 10px 0;
        width: 20%;
    [/class]

    [class name=tab state=hover]
        background-color: #92bafd;
    [/class]
    
    [script class=tab on=click]
        hide tabsContent
        set currentTab (getText)
        if (eq ${currentTab} Geography) (show tabsContentGeography)
        if (eq ${currentTab} Legends) (show tabsContentLegends)
        if (eq ${currentTab} Races) (show tabsContentRaces)
        if (eq ${currentTab} Magic) (show tabsContentMagic)
    [/script]
    
    [div class=tabs][div class=tab style="border-top-left-radius: 5px; border-bottom-left-radius: 5px;"]Geography[/div][div class=tab]Legends[/div][div class=tab]Races[/div][div class=tab]Magic[/div][/div]
    
    [div class="tabsContent tabsContentGeography"][row][column=span1][color=green][center]❀[/center][/color][/column][column=span6][bg=#beecb0][border=3px double #145400][color=#082000]Some general information about Generic RP #42.
linebreak                                 
linebreak
linebreak
linebreak
linebreak




extra long linebreak[/color][/border][/bg][/column][column=span1][color=green][center]❀[/center][/color][/column][/row][/div]
    
    [div class="tabsContent tabsContentLegends" style="display: none;"][row][column=span1][color=green][center]❀[/center][/color][/column][column=span6][bg=#beecb0][border=3px double #145400][color=#082000]Some general information about Generic RP #42.[/color][/border][/bg][/column][column=span1][color=green][center]❀[/center][/color][/column][/row][/div]
    
    [div class="tabsContent tabsContentRaces" style="display: none;"][row][column=span1][color=green][center]❀[/center][/color][/column][column=span6][bg=#beecb0][border=3px double #145400][color=#082000]Some general information about Generic RP #42.[/color][/border][/bg][/column][column=span1][color=green][center]❀[/center][/color][/column][/row][/div]

    [div class="tabsContent tabsContentMagic" style="display: none;"][row][column=span1][color=green][center]❀[/center][/color][/column][column=span6][bg=#beecb0][border=3px double #145400][color=#082000]Some general information about Generic RP #42.[/color][/border][/bg][/column][column=span1][color=green][center]❀[/center][/color][/column][/row][/div]
[/nobr]
[/div]
Halp.
 
Anything wrapped in NOBR will not have line breaks. Since your whole code is wrapped in it, there are no line breaks.
 

Users who are viewing this thread

Back
Top