• 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 text align?

houseplant

embracing all my scars and imperfections
Roleplay Availability
Roleplay Type(s)
So I'm making a code and the text just disappears off the side and you miss several words (tab content 1) written in it? How can I fix this?

Code:
[centerblock=60]
[nobr]
[class=bg]
background: #634a75;
height: 500px;
width:850px;
position:relative;
float:center;
[/class]

[class=box]
background: #E6E6FA;
height: 300px;
width: 600px;
position:relative;
border-radius: 8px;
top:100px;
left:120px;
[/class]

[class=img1]
    width:150px;
    height:150px;
    background-image: url('https://66.media.tumblr.com/6e08061466ce8a4adc0c34b39a581daa/tumblr_orvz30Bal51vc2dywo1_250.png');
    background-size:100%;
    position:relative;
    top:20px;
    left:210px;
    border:1px solid #D3D3D3;
    border-radius:50%;
    margin-top: 200px;
[/class]

[class name=img1 state=hover]
  background-image: url('https://66.media.tumblr.com/d72771c9cbe7910354eda9e708864757/tumblr_oumqykMks21wsnmapo6_400.png');
   transition-duration: 0.4s;
[/class]

[class=title1]
width:450px;
text-align:left;
font-size:20px;
color:pink;
text-shadow:2px 2px 0px #708090;
position:relative;
top:90px;
left: 120px;
[/class]

[class name=Tabs]
display:inline-block;
color:white;
background:white;
width:125px;
height:25px;
[/class]

[class name=tab1]
display:inline-block;
cursor:pointer;
width:125px;
height:25px;
position:relative;
left:15px;
[/class]

[class name=tab2]
display:inline-block;
cursor:pointer;
width:125px;
height:25px;
position:relative;
left:90px;
[/class]

[class name=tab3]
display:inline-block;
cursor:pointer;
width:125px;
height:25px;
position:relative;
left:140px;
[/class]

[class=tabcontentbox]
height:350px;
width:600px;
background-color:#E6E6FA;
position:relative;
border-radius: 8px;
top:-260px;
left:120px;
z-index:6;
text-align: justify;
[/class]

[class=tabcontent1]
height:100%;
width:400px;
text-align: justify;
position:absolute;
[/class]

[class=tabcontent2]
height:100%;
width:400px;
text-align: justify;
position:absolute;
[/class]

[class=tabcontent3]
height:100%;
width:400px;
text-align: justify;
position:Absolute;
[/class]

[script class=tab1 on=click]
show tabcontentbox
hide tabcontent2
hide tabcontent3
show tabcontent1
addClass Tabs
[/script]

[script class=tab2 on=click]
show tabcontentbox
hide tabcontent1
hide tabcontent3
show tabcontent2
addClass Tabs
[/script]

[script class=tab3 on=click]
show tabcontentbox
hide tabcontent1
hide tabcontent2
show tabcontent3
addClass Tabs
[/script]

[class=exit]
height:40px;
width:80px;
position:relative;
float:right;
background-color:red;
z-index:7;
[/class]

[script class=exit on=click]
hide tabcontentbox
[/script]

[class=scrollbar]
width:124%;
height:350px;
overflow:hidden;
[/class]

[class=hiddenscroll]
width: 200%;
height: 100%;
padding-right: 17px;
overflow-y: scroll;
[/class]

[div class=bg][div class=box][div class=img1][/div][br][/br][br][/br]
[div class=tabs][div class=tab1][color=#203041][SIZE=20PX][center]my love[/center][/SIZE][/color][/div] [div class=tab2][color=#203041][SIZE=20PX][center]my laughter[/center][/SIZE][/color][/div] [div class=tab3][color=#203041][SIZE=20PX][center]III[/center][/SIZE][/color][SIZE=20PX][/size][/div][/div][/div]

[div class=tabcontentbox style=display:none;][div class=exit]X[/div]
[div class=tabcontent1][div class=scrollbar][div class=hiddenscroll]"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."e[/div][/div][/div]
[div class=tabcontent2 style=display:none;][div class=scrollbar][div class=hiddenscroll]htethhetetheththeethetheththeeth shit here[/div][/div][/div]
[div class=tabcontent3 style=display:none;][div class=scrollbar][div class=hiddenscroll]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br]etheeeeeeeeeeeeeeeeeeee[br][/br][/div][/div][/div]
[/div]
[/div]
[/nobr][/centerblock]
 
You have the hidden scroll set to 200% so it's expanding wider than the container and the hidden overflow blocks the words that are within that 200% width.
 
You have the hidden scroll set to 200% so it's expanding wider than the container and the hidden overflow blocks the words that are within that 200% width.
ahh! Okay, thanks!
 

Users who are viewing this thread

Back
Top