Log In · Register

 
 
Closed TopicStart new topic
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.
 
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.
 
Pulchritude
post Jun 20 2005, 07:44 PM
Post #3


Tu es laid.
*******

Group: Official Member
Posts: 3,913
Joined: Feb 2005
Member No: 106,675



QUOTE(nyah-nek0 @ Jun 20 2005, 4:41 PM)
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.

Absolute postioning doesn't work on xanga no more your going to have to change the absolute to static. mellow.gif
 
talcumpowder
post Jun 20 2005, 07:45 PM
Post #4


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

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



It won't matter. If it doesn't work, your computer will ignore it. I can't use static either, it doesn't look good in Firefox. Nothing moves. -.-u
 
Pulchritude
post Jun 20 2005, 07:46 PM
Post #5


Tu es laid.
*******

Group: Official Member
Posts: 3,913
Joined: Feb 2005
Member No: 106,675



^ really? cause when i put absoulte on a div the blogs won't move
but anyways I guess it wont matter blink.gif
 
hey unloving
post Jun 20 2005, 07:46 PM
Post #6


Poke.
***

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



okay, so this is confusing me, do i just like place it anywhere in the style sheet and it'll move the blog and modules at the same time? or do you put it seperate from the style sheet?
------------
now i'm confused, can I like just not move my stuff at all?
 
talcumpowder
post Jun 20 2005, 07:50 PM
Post #7


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

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



..... Did you bother to read it all? It's not a stylesheet. -.-
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.
 
hey unloving
post Jun 20 2005, 07:52 PM
Post #8


Poke.
***

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



I understand it, and i figured it all out. So thanks.
 

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