August 3rd, 2009, 12:08 AM #1
Anyone here excellent at HTML/CSS?
Need some help on my website... I'm trying to put a google ad in a certain spot. I'm pretty sure it can be done as I've seen similar before... I just don't have a clue when it comes to the tech stuff.
Don't want to go posting a ton of code or details right away, anyone think they can help? Thank you!
August 3rd, 2009, 11:43 AM #2
Posted this last night, anyone think they can help, or know of any techie forums that might be able to?
August 3rd, 2009, 11:52 AM #3
Just search for the words near the spot where you want it and start plunking it down till it looks right.
August 3rd, 2009, 12:29 PM #4
Thanks RR, I was trying that last night! I'm all about the trial and error
The problem is it kept sending the other stuff in my header out of whack, which leads me to believe there is probably some code that would tell the stuff that is on the page to stay where it is and let me add in this new element without obstructing anything else... sadly I'm lost when it comes to that stuff!
August 3rd, 2009, 01:23 PM #5
Im assuming this is for the All Pac 10 site, if so it looks like it's running on Wordpress, which is actually PHP & CSS to be specific. Where are you trying to put this? If it's in the header you should just be able to modify the header.php file.
Me personally i would replace the title & slogan w/ it, i never leave the title and slogan in wordpress sites, i think it looks cheesy.
I would also look into a plugin for adsense integration over hardcoding it
Last edited by ianmonsta; August 3rd, 2009 at 01:25 PM.
August 3rd, 2009, 04:36 PM #6
Without knowing exactly what you are trying to do (is the ad in its own div?) it is a bit hard to say. Things to check off the top of my head, be sure that you have the div's clear property set to none (so it doesn't shove the other content below it in the document), be sure you don't have crazy margins (or the margins are collapsing)
If you change the positioning on the ad div to Absolute, you take it out of the flow of the document, so it will no longer push other elements around (although you run the risk of it going behind / on top of another element), but this often isn't a great solution as you are creating a clumsy work around rather than solving what is wrong.
If you show us some code / visual example of what is going wrong it would be easier to diagnose.
August 3rd, 2009, 05:42 PM #7
Thanks guys! I finally figured it out... well, an old techie friend of mine helped me out with it.
Appreciate all of the help, thank you