avatar.alex Posted April 9, 2007 Share Posted April 9, 2007 <div style="text-align: left; width: px"><div style="z-index: 99; box-sizing: border-box; -moz-box-sizing: border-box; position: relative; top: 25px; left: 34px; width: 242px; height: 151px; margin-right: -242px; margin-bottom: -151px"> <?php include ("updates.php");?></div> <div style="; z-index: 99; box-sizing: border-box; -moz-box-sizing: border-box; position: relative; top: 85px; left: 294px; width: 206px; height: 90px; margin-right: -206px; margin-bottom: -90px"> <?php include ("ads.php");?></div> <img src="image.gif" /></div> I cant find out how to center any of it if i center the image all of the text is shifed to one side can someone help me Link to comment https://forums.phpfreaks.com/topic/46202-solved-htmlphp/ Share on other sites More sharing options...
MadTechie Posted April 9, 2007 Share Posted April 9, 2007 Thats is more of a HTML question but what about <div align="center"> <?php include ("updates.php");?><br /> <?php include ("ads.php");?> </div> Link to comment https://forums.phpfreaks.com/topic/46202-solved-htmlphp/#findComment-224610 Share on other sites More sharing options...
TheFilmGod Posted April 9, 2007 Share Posted April 9, 2007 That should work. If it doesn't try put the the contents into a nested table. - It's ugly html code, but if all fails do that. Link to comment https://forums.phpfreaks.com/topic/46202-solved-htmlphp/#findComment-224616 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.