can anyone tell me how to get the ads to display centrally in a table row, no matter what I do they are always left justified, this is the sort of code I'm using <body> <div align="center"> <table border="0" cellpadding="0" style="border-collapse: collapse" width="100%" id="table1"> <!-- MSTableType="nolayout" --> <tr> <td> <p> <?php ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include ('ad_network.php'); echo $ad_network[0]; echo " | "; echo $ad_network[1]; echo " | "; echo $ad_network[2]; echo " | "; echo $ad_network[3]; echo " | "; echo $ad_network[4]; ?> </p> </td> </tr> </table> </div> </body>
thanks, that has fixed it on some pages, others are still left justified, I suspect it's a function of the css style sheet for the page
Try adding the bolded statement to your code. If it is CSS, this will overwrite it when it gets to that paragraph tag. <body> <div align="center"> <table border="0" cellpadding="0" style="border-collapse: collapse" width="100%" id="table1"> <!-- MSTableType="nolayout" --> <tr> <td> <p style="text-align:center;"> <?php ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include ('ad_network.php'); echo $ad_network[0]; echo " | "; echo $ad_network[1]; echo " | "; echo $ad_network[2]; echo " | "; echo $ad_network[3]; echo " | "; echo $ad_network[4]; ?> </p> </td> </tr> </table> </div> </body>