Jun 13 2008, 04:41 PM
hopefully someone can help. my beta site is refincome,com.
i'm trying to place google adsense ads on the page. i have the adsense code, but don't know how to place it in the code document where i want it/them to appear. if you go to the site, i'd like to place it/them in the blue on either side of the white center, close to the top or middle. ideas???? thx.
Jun 13 2008, 09:34 PM
You need to make div's for them to sit in.
Jun 13 2008, 10:06 PM
thx nazry. i can see divs all thru the body (white part). but i don't know where to insert them and code them to align on either side (in the blue) near the top........ man lots to learn in this coding thing!
Jun 13 2008, 10:21 PM
<div style="position: absolute; top: 150px; left: 3px; border: 1px solid black; background: white; color: black;">
INSERT ADSENSE CODE HERE
put that anywhere in the body of your page.
top: 150px --- That tells how far from the top of the page to put it, you can change that accordingly. The higher the value, the lower on the page it is.
left: 3px ---- How far from left you want it to be... you can change that too...
That should work..
Jun 13 2008, 11:23 PM
CO, thanks! once again, you've been a big help. works perfectly.......
Jun 13 2008, 11:23 PM
your welcome, anytime.
Jun 14 2008, 07:49 AM
Doesn't seem normal...(FF2/FF3)
You need to re-do your div's mate.
Jun 14 2008, 02:00 PM
even if you do they will be to large for a reso of 1024x768) you either need smaller adds or a smaller design or your users will have to scroll not making them able to see the adds (no point of having them than...)
Jun 14 2008, 03:56 PM
thanks guys. on my screen it looks normal. i'll try to place them as far left and right as i can, although at 1024x768 it doesn't look like there'll be enough room on either side. let me know if it's better. thx.
Jun 14 2008, 04:16 PM
You could always place the ads if you really want them in the actual layout, maybe along the bottom under or above the hit counter thing.
Jun 17 2008, 05:59 PM
how do you place the ad script so it's in a fixed position no matter the screen resolution? i view my layout in 1678x883 and it looks fine, but when i view it in 1024x768, the ad is way off (in my case in the middle of the page). in this case, i'm trying to place a vertical ad in the body of the page. thx.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here