SMF Ads Support Forum

Support => General Support => Topic started by: Harryf on August 02, 2008, 04:04:53 PM

Title: How does one center a single ad under the menu bar?
Post by: Harryf on August 02, 2008, 04:04:53 PM
Hi all!

Someone else asked this question long ago but there is no answer to the post.

How does one center a single ad under the menu bar as on this page: http://www.smfads.com/forums/index.php?action=help (http://www.smfads.com/forums/index.php?action=help)

Also, what does one do to space it like that ad?

When I tick the "Display ads on every page right below the menu" box, the ad is pressed up right against the menu bar and to the left.

Please help?

Harry
Title: Re: How does one center a single ad under the menu bar?
Post by: ccbtimewiz on August 02, 2008, 08:26:24 PM
Use HTML div tags and align them. Like so:

<div align="center">{ad code}</div>
Title: Re: How does one center a single ad under the menu bar?
Post by: Harryf on August 03, 2008, 01:06:55 AM
I was dreading that answer, ccbtimewiz!

The only editor that I have is Dreamweaver and it does not display the php code in a WYSIWYG manner!

I am, also, not a coder at all!  Be that as it may, what I think I'll do is either search for a WYSIWIG php editor or save the file as html and then use Dreamweaver to edit it and to later re-save it as php.

Don't even knows if it'll work but I've seen many posts saying something like that - simply use "save as".

hehe - I'm going to have a strange day...

Thanks ccbtimewiz!
P.S.  But first, I have to figure out how to get the ad to display on my homepage...

P.P.S.  Now that I have my other question (http://www.smfads.com/forums/index.php?topic=1749.0) sorted out, I think I'm going to give this one a skip for now.
Title: Re: How does one center a single ad under the menu bar?
Post by: minoryears on August 21, 2008, 03:48:54 PM
Hey Harry, it's very simple actually, you DONT need dreamweaver. Open your forum, go to admin, ad management, modify the ad you want, where the Ad code is, just simply put what he said before and after the code.
Title: Re: How does one center a single ad under the menu bar?
Post by: Harryf on August 22, 2008, 12:07:52 AM
Hey Minoryears!

You are very clever!  Not to mention helpful!

I did what you said and my ad is now centered!

Thanks very much!

Harry
Title: Re: How does one center a single ad under the menu bar?
Post by: fadun on September 04, 2008, 07:56:41 AM
@ minoryears, I understood your explanation but the challenge as facing is that my forum users SMF 1.1.5 and 'Ads Management'  does not appear on my Admin Panel even after chaning my server language to english. As a result of the above, i cannot even place adverts on my forum. Kindly put me through. 
Title: Re: How does one center a single ad under the menu bar?
Post by: bigguy on September 04, 2008, 08:58:24 PM
Some edits did not get done then I would asume. Did you not say in another post you were doing this manually. ???
Title: Re: How does one center a single ad under the menu bar?
Post by: fadun on September 05, 2008, 09:14:16 AM
I do not know how to go about insert ads on my forum. I am not familiar with html. please help me out by providing with the step by step of insert ads om my SMF 1.1.5 Forum.
Title: Re: How does one center a single ad under the menu bar?
Post by: dmenax on October 23, 2008, 12:05:54 PM
Quote from: ccbtimewiz on August 02, 2008, 08:26:24 PM
Use HTML div tags and align them. Like so:

<div align="center">{ad code}</div>


You have been helpful all over the forum.

Thanks a lot.

Could you please explain more about how exactly to put this code.
Title: Re: How does one center a single ad under the menu bar?
Post by: ccbtimewiz on October 23, 2008, 01:39:19 PM
In the box where you put your ads, put that code inside it.
Title: Re: How does one center a single ad under the menu bar?
Post by: chrisg2010 on October 23, 2008, 08:50:39 PM
Or to make it more simple, just put <center> at the beginning of the code and </center> at the end, works just as good ;)
Title: Re: How does one center a single ad under the menu bar?
Post by: ccbtimewiz on October 23, 2008, 09:01:23 PM
<center> is a deprecated HTML tag. That would render the forum non-XHTML validated.
Title: Re: How does one center a single ad under the menu bar?
Post by: fadun on October 27, 2008, 03:38:57 PM
Thank you so much, i now got it. Am excited. Cheers.