View Full Version : whats a <div>


pepper
03-10-2003, 09:14 AM
ok i searched for it, from the forum i thought it has to do with the resolution but another site sais it was used for making layouts??
so what is it used 4???

west2001gal
03-10-2003, 10:06 AM
its to align things or things of that nature. you can really finish a website just by using div if you want.

I just learnt it not long ago, and sheesh I am like doing my third layout after learning div. After you learn div, things are much easier.

It goes like this :


<div style="position:absolute; top:480; left:27; height:0; width:0; z-index:1;"> </div>

and your stuff goes between it. Example:

<div style="position:absolute; top:480; left:27; height:0; width:0; z-index:1;"> <IFRAME src=" ....</IFRAME></div>\

or many others things. Check out Lissa's, its hidden within, I think. YOu can slowly search for it really. Or just go yahoo searching for tutorials.

You can change the numbers according to your likes.

pb&j
03-10-2003, 11:48 AM
div is generally a "container". it holds a batch of coding and you can apply different effects to it such as positioning, backgrounds, and so forth that will affect whatever coding it is holding.