PDA

View Full Version : below navbar..


SPEEDKILLZ
09-30-2011, 01:10 AM
I am looking for something to put below my navbar to make site look a little more spread out. mod or a hack or something. if you have seen anything like this plz link me thanks

setishock
09-30-2011, 07:46 AM
A link to your forum would be most helpful.

Digital Jedi
09-30-2011, 08:00 AM
I'm not sure why you mean by "spread out". Vertically? Horizontally? Menu items? What, in particular, are you looking to put under your navbar?

SPEEDKILLZ
09-30-2011, 05:17 PM
A link to your forum would be most helpful.

Link to forum? that is my forum.

I really dont know. i am looking for a mod or add on that places something there. I have saw a lot of site have news, links, adsense, just looking for something i can put to spread out the navbar and shout box thanks

Digital Jedi
09-30-2011, 10:32 PM
Link to forum? that is my forum.

I really dont know. i am looking for a mod or add on that places something there. I have saw a lot of site have news, links, adsense, just looking for something i can put to spread out the navbar and shout box thanks
He means can WE see a link to your forum so we know what to suggest. However, that probably isn't necessary. The different things you saw are all accomplished with different tools. Chatboxes are mods by themselves, and we have several here. Ads are sometimes modifications, but mostly just people using vB default ad templates. The rest is done by modifications depending on what you want done. There's a scrolling ticker, for example, that displays thread titles.

SPEEDKILLZ
10-01-2011, 04:52 PM
I would probably just use adsense but i need to know how to put them on in the center? every time i put the on it puts one on the far left and the next one right next to it leaving the right side open and i dont want 4 large rectangles? how can i just insert 2 in the center thanks

Digital Jedi
10-01-2011, 05:49 PM
You can put the code in a <div> container, and set the style to align center.
<div style="text-align:center">AD CODE<div>

SPEEDKILLZ
10-01-2011, 07:00 PM
You can put the code in a <div> container, and set the style to align center.
<div style="text-align:center">AD CODE<div>

Thanks that worked perfect except it also made the text in my shoutbox and the whats going on also centered?? any way to make just the ads centered?

K!nG
10-01-2011, 09:55 PM
This is wat i use just to center my ads. Hope it helps.

<p align="center"> ads code </p>

SPEEDKILLZ
10-01-2011, 10:13 PM
This is wat i use just to center my ads. Hope it helps.

<p align="center"> ads code </p>

that worked great thank you and thank you jedi for your help

--------------- Added 1317511983 at 1317511983 ---------------

is there a way to put a small space in between them as well so they are not right against each other?

Digital Jedi
10-02-2011, 12:12 AM
I recommend using the <div> over the <p>, since that's meant for text only. Also if you use the style element, you'll be able to do more with it.

We would probably need to see your ad code to know why there's no spacing between them.

SPEEDKILLZ
10-02-2011, 12:44 AM
ok so do you need me to post the entire code? also when i use the div code for some reason it made all text centered on my forum

Digital Jedi
10-02-2011, 12:59 AM
As long as you post them in the tags, that will be fine.

--------------- Added 1317521611 at 1317521611 ---------------
Thanks that worked perfect except it also made the text in my shoutbox and the whats going on also centered?? any way to make just the ads centered?


It would only have done that, if there's an open tag somewhere in your forum. So, you've probably got another problem (https://vborg.vbsupport.ru/showthread.php?t=256394) you might want to address.

SPEEDKILLZ
10-02-2011, 04:15 AM
Here is the code now

<p align="center"> <script type="text/javascript"><!--
google_ad_client = "pub-9181553695854459";
/* 336x280, created 9/29/11 */
google_ad_slot = "3468033999";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

<script type="text/javascript"><!--
google_ad_client = "pub-9181553695854459";
/* 336x280, created 9/29/11 */
google_ad_slot = "6450148943";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>

what you mean open tag? how i find that? thanks

markbolyard
10-02-2011, 04:24 AM
Here is the code now

<p align="center"> <script type="text/javascript"><!--
google_ad_client = "pub-9181553695854459";
/* 336x280, created 9/29/11 */
google_ad_slot = "3468033999";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

<script type="text/javascript"><!--
google_ad_client = "pub-9181553695854459";
/* 336x280, created 9/29/11 */
google_ad_slot = "6450148943";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>

what you mean open tag? how i find that? thanks

If you want to ad a space between your ads, just add


&nbsp;


between your two ads.

When he says closed tag, he means you have a <div> without a closing tag </div>, or a <p> tag without the closing </p>

--------------- Added 1317533215 at 1317533215 ---------------

BTW, based on the code you posted, that code looks fine, but change the


<p align="center">


to


<div style="text-align:center;">


and the closing </p> tag to </div>

SPEEDKILLZ
10-02-2011, 05:06 AM
thank you i see i forgot the / in the code jedi gave me.. Thank you all so much it's fixed? but a question just for learning experience. What is the diff if the two codes are they for different things?

Digital Jedi
10-02-2011, 07:25 AM
You mean <p> and <div>? The <p> (http://www.w3schools.com/tags/tag_p.asp) defines a paragraph, which is why it's just for text. While <div> (http://www.w3schools.com/tags/tag_div.asp) defines a section or block element on your page. <div> is what you would use when placing blocks of code on your pages.