What, you don't understand random?
New Site For Your Geeky Needs
Well it's happened, I've joined up with my fellow Team Hack-A-day members to collaborate on a new project.  I'm officially presenting to you, ahead of schedule, a site that is for geeks, by geeks.   What I truly mean to say is that we are going to be like your geeky co-worker, bringing stuff to you that we think you'll find interesting.  Whether it be info about making beer, what games to play...
Review – Motorola X205 Xbox 360 Headset
I made a recent Woot.com purchase of this headset simply for the fact that it was a Xbox 360  accessory and it was very, very inexpensive.  It was so cheap, at a price of $3.99, that I felt the need to buy two just to justify the $5.00 shipping.  I don't think I even stopped to really read the description or even the picture. I eventually received both headsets, or this article obviously wou...
LOTRO Goes Free
Coming very quickly, as in this fall, The Lord Of The Rings Online will be turning into a free to play game. “Warner Bros. Interactive Entertainment is bringing quality games based on The Lord of the Rings to multiple platforms, and the franchise’s expansive adventure story lends itself perfectly for LOTRO free-to-play, giving a wide range of players the opportunity to experience the game...
R.I.P. PS3 LINUX
Dearly Departed, We are gathered here today to mourn the loss of our dear friend PS3 Linux. It is always a tragedy when somebody so young is taken from us. Some of you barely even knew PS3 Linux, such it was that time was lost between you. We know not what the future would have held, what impacts PS3 Linux might have had in our lives. One thing is certain, we have lost something preciou...
Nyko Apologized To Me
Just last week I got a little angry that Nyko Lied To Me since they goofed up when I asked them about a pre-order item from BestBuy.com. Last night I received a direct Twitter message from them stating: "We have seen your blog post and would like to apologize for the confusion. We were going by BestBuy.com's description and NOT the SKU number. We should have checked the SKU number, and for ...

How To Fix Your Text Widget Ads

Posted By: Snorkle256 on July 2, 2009 in Computers, Hack - Comments: No Comments »

If you were paying attention to my blog today (which you most likely weren’t), you would have noticed that I was having issues trying to put ad space on my sidebar. Just last week I decided that I wanted to switch back to using Adsense. Boy, was that ever a mistake. I was quickly reminded why I had started using ProjectWonderful in the first place. However I had a problem, my ads kept getting pushed off to the right of each sidebar. Nothing seemed to work.

Finally today I figured out a quick and dirty solution.

I’m not much for a coder, so I didn’t feel like examining every single line of code. Instead I started playing with what options I could easily change, such as themes. It seems that my 3cwptp theme is the problem. Or more importantly, some coding of css that exists within it.
So without further adu, here is a fix to having your ads not float off of your sidebar while using the text widget.

</div></div> -insert ad code here- <div> <div>

All this is doing is breaking out of the css and then giving the built in close tags something to close so you can put in widgets after this ad.

-Edit- After going home and looking at my blog again, I realized that the smaller screen resolution again breaks the ads.

To fix this I added

<div id="ggg" style="width: 150px; float:left">
-code-
</div>

This once again fixes my ads.  It is possible that this would have done it in the first place but I like the fact that the earlier fix stops the original css from acting upon the code.

Leave a Reply

Log In

Advert

Categories

Advert