Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Positioning my adsense skyskraper
Old 10-02-2005, 06:24 PM Positioning my adsense skyskraper
Junior Talker

Posts: 2
Trades: 0
Hi all,


I'm having difficulties placing a Google adsense ad correctly on my page. I have a vbulletin forum which uses a fixed width of 780 pixes and is centered on the page.
Now I would like to place an adsense ad on the right side of my page, but by keeping my forum page always in the middle. The ad should look like it's just floating next to the page.
A good example of what I would like can be found here: http://www.tvgids.nl
I've tried to copy the CSS part from that site, but somehow it's not working on my page.

Does anyone have a suggestion how to place the skyscraper correcty?

Thanks in advance
Bellinis is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-02-2005, 06:41 PM
webfreak's Avatar
Extreme Talker

Posts: 236
Location: USA
Trades: 0
Here's a hack that'll add a right column to your forum. I'm guessing that you could just put your adsense code in there:

http://www.vbulletin.org/forum/showthread.php?t=94495

Last edited by webfreak; 10-02-2005 at 06:44 PM..
webfreak is offline
Reply With Quote
View Public Profile Visit webfreak's homepage!
 
Old 10-02-2005, 06:44 PM
Junior Talker

Posts: 2
Trades: 0
Hehe, that hack was the first thing I tried last week, but it doesn't do what I want. With this hack my forum+ad get centered, not just the forum ;-)
Bellinis is offline
Reply With Quote
View Public Profile
 
Old 10-02-2005, 07:08 PM
webfreak's Avatar
Extreme Talker

Posts: 236
Location: USA
Trades: 0
It may be something with your CSS or how you have it setup.
webfreak is offline
Reply With Quote
View Public Profile Visit webfreak's homepage!
 
Old 10-03-2005, 01:33 PM
sdcdesign.co.uk's Avatar
Extreme Talker

Posts: 198
Location: High Wycombe, Buckinghamshire, London
Trades: 0
It's gonna be something to do with the 'float:left;' property.

Try something like:

Code:
<style type="text/css">
   .adsense { float:left:margin-top:100px;}
</style>

<div class="adsense"> ad code </div>
Something like that....
__________________
[ Insert witty, yet highly intelligent signature here ]
sdcdesign.co.uk is offline
Reply With Quote
View Public Profile Visit sdcdesign.co.uk's homepage!
 
Old 10-04-2005, 09:21 PM
Novice Talker

Posts: 10
Trades: 0
try using this. I'm a noob but whenever I need to position something I use that its like a matter of guessing. and it throws off the whole page under it so I use several of them for every part of my page, and use that as the tempelate for my whole site

<div style="position: absolute; top: -110; left: -742; ">
soccrmastr is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Positioning my adsense skyskraper
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.22103 seconds with 12 queries