missundaztood
11-05-2002, 09:12 AM
Hi there!
I need help with my website.
http://missundazstood_kids.tripod.com/polls.html
as you see the amazing race poll is below the survivor one.
How do i put the amazing race poll next to the survivor poll?
I've been pretty frustrated with trying to figure this simple thing out!
Pls help!
Thank you!
PauletteB
11-05-2002, 10:42 AM
Insert your code within a table which has two columns.
Basically:
<table>
<tr>
<td> First Poll </td>
<td> Second Poll </td>
</tr>
</table>
The actual code...
<table border="0" width="100%">
<tr>
<td align="center" valign="top"><!-- Begin Sparklit HTML Code -->
<!-- End Sparklit HTML Code --></td>
<td align="center" valign="top"><!-- Begin Sparklit HTML Code -->
<!-- End Sparklit HTML Code --></td>
</tr>
</table>
Another (and standard's compliant) approach is to use divs. There's a bunch of different ways to do this, but the following is quite a nice (and robust) solution:
<div style="width: 310px;">
<div style="float:left; width: 150px; height: 100px;">
Poll one here
</div>
<div style="float:right;width:150px;height:100px;">
Poll two here
</div>
</div> <!- containter div-->
That might give you a few problems in NS4, but will work well in all 5+ browsers.
missundaztood
11-06-2002, 05:46 AM
Thanks loads PauletteB and Kiwi!
:thumbsup:
Yay!