jhande Posted October 24, 2009 Posted October 24, 2009 I made a slight edit to my product_info.php file trying to fix an alignment issue, but it's gone nuts and has a mind of it's own. Here's the edited code: <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr><?php /*** Begin Header Tags SEO ***/ ?> <td colspan="3" valign="top"><h1><?php echo $products_name; ?></h1></td> </tr> <tr> <td width="*"> </td> <td width="177" align="left"><span class="smallText"><?php echo $product_info['products_model']; ?></span></td> <td width="175" align="right" valign="top"><h1><?php echo $products_price; ?></h1></td> <?php /*** End Header Tags SEO ***/ ?></tr> </table></td> I put the products_name in a row above the products_model and products_price in hopes when a products name is "long" it won't upset the other two. Any other time it would work in a HTML file. For some reason it's ignoring the colspan=3 and pushing the row below over so it creates a third row. Here's an example of what it should look like - click here. Here's an example of it messed up - click here. - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
jhande Posted October 25, 2009 Author Posted October 25, 2009 Never mind, brain fart cleared and I fixed it. - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
Recommended Posts
Archived
This topic is now archived and is closed to further replies.