View Full Version : div?


Sue
05-28-2005, 05:02 AM
i want to use div to postion my text on the page, can someone please post the basic div code with the postion:abo^^^^e thing, and all that jazz please? i cant find it.

pb&j
05-28-2005, 05:44 AM
<div style="position:absolute; left:20px; top:20px;">
text and stuff here
</div>

change 20 values as you desire to postion into the right spot on the page.

Sue
05-28-2005, 05:29 PM
how to i do the border?

pb&j
05-28-2005, 07:25 PM
just add the border css to the style area...

<div style="position:absolute; left:20px; top:20px; border: 1px solid #ff0000;">
text and stuff here
</div>