Hi all just uploaded my new website yornz(dot)com but I am getting problems with the adsense code, as you see currently the the ads are on the top and the content down. I am want to the content to be placed along the ads. need help
sure the adsense ads in under <div id="adsense_article"> and <div id="adsense_article"> CSS rules are: #adsense_article { float: right; margin-top: 5px; margin-right: 10px; margin-left: 20px; }
I see no reason why it wouldn't work though. Try the div tag I posted and update the thread so I can take a quick look if you want. I see you're reading the thread... and I have 5 minutes to spare EDIT: <div style="float: left; margin: 3px 3px 3px 3px;"> ADSENSE CODE HERE </div><p>Yes, you heard me right. You ca... That's what it'd look like... You can just remove the <div id="adsense_article"></div>
Hey, I bet the problem is in your styles.css #article_content { margin-top:60px; float: left; width: 750px; background-color: #aacae1; Code (markup): Both your adsense code and article is contained within this DIV and it tells it to float left. I would try to delete this line float:left and see how does it look. And see where else you have this float: left Well, I mean, if everything floats left then it may be confusing. or try to add block <div style="display:block; float:left; yadda yadda"> Code (markup):
OK. Here's how you fix it. Change your code to this and it will work. #article_content {width: 650px} #article_content p { font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 2em; margin-right: 20px; margin-left: 20px; } HTML: 1. Basically, add "#article_content" to the style sheet and declare "width: 650px" there. 2. Remove "width: 650px" from "#article_content p" because it makes the paragraphs too wide to be next to the ad. 3. Remove "float: left" from "#article_content p" because you don't want the paragraphs to be floated, only the ad itself. The article content paragraphs remain in the regular flow of the document.
Hi, I tried to removed the float left to the article_content div and didnt work I also tried to ad a block it also didnt worked :S how can I fix this :S
Looks like I found the experts. Nothing to do with this theme, (sorry) I am struggeling with an TNX code! My problem is to get it working on a site, set up in html - not in php! Server says they set it up correctly but I cant get it working???