• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net

How to get ads in the center?

Status
Not open for further replies.

sander k

Well-Known Member
NLC
Hi guys,

I have a little problem.
I am trying to get my ads to the center of the page, but <center> </center> does not work. Now the ads hang to the left side of the page.

You can see a preview here.

Do you know how I can get those ads the the center?

My ads code looks like this:

<!-- Begin: 2match.me SSL Ad System -->
<script type="text/javascript" src="https://2match.me/show-ad.php?wid=1006&"></script>
<!-- End: 2match.me SSL Ad System -->
*Edit: Fixed by adding <div style="margin-left:20em">
 
Last edited:

sarmth

Active Member
I believe a <center> tag could work there too.

But none the less, I'm pleased that you got it working, it's taking shape ^_^
 

theraptor

Active Member
im confused as to why you are trying to parse a PHP file as a javascript file, if the < p align="center"> is not working then something is breaking your flow of display, and im betting it has something to do with that right there.
 
Status
Not open for further replies.
Top