Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 17 Apr 2010, 22:37
youradhere4222 youradhere4222 is offline
 
Join Date: Sep 2007
Aligning Something to the Right of Notices

I'm trying to add a Google AdSense square block to the right-side of the notice box, and it's appearing below the notices instead. What coding should I add to the navbar so that the Google AdSense block appears aside the notices rather than below it?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #2  
Old 18 Apr 2010, 00:21
NickyDee NickyDee is offline
 
Join Date: Aug 2008
Wrap notices bit in one div, and float it left - then wrap the conditional adsense code in another div and float it right. You will probably need to play around with this. I don't have time to fine tune it but below is the rough code. Google "CSS style guide" or something like that if your not sure how to tweak the divs.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I find it useful to wrap adsense in a div anyway, just to help formatting incase its slow to load. On a side note, you realise adsense advertisers technically pay for content ads (e.g. an advert next to an article, or a forum post). Technically this may be in breach of adsense ToS since this will appear on all pages, not just those with content. However, many users do have non-content adsense ads (google don't seem to enforce this policy too strictly) but never the less be aware of it.

Last edited by NickyDee : 18 Apr 2010 at 00:27.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 14:01.

Layout Options | Width: Wide Color: