Log In · Register

 
 
Closed TopicStart new topic
Scrolls
Amy6406
post Oct 22 2007, 06:23 PM
Post #1


Senior Member
***

Group: Member
Posts: 44
Joined: Jul 2005
Member No: 178,807



Hi, I have this code. And I want my scroll tables to line up side by side, and right now they're going on their own line in a list down the page.

CODE
<div style="overflow:auto;background-color:black; width:150px;height:100px;">
<font size = 5> TeeVee</font><BR>
<BR>Bones!
<BR>American Dreams
<br>Greys Anatomy
<br>Veronica Mars
</a></div>



<div style="overflow:auto;background-color:black; width:150px;height:100px;">
<font size = 5> Music</font><BR>
<br>All American Rejects
<br>Pink!
<br>30 seconds to mars
<br>some random county
</a></div>




<div style="overflow:auto;background-color:black; width:150px;height:100px;">
<font size = 5> Movies</font><BR>
<BR>10 things I hate about you<BR>
13 going on 30<BR>
28 days<BR>
50 First Dates<BR>
</a></div>
</font>



www.myspace.com/amy6406
 
clarity
post Oct 22 2007, 07:33 PM
Post #2


vengeance.
*******

Group: Official Member
Posts: 3,058
Joined: Jul 2006
Member No: 437,024



Scroll tables? I think you mean DIV boxes... anyways they should automatically be aligning next to each other right now... although if they are to large to be next to each other then they'll automatically go to the next line (i believe). Try changing the width of each of them to something smaller.

By the way, why do you have </A> after all of the content when there are no links? o.0
 
Amy6406
post Oct 23 2007, 05:53 AM
Post #3


Senior Member
***

Group: Member
Posts: 44
Joined: Jul 2005
Member No: 178,807



I'm not sure why I use the <a> but that was just the code i was given. But i figured it out by using a horizontal code. Thanks for the help anyways
 
IVIike
post Oct 23 2007, 10:01 AM
Post #4


Hey, I'm Mike
******

Group: Staff Alumni
Posts: 1,272
Joined: May 2006
Member No: 406,241



Alright I'm glad you got that figured out.
Topic Closed
 

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