• 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 This isn't working for me...

ALittleRedLie

fragile, handle with care
Roleplay Availability
Roleplay Type(s)
So I haven't been coding for a while and I wanted to reteach myself to code by [div], [class], and what not. And it is not working for me when it comes to tabs. Can anyone help me figure out what is wrong? Please and thanks!

Code:
[div="width:600px; height 900px;margin:auto;background:url('https://image.freepik.com/free-vector/golden-and-black-background-design_1378-59.jpg'); border:7px #FFD700 double;"]

[div=color:gold;

text-align:center;

position:relative;

font-size:65px;][Font=Pacifico] Follow Cash [/font] [/div]

[nobr]

[class=tabs]

background-color: ');
border-radius: 1px;
box-sizing: border-box;
color: gold;
font-size:37px;
line-height: 1;
margin: auto;
min-width: 350 px;
text-align:center;
width: 500px;
position: relative;
top: -65px]
[/class]


[class=tab]
box-sizing: border-box;
cursor: pointer;
display: inline-block;
padding: 5px 0;
width: 33%'
[/class]

[class name=activeTab]
background-color:white ;
letter-spacing:5px;
opacity:0.6;
[/class]

[class name=tab state=hover]
background-color:white;
letter-spacing:5px;
opacity:0.6;
[/class]



[script class=tab on=click]
        hide tabsContent
        set currentTab (getText)
        if (eq ${currentTab} plot) (show tabsContentplot)
        if (eq ${currentTab} families) (show tabsContentfamilies)
        if (eq ${currentTab} history) (show tabsContenthistory)
    [/script]
[script=tab]
hide tabsContent
show tabsContentplot
[/script]


[div class=tabs]
[div class="tab activeTab" style="border-top-left-radius:3px; border-bottom-left-radius:3px;"] [font=kalam] plot [/font][/div]
[div class=tab][font=kalam]families [/font][/div]
[div class="tab activeTab" style="border-top-left-radius:3px; border-bottom-left-radius:3px;"][font=kalam] history [/font][/div][/div]

[div class= “tabsContent tabsContentplot ”]
[div=height: 100%;
Background-color: white;
Position: relative;
margin: auto;
width: 600px;
top: 40px;
Opacity: 0.6;
Color: #000000
Text-align: center;
Font-size: 15px;]I pray to the lord that this works
[/div][/div]

[div class= “tabsContent tabsContentfamilies ”]
[div=height: 100%;
Background-color: white;
Position: relative;
margin: auto;
width: 600px;
top: 40px;
Opacity: 0.6;
Color: #000000
Text-align: center;
Font-size: 15px;]I pray to the lord that this works
[/div][/div]

[div class= “tabsContent tabsContenthistory ”]
[div=height: 100%;
Background-color: white;
Position: relative;
margin: auto;
width: 600px;
top: 40px;
Opacity: 0.6;
Color: #000000
Text-align: center;
Font-size: 15px;]I pray to the lord that this works
[/div][/div]

[/div]

[/nobr]
[/div]
 
Try this! I can definitely go over what I changed if you need me too-- I'm just at work and we're starting to pick up so I can't at this moment. Or you can study the code and see, doesn't matter to me. Hope this helps!

Code:
[div="width:600px; height 900px;margin:auto;background:url('https://image.freepik.com/free-vector/golden-and-black-background-design_1378-59.jpg'); border:7px #FFD700 double;"]
[div=color:gold;

text-align:center;

position:relative;

font-size:65px;][Font=Pacifico]Follow Cash[/font][/div]
[nobr]
[class=tabs]
background-color: ');
border-radius: 1px;
box-sizing: border-box;
color: gold;
font-size:37px;
line-height: 1;
margin: auto;
min-width: 350 px;
text-align:center;
width: 500px;
position: relative;
top: -65px]
[/class]

[class=tab]
box-sizing: border-box;
cursor: pointer;
display: inline-block;
padding: 5px 0;
width: 33%'
[/class]

[class name=activeTab]
background-color:white ;
letter-spacing:5px;
opacity:0.6;
[/class]

[class name=tab state=hover]
background-color:white;
letter-spacing:5px;
opacity:0.6;
[/class]

[script class=tab on=click]
        hide tabsContent
        set currentTab (getText)
        if (eq ${currentTab} plot) (show tabsContentplot)
        if (eq ${currentTab} families) (show tabsContentfamilies)
        if (eq ${currentTab} history) (show tabsContenthistory)
    [/script]
[script=tab]
hide tabsContent
show tabsContentplot
[/script]

[div class=tabs][div class="tab style="border-top-left-radius:3px; border-bottom-left-radius:3px;"][font=kalam]plot[/font][/div]
[div class=tab][font=kalam]families[/font][/div]
[div class="tab style="border-top-left-radius:3px; border-bottom-left-radius:3px;"][font=kalam]history[/font][/div][/div]

[div class="tabsContent tabsContentplot"][div=position: relative;width: 100%;height: 200px;overflow: hidden;background-color: transparent;padding-left: 10px;][div=width: 100%;padding-right: 145px;height: 100%;overflow-y: scroll;font-align: justify;font-width: bold;][font=Rye][color=white]here’s to the kids. the kids who would rather spend their night with a bottle of coke and Patrick or Sonny playing on their headphones than go to some vomit-stained high school party. here’s to the kids whose 11:11 wish was wasted on one person who will never be there for them. here’s to the kids whose idea of a good night is sitting on the hood of a car, watching the stars. here’s to the kids who were never too good at life, but still were wicked cool. here’s to the kids who listened to Fall Out Boy and Hawthorne Heights before they were on MTV and blame MTV for ruining their life. here’s to the kids who care more about the music than the haircuts. here’s to the kids who have crushes on a stupid lush. here’s to the kids who hum “a little less 16 candles, a little more touch me” when they’re stuck home, dateless, on a Saturday night. here’s to the kids who have ever had a broken heart from someone who didn’t even know they existed. here’s to the kids who have read The Perks of Being a Wallflower and didn’t feel so alone after doing so. here’s to the kids who spend their days in photobooths with their best friends. here’s to the kids who are straight up smartasses and just don’t care. here’s to the kids who speak their mind. here’s to the kids who consider screamo their lullaby for going to sleep. here’s to the kids who second guess themselves on everything they do. here’s to the kids who will never have 100 percent confidence in anything they do, and to the kids that are okay with that. here’s to the kids. this one’s not for the kids who always get what they want, but for the ones who never had it at all. it’s not for the ones who never get caught, but for the ones who always try and fail. this one’s for the kids who didn’t make it, we were the kids who never made it. the overcast girls and the underdog boys. not for the kids who had all their joys. this one’s for the kids who never faked it. we’re the kids who didn’t make it. they say “breaking hearts is what we do best,” and “we’ll make your heart be ripped out of your chest.” the only heart that i broke was mine, when i got my hopes up too high. we were the kids who didn’t make it. we are the kids who never made it. — Pete Wentz
[/color][/font][/div][/div]
[/div]

[div class="tabsContent tabsContentfamilies"][div=position: relative;width: 100%;height: 200px;overflow: hidden;background-color: transparent;padding-left: 10px;][div=width: 100%;padding-right: 145px;height: 100%;overflow-y: scroll;font-align: justify;font-width: bold;][font=The Girl Next Door][color=white]here’s to the kids. the kids who would rather spend their night with a bottle of coke and Patrick or Sonny playing on their headphones than go to some vomit-stained high school party. here’s to the kids whose 11:11 wish was wasted on one person who will never be there for them. here’s to the kids whose idea of a good night is sitting on the hood of a car, watching the stars. here’s to the kids who were never too good at life, but still were wicked cool. here’s to the kids who listened to Fall Out Boy and Hawthorne Heights before they were on MTV and blame MTV for ruining their life. here’s to the kids who care more about the music than the haircuts. here’s to the kids who have crushes on a stupid lush. here’s to the kids who hum “a little less 16 candles, a little more touch me” when they’re stuck home, dateless, on a Saturday night. here’s to the kids who have ever had a broken heart from someone who didn’t even know they existed. here’s to the kids who have read The Perks of Being a Wallflower and didn’t feel so alone after doing so. here’s to the kids who spend their days in photobooths with their best friends. here’s to the kids who are straight up smartasses and just don’t care. here’s to the kids who speak their mind. here’s to the kids who consider screamo their lullaby for going to sleep. here’s to the kids who second guess themselves on everything they do. here’s to the kids who will never have 100 percent confidence in anything they do, and to the kids that are okay with that. here’s to the kids. this one’s not for the kids who always get what they want, but for the ones who never had it at all. it’s not for the ones who never get caught, but for the ones who always try and fail. this one’s for the kids who didn’t make it, we were the kids who never made it. the overcast girls and the underdog boys. not for the kids who had all their joys. this one’s for the kids who never faked it. we’re the kids who didn’t make it. they say “breaking hearts is what we do best,” and “we’ll make your heart be ripped out of your chest.” the only heart that i broke was mine, when i got my hopes up too high. we were the kids who didn’t make it. we are the kids who never made it. — Pete Wentz
[/color][/font][/div][/div]
[/div]

[div class="tabsContent tabsContenthistory"][div=position: relative;width: 100%;height: 200px;overflow: hidden;background-color: transparent;padding-left: 10px;][div=width: 100%;padding-right: 145px;height: 100%;overflow-y: scroll;font-align: justify;font-width: bold;][font=Special Elite][color=white]here’s to the kids. the kids who would rather spend their night with a bottle of coke and Patrick or Sonny playing on their headphones than go to some vomit-stained high school party. here’s to the kids whose 11:11 wish was wasted on one person who will never be there for them. here’s to the kids whose idea of a good night is sitting on the hood of a car, watching the stars. here’s to the kids who were never too good at life, but still were wicked cool. here’s to the kids who listened to Fall Out Boy and Hawthorne Heights before they were on MTV and blame MTV for ruining their life. here’s to the kids who care more about the music than the haircuts. here’s to the kids who have crushes on a stupid lush. here’s to the kids who hum “a little less 16 candles, a little more touch me” when they’re stuck home, dateless, on a Saturday night. here’s to the kids who have ever had a broken heart from someone who didn’t even know they existed. here’s to the kids who have read The Perks of Being a Wallflower and didn’t feel so alone after doing so. here’s to the kids who spend their days in photobooths with their best friends. here’s to the kids who are straight up smartasses and just don’t care. here’s to the kids who speak their mind. here’s to the kids who consider screamo their lullaby for going to sleep. here’s to the kids who second guess themselves on everything they do. here’s to the kids who will never have 100 percent confidence in anything they do, and to the kids that are okay with that. here’s to the kids. this one’s not for the kids who always get what they want, but for the ones who never had it at all. it’s not for the ones who never get caught, but for the ones who always try and fail. this one’s for the kids who didn’t make it, we were the kids who never made it. the overcast girls and the underdog boys. not for the kids who had all their joys. this one’s for the kids who never faked it. we’re the kids who didn’t make it. they say “breaking hearts is what we do best,” and “we’ll make your heart be ripped out of your chest.” the only heart that i broke was mine, when i got my hopes up too high. we were the kids who didn’t make it. we are the kids who never made it. — Pete Wentz
[/color][/font][/div][/div]
[/div]

[/nobr]
 
Try this! I can definitely go over what I changed if you need me too-- I'm just at work and we're starting to pick up so I can't at this moment. Or you can study the code and see, doesn't matter to me. Hope this helps!

Thank you, you are a savior
 

Users who are viewing this thread

Back
Top