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

Help What

OmenVI

Now, say my name.

God's Project
___________________
Hey hey hey!



I need this to be centered. How should I fix this?

Code:
[centerblock=100]
[div=max-width: 75%; height: 100px; box-sizing: border-box; padding: 10px; background: url(https://i.pinimg.com/originals/76/3d/60/763d605a521901578244e6f50e473de6.jpg) fixed; background-size: 100%; color: white; text-align: center;][font=Permanent Marker][size=50px][color=maroon]God's Project[/font][/size]
___________________
[font=permanent marker][size=25px]Hey hey hey!

[/centerblock][/div]
 

Fyuri

ᴍᴏɴᴀᴄʜᴏᴘsɪs
Administrator
Supporter
God's Project
___________________
Hey hey hey!


Some things to note, the value in center block is basically %. So with it at 100 it's at 100% width of the post, but you made the div inside only 75%. You also closed the tags in the incorrect order or forgot to close others.

Tags should be closed like in this example:
[tag 1][tag 2][tag 3]content[/tag 3][/tag 2][/tag 1]

Code:
[centerblock=75][div=height: 200px; box-sizing: border-box; padding: 10px; background: url(https://i.pinimg.com/originals/76/3d/60/763d605a521901578244e6f50e473de6.jpg) fixed; background-size: 100%; color: white; text-align: center;][font=Permanent Marker][size=50px][color=maroon]God's Project[/color][/size][/font]
[color=maroon]___________________[/color]
[font=permanent marker][size=25px][color=maroon]Hey hey hey![/color][/size][/font][/div][/centerblock]
 

OmenVI

Now, say my name.
God's Project
___________________
Hey hey hey!


Some things to note, the value in center block is basically %. So with it at 100 it's at 100% width of the post, but you made the div inside only 75%. You also closed the tags in the incorrect order or forgot to close others.

Tags should be closed like in this example:
[tag 1][tag 2][tag 3]content[/tag 3][/tag 2][/tag 1]

Code:
[centerblock=75][div=height: 200px; box-sizing: border-box; padding: 10px; background: url(https://i.pinimg.com/originals/76/3d/60/763d605a521901578244e6f50e473de6.jpg) fixed; background-size: 100%; color: white; text-align: center;][font=Permanent Marker][size=50px][color=maroon]God's Project[/color][/size][/font]
[color=maroon]___________________[/color]
[font=permanent marker][size=25px][color=maroon]Hey hey hey![/color][/size][/font][/div][/centerblock]

Ohhhhhh. I got it. Thanks for the help!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top