PDA

View Full Version : I could use some CSS help...


Fonz
2011-04-27, 04:54 PM
Ok not an adult blog but I'm setting up a little mainstream blog where I try to sell some guitars and so.

http://www.drumandguitarshop.com/

I'm having problems positioning an adsense ad. In IE and Chrome it shows up below the posts and on FF it shows up below the sidebar which is the way I want it to be. Any suggestions on how I could chance this so it shows up below the sidebar like it does with FF?

Thanx in advance!

virgohippy
2011-04-27, 05:05 PM
I think you want to wrap the first ad code like so:

<div class="Block">your ad code</div>

The second ad code is below a div with "cleared" class, which keeps it below the other columns, so I assume it should stay the way it is.

Fonz
2011-04-27, 05:13 PM
I'm really no CSS hero so should I use the exact code you gave above or define a .Block class in my style.css file?

virgohippy
2011-04-27, 05:17 PM
The "Block" class is already be defined in your CSS, and is being used by the other cells in your sidebar. My recommendation makes use of existing design code.

I didn't go too much into the nitty gritty of your pages, I just did took a quick glance at your code, tweaked and tested.

Fonz
2011-04-27, 05:49 PM
I tried that and it didn't work out like it should.
Would you mind getting in my admin a solve this? I'll give you a few $ for it :)

virgohippy
2011-04-27, 06:36 PM
Not a problem, lemme just wrap up a few things first.

virgohippy
2011-04-27, 07:05 PM
OK, ready now, I sent you a PM. :)

virgohippy
2011-04-27, 09:29 PM
Sorry, was dealing with a client on the phone earlier. Didn't have your stuff open.

Maybe this:
<div style="float:right;width:440px;">your ad code</div>

Fonz
2011-04-28, 02:21 PM
sent you a pm :)

virgohippy
2011-04-28, 04:18 PM
I think that'll do it. :)

Fonz
2011-04-28, 04:46 PM
Thanx a bunch Virgohippy!