View Full Version : I need help on making layouts


Pnapple
06-21-2004, 07:29 PM
I'm totally lost. I have a guild website for Neopets, right? Ok, well I really need a layout for it, but I don't know how to make one. I have read the CSS on making layouts and all that, but I just don't get it.

Pnapple
06-21-2004, 07:37 PM
Can someone explain how to make one?

Pnapple
06-21-2004, 08:00 PM
Please?

mbotw
06-21-2004, 11:50 PM
Okay, To Do A CSS Layout, You Would Probably Want To Go With DIV Layers, So When You Have A Basic Layer Code,

<div id=layer1 style="position:absolute; top:20; left:20; width:300; height:300; z-index:1; padding:5px; border: #000000 2px solid; background-color:#000000; ">

DIV CONTENT

</div>
To Make Long Instructions Short, All You Do Is This:
If You Want A Box In The Center Of An 800x600 Resolution Page, You Would Edit The Code Like So

<div id=layer1 style="position:absolute; top:20; WHATEVER IS CENTER. [/B]; width:300; height:300; z-index:1; padding:5px; border: #000000 2px solid; background-color:#000000; ">
And Edit The Width, Color, Etc. To Your Liking.

Layer 1 Would Be Your Layer in The Back
Layer 2 Would Be On Top Of Layer 1,
And So On...

I Hope That Helps!!!
-matt :)