View Full Version : Can you put more thatn one text box on a site?


vulpy37
07-15-2003, 07:50 PM
I've tryed to but the test boxes end up going into a 3rd larger box and i don't want that. How can i put 2 text boxes, (or any kind of box) on a page and keep them seperate?

MaGiCSuN
07-15-2003, 07:55 PM
what do you mean with textboxes? divs? or textarea's?

Love,
mirna

vulpy37
07-15-2003, 08:00 PM
Div Layers

MaGiCSuN
07-15-2003, 08:05 PM
<div id="layer1">
text here
</div>

<div id="layer2">
text here
</div>

that should work. if not, can you please show me the code you are using currently?


edit: yoiu allready said "div layers" i know that you are using them. But what code are you using?

Love,
Mirna

vulpy37
07-15-2003, 08:19 PM
Thank so much!!! It works now. :)

(here's the code i'm using

<div id="layer1" style="position:absolute; left:100px; top:100px; width:100px; height:100px; background-color:#ffffff; overflow:auto">

Your text and images would go here

</div>

MaGiCSuN
07-15-2003, 08:20 PM
yeah that code looks good. If you want them to be next to each other just add the second one directly after </div>

like this:

</div><div>

one space in the coding like this:

</div> <div>

will make the div appear with a space next to the other

Love,
Mirna