Welcome to Gaia! ::

Reply CSS/Graphic/Profile help/resources (With tutorials, FAQs and general tips and hints)
Ahh. Profile codes don't like me ]:

Quick Reply

Enter both words below, separated by a space:

Can't read the text? Click here

Submit

PETE WENTZ LOL

PostPosted: Sat Dec 30, 2006 2:17 pm


Hi there c:
I've been coding my profile for a bit, and I can't seem to get the text where I want it too. Instead of having it in different sections, I want it to be in one scrolling section (where the semi-transparent blue box is). Now, it was originally in different sections, but then I messed around with the code and now everything's at the bottom D: What's the code to make it go where I want?

Thank you~
PostPosted: Sun Dec 31, 2006 11:17 am


Easiest way is this:


    #content {width: 0px; height: 0px; overflow: auto;
    position: absolute; top: 0px; left: 0px; }


The first bit sets the width and the height of #content, which is what contains everything except the header, and makes it scroll. Since your background is the header, you don't want that included. You'll want to set the width and height to what you need it to be.

The second bit will move it. I've used absolute positioning, because relative will leave a large gap at the bottom of your profile. Start off with the values set at 0 to see where your profile sits, then start adjusting the numbers. Negative numbers can be used as well.

Ava R.
Crew

3,500 Points
  • Gaian 50
  • Treasure Hunter 100
  • Hygienic 200
Reply
CSS/Graphic/Profile help/resources (With tutorials, FAQs and general tips and hints)

 
Manage Your Items
Other Stuff
Get GCash
Offers
Get Items
More Items
Where Everyone Hangs Out
Other Community Areas
Virtual Spaces
Fun Stuff
Gaia's Games
Mini-Games
Play with GCash
Play with Platinum