1 (edited by TFD 2007-07-01 21:00)

Topic: Help centering a banner please

http://www.d1acollegefootball.com/Forums/index.php


at the bottom I put a countdown banner but its on the left, I want to center it. I placed code after the <pun_footer> in main.tpl to get it there. What can I add to center it on the page?


Thanks in advance!!!!

2

Re: Help centering a banner please

align="center" isn't valid xhtml. Try style="text-align:center"

That might not be enough to fix it though. You have a hugh amount of markup in that page which isn't valid.

3 (edited by TFD 2007-07-01 22:29)

Re: Help centering a banner please

Paul wrote:

align="center" isn't valid xhtml. Try style="text-align:center"

That might not be enough to fix it though. You have a hugh amount of markup in that page which isn't valid.

lol I just add stuff that Ive been told here till it works. Unless you mean that countdown timer itself?


Thanks I'll try it.

4

Re: Help centering a banner please

when I add

style="text-align:center"


before the <embed> stuff it actually adds the text "style="text-align:center"" before the countdown timer.

Am I supposed to do something else?

TIA

5

Re: Help centering a banner please

Got it. I just used <center>



Thanks!!

6

Re: Help centering a banner please

I meant do this
<p style="text-align: center">
    Your timer in here
</p>

And yes, the timer creates a load of invalid markup.

7 (edited by TFD 2007-07-01 23:17)

Re: Help centering a banner please

Paul wrote:

I meant do this
<p style="text-align: center">
    Your timer in here
</p>

And yes, the timer creates a load of invalid markup.

haha man Im not a pro.


Hey can you tell me how I can get it in the part with the "powered by punbb" and the jump to box? That would be nice centered in there.

8

Re: Help centering a banner please

Hey can anyone tell me how I can center it in the part with the "powered by punbb" and the "jump to" box? I can only get in after the powered by and it wont center on the page, it only centers only between the Jump to and the powered by which places it off to the right


TIA