I have a php file called ads.php Went i put my add code in, It was like this. So, how do i center it? The PHP file. <!-- Begin BidVertiser code --> <SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=173810&bid=421214" type="text/javascript"></SCRIPT> <noscript><a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">pay per click advertising</a></noscript> <!-- End BidVertiser code --> How can i make it go in the center of the rectangle?
YOu will need to edit your css file to move the ad. *EDIT* I found your css file by looking in your signature. Give the following code a shot, i am curious to see if it does what I think it will <!-- ^^^^^^^^^^^^^^ code for advertisements ^^^^^^^^^^^^^^ --> <div class="box"> <h2>Sponsored Ads</h2> <div class="ads"> <a href="#"><img src="<?php bloginfo('template_directory'); ?>/images/adsample.gif" alt="Advertisement" /></a> <div class="clear"></div> </div> </div> <!-- ^^^^^^^^^^^^^^ code for advertisements ^^^^^^^^^^^^^^ --> Code (markup): The code you are using will work for 3 125x125 blocks, but not for the 468x60 banner. Hopefully this new code will work better for you. It may still need some css tweaking though.
That code removed 2 box's and didn't move banners. I put the banner in about.php Can i move that banner to the middle of the grey box?
Ok, i think i see now. The code you posted is for your ads in the sidebar, not the header. Could you please post the code from the file where you have posted the bidvertiser ad
<!-- Begin BidVertiser code --> <SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=173810&bid=421214" type="text/javascript"></SCRIPT> <noscript><a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm">pay per click advertising</a></noscript> <!-- End BidVertiser code --> Thats the code. Its in about.php
you could customize the position with css editor. I'm using CSSEdit in my mac and it very easy to use for me as newbie in programming (show real time changes). just try change code and see the different ads position. on Vista, maybe you could googling about CSSVista