Log In · Register

 
Positioning blag and modules
hey unloving
post Jun 20 2005, 07:37 PM
Post #1


Poke.
***

Group: Member
Posts: 31
Joined: May 2005
Member No: 134,464



Don't get mad at me for asking, but can anyone give me, or direct me towards a style sheet (or add in onto the style sheet) for positioning the blog and modules anywhere? thanks in advance.
 
 
Start new topic
Replies
talcumpowder
post Jun 20 2005, 07:41 PM
Post #2


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



You can use a stylesheet, but I find div's to be far easier to work with. I can provide you with a stylesheet if you really don't understand this.
----
CODE
<div style="position: absolute; margin-top: 0; margin-left: 0; overflow:auto; height: 400; width: 400;">I'M A DIV LAYER~!</div>
This is a basic div layer code. It will make a box with the text I'M A DIV LAYER~!,400 x 400 pixels, zero pixels from the top of the page and zero pixels from the left. Well, not in Xanga... But that's beside the point.
----
CODE
position: absolute;
Defines how the elements is positioned. Learn more here.
CODE
<div style=
This just opens the layer.
CODE
margin-top: 0;
Defines top margin... You can also use Bottom.
CODE
margin-left: 0;
Defines left margin, you can also use Right.
CODE
overflow:auto;
Defines scrolling. Auto for scrolling none for no scrolling.
CODE
height: 400; width: 400;
I won't insult your intelligence... You can figure these out.
CODE
I'M A DIV LAYER~!
Stuff inside the box. Replace with whatever...
CODE
</div>
Ends the layer. Don't use this if you're moving the blog.... That code should go last anyways.
----
So, just play around with the numbers, to make it go where you want. You can use negatives if you need to. =P Have fun.
 

Posts in this topic


Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: