Coinbase

Author Topic: How does one center a single ad under the menu bar?  (Read 5843 times)

0 Members and 1 Guest are viewing this topic.

Offline Harryf

  • Newbie
  • *
  • Posts: 7
How does one center a single ad under the menu bar?
« on: August 02, 2008, 03: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

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

Offline ccbtimewiz

  • Sr. Member
  • ****
  • Posts: 326
    • Dream Portal
Re: How does one center a single ad under the menu bar?
« Reply #1 on: August 02, 2008, 07:26:24 pm »
Use HTML div tags and align them. Like so:

Code: [Select]
<div align="center">{ad code}</div>

Offline Harryf

  • Newbie
  • *
  • Posts: 7
Re: How does one center a single ad under the menu bar?
« Reply #2 on: August 03, 2008, 12: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.
« Last Edit: August 03, 2008, 01:23:53 am by Harryf »

Offline minoryears

  • Newbie
  • *
  • Posts: 9
Re: How does one center a single ad under the menu bar?
« Reply #3 on: August 21, 2008, 02: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.

Offline Harryf

  • Newbie
  • *
  • Posts: 7
Re: How does one center a single ad under the menu bar?
« Reply #4 on: August 21, 2008, 11:07:52 pm »
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

Offline fadun

  • Jr. Member
  • **
  • Posts: 35
Re: How does one center a single ad under the menu bar?
« Reply #5 on: September 04, 2008, 06: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. 

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: How does one center a single ad under the menu bar?
« Reply #6 on: September 04, 2008, 07: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. ???

Offline fadun

  • Jr. Member
  • **
  • Posts: 35
Re: How does one center a single ad under the menu bar?
« Reply #7 on: September 05, 2008, 08: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.

Offline dmenax

  • Newbie
  • *
  • Posts: 3
Re: How does one center a single ad under the menu bar?
« Reply #8 on: October 23, 2008, 11:05:54 am »
Use HTML div tags and align them. Like so:

Code: [Select]
<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.

Offline ccbtimewiz

  • Sr. Member
  • ****
  • Posts: 326
    • Dream Portal
Re: How does one center a single ad under the menu bar?
« Reply #9 on: October 23, 2008, 12:39:19 pm »
In the box where you put your ads, put that code inside it.

Offline chrisg2010

  • Jr. Member
  • **
  • Posts: 10
    • Email
Re: How does one center a single ad under the menu bar?
« Reply #10 on: October 23, 2008, 07: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 ;)

Offline ccbtimewiz

  • Sr. Member
  • ****
  • Posts: 326
    • Dream Portal
Re: How does one center a single ad under the menu bar?
« Reply #11 on: October 23, 2008, 08:01:23 pm »
<center> is a deprecated HTML tag. That would render the forum non-XHTML validated.

Offline fadun

  • Jr. Member
  • **
  • Posts: 35
Re: How does one center a single ad under the menu bar?
« Reply #12 on: October 27, 2008, 02:38:57 pm »
Thank you so much, i now got it. Am excited. Cheers.

SMF Ads Support Forum

Re: How does one center a single ad under the menu bar?
« Reply #12 on: October 27, 2008, 02:38:57 pm »
.