>>  Site Map >>  Forums >>  Blocks 7x

Forum module - topics in forum:



Blocks 7x - Discussions regarding PHP-Nuke Blocks. 7x



Center adv in block

Hello

On my homepage: http://www.test.osonder.no I have adv from tradedoubler in blocks. But I cant get the adv to center inside the block. I have used block creator to make the code.

Can anybody help me?






Hmm.... When I try to post the CODE in a post, I get the following message: You have attempted a Scripting attack on this site. (I use BBcode around the code)






Hi

If you could post the code here, we can take a look for you. Have you tried the <center> tag?

If so, post the code, and we can take a look for you.

Mal






Hello Malekii

I tried to paste the code her, but get the message: You attempted a Scripting attack Sad






I have published a picture of the code:






Wonder why I can't post this code?






Hi Osonder

Quote: :

Wonder why I can't post this code?


Capital blue letters on the homepage...

AND FINALLY, PLEASE DON'T ATTEMPT TO POST JAVASCRIPT, CSS ETC IN OUR FORUMS, YOU WONT BE BANNED BUT THE SYSTEM WONT ALLOW IT.

I'm no expert at block creation or javascript, but if you add the following before the first $content line...

$content = "<center>";

... it MAY center everything in the block, which is what you want to do.






Ok. Sorry. Didn't see that. Sad

But still, your suggestion don't work.






Well, as I said, I'm no expert but you need to add <center> somewhere in your code, and I think you'll have to put it within a $content variable, or it won't be recognised by the block.






Hallo again Malekii! Your fast Smile Great.
By the way, I solved it. The Javascript only displayed a image. So I translated the Javascript code to normal HTML. Like IMG SRC. Then I used Block Creator on www.disipal.net. Thanks again for your fast help!






osonder Wrote: :

By the way, I solved it. The Javascript only displayed a image. So I translated the Javascript code to normal HTML. Like IMG SRC. Then I used Block Creator on www.disipal.net. Thanks again for your fast help!


Aint it strange, this is an exact same query as http://phpnuke-uk.net/modules.php?name=Forums&file=viewtopic&t=6195 and in that topic I told you how to achieve it using the block creator and you said it didn't work??? Confused




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS