Replies

Mar 19, 2012 14 years ago
Chelsea
Decimal System
User Avatar
Joust

Okay. So. I'm trying to code a placeholder profile for [user=http://subeta.net/pets/Thorian]Thorian[/url] until the one I commissioned gets done. c: That being said, my coding is REALLY rusty. D'8 So. I have a few questions.

  1. How do I get the treasure to fit snugly under the pet description? ;o; I can't get it to work for the life of me.

  2. What is the code to edit the size/colors of the stat bars? I've never messed with them before and it's bugging me. =x

  3. When I click the spoiler button the container background color stops and it makes it look REALLY weird. Help?

Thank you so much to anyone who offers help. ;o; I haven't coded in months upon months and my brains on Spring Break. D8

Mar 19, 2012 14 years ago
Hongske
is lost in space
User Avatar

:

  1. For the treasure, use this {position: absolute; top: 10px;} But replace "10px" with your value. I didn't know where "under the pet description" was, so I didn't get the value xD However, if it's underneath the spoiler, it won't move with if you open said spoiler.

  2. For the statbars, use this .statbar {border: 1px solid red; width: 100px; height: 20px;} .stat {background: green!important; height: 100%!important;} Border is to change the border colour/style, obviously, and width + height. For the colour of the bar, that's the stat's background (the one coloured green).

  3. That's because it goes beyond your content, and said content's height isn't set to auto. However, if you set it to auto, then it doesn't work either, because you absolute positioned everything. :/

Please log in to reply to this topic.