make two cells like a table useing div
Posted on 2007-07-25
i have the line
echo '<div style="width:200px; border:1px solid black; background: '.$color.';"> '.$row1->Manufacturer . ' ' . $row1->Type . '</div>';
this works great but i want it to separate the info i have separating it now. This does not lineup the data in the div very well.
I tried to make a second div but it printed on the next row i want it all on the same line if i was to do this with a table it be </TD><TD>
how do i separate the data so it can line up, i do not want to use tables as it messes up my tab panels allot. so im using div's to display the info.
thank you in advance for any code and help you may provide