Log In · Register

 
How to..., Text boxes
Melodie2
post Dec 2 2007, 11:14 AM
Post #1


Newbie
*

Group: Member
Posts: 3
Joined: Dec 2007
Member No: 596,969



How would you put two text boxes, one next to the other... Everytime I try, I get the box but not next to it, it's under it.
Thanks!
 
 
Start new topic
Replies
S-Majere
post Dec 5 2007, 09:17 AM
Post #2


Addict
*******

Group: Staff Alumni
Posts: 3,918
Joined: Jun 2007
Member No: 538,522



^ 'Fraid that won't work either!

What I've done here is to make a DIV class for your scrollboxes.

This will give you two scrollboxes next to each other.


CODE
<style type="text/css">

.scrollboxes {
overflow: auto;
border: 1px solid;
background: ffffff;
width: 180px; height: 140px;
scrollbar-arrow-color: CAC9CE;
scrollbar-face-color: EDEEF2;
scrollbar-3dlight-color: EDEEF2;
scrollbar-darkshadow-color: EDEEF2;
scrollbar-highlight-color: CAC9CE;
scrollbar-shadow-color: CAC9CE;
scrollbar-track-color: EDEEF2;
}</style>


<table cellpadding="10" style="margin: 0px auto;"><tr><td>
<div class="scrollboxes" align="center"><br>

My heart beats for<br><br>
&hearts; Robert<br>
&hearts; my family & friends<br>
&hearts; strawberry/banana milkshake<br>
&hearts; photography<br>
&hearts; make-up<br>
&hearts; somewhat, a part of fashion<br>
&hearts; music<br>
&hearts; stars<br>
&hearts; internet <br>
&hearts; shopping<br>
&hearts; taking naps<br>
&hearts; mascara<br>
&hearts; soft thingies


</div></td><td>
<div class="scrollboxes" align="center"><br>

This makes me puke<br>
- aching<br>
- depression<br>
- gray skies<br>
- hypocrites<br>
- the fact that my teeth chatter when I cry<br>
- torture<br>
- missing people I love


</div></td></tr><tr><td></table>


Feel free to change the scrollbar colours, height and width, borders and whatnot.
 

Posts in this topic


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