Textbox Help |
![]() ![]() |
Textbox Help |
Apr 5 2009, 01:57 PM
Post
#1
|
|
|
Member ![]() ![]() Group: Member Posts: 18 Joined: Mar 2009 Member No: 717,989 |
Hey guys. I was looking for a way that i could put 3 scrollboxes next to each other. They keep going on a new line with this code.
Sorry if this is really noob. CODE <style>
div.Photo { height:100; width:140; text-align:center; overflow:auto } div.Design { height:100; width:140; text-align:center; border-width:0; border-style:solid; border-color:cccccc; overflow:auto } div.Video { height:100; width:140; text-align:center; border-width:0; border-style:solid; border-color:cccccc; overflow:auto } </style> Photo Setup:<br /> <div class="Photo"> TEXTEXTEXT </div> Design Setup:<br /> <div class="Design"> TEXTEXTEXT </div> Video Setup:<br /> <div class="Video"> TEXTEXTEXT </div>
Reason for edit: Please use [codebox] tags instead of [code] tags when posting longer codes. - Mike
|
|
|
|
Apr 5 2009, 02:13 PM
Post
#2
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,237 Joined: May 2008 Member No: 648,123 |
just add float:left; to the style properties of each div.
|
|
|
|
Apr 5 2009, 02:18 PM
Post
#3
|
|
|
Member ![]() ![]() Group: Member Posts: 18 Joined: Mar 2009 Member No: 717,989 |
Thanks a lot man.
:) |
|
|
|
Apr 5 2009, 02:24 PM
Post
#4
|
|
|
Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 |
Topic closed & moved.
|
|
|
|
![]() ![]() |