![]() |
|
|
Thread Tools |
|
#1
|
||||
|
||||
|
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?
No members have liked this post.
|
||||
|
#2
|
||||
|
||||
|
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.
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. No members have liked this post.
Last edited by NickyDee : 18 Apr 2010 at 00:27. |
||||
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 14:01.


