1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Using display:none on responsive website

Discussion in 'Guidelines / Compliance' started by 9YBMW, Nov 14, 2012.

  1. #1
    Hi all,

    I'm developing a CSS responsive website that works on both desktop and mobile browsers. My plan is to display 3 adsense units on the desktop view and 1 unit in the mobile view. However because of the overall layout, it means I have to place a total of 4 adsense units per page. However I set it up so that above 960px, only 3 are displayed, and below 960px, the 4th one only is displayed (i.e. only one displayed). I am using display:none (in CSS) to hide and show DIVs (which wrap the untouched Adsense code). Was wondering if this was a legitimate strategy or if it goes against their terms in any way.

    Would their crawler be able to interpret my CSS and realize that I have set it up so that only a maximum of three units are displayed?
     
    9YBMW, Nov 14, 2012 IP