Quantcast

Entire div has disappeared, even though it is present in 'view source'

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Entire div has disappeared, even though it is present in 'view source'

Tim Dawson
Hello,

I have a problem on a web site I've been running for some time. It has
been working OK, but recently an entire <div> has ceased to display.

You can see an example of the relevant page at:
http://holidaymull.co.uk/bb-sw
In the left-hand column under the Google map there should be a <div>
containing about four 'adverts' - each with a thumbnail image and text
underneath.

The <div> shows up in 'View Source' and if I put some JS alerts into the
script generating the div's content they will show too. But no heading
and no adverts.

There used to be no problem with this. I can only think that something
I've changed elsewhere has caused it.

I've noticed that in Document Inspector' there is no information shown
under 'Rules' for the element "<div class='adverts'>" (which is inside
"<div id='sf-cont'>" which itself is in "<div class='inner'>). This
seems very odd to me, but I can see no reason for it.

I'm assuming so far that the problem must lie in the CSS because the PHP
script is generating the content, it just seems to be hidden.

Can anyone help me find the problem, please?

Regards,

Tim Dawson
--
Tim Dawson
Maolbhuidhe
Fionnphort
Isle of Mull  PA66 6BP

01681 700718
______________________________________________________________________
css-discuss [[hidden email]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Entire div has disappeared, even though it is present in 'view source'

Tom Livingston
On Fri, Nov 18, 2016 at 7:19 PM, Tim Dawson <[hidden email]> wrote:

> Hello,
>
> I have a problem on a web site I've been running for some time. It has been
> working OK, but recently an entire <div> has ceased to display.
>
> You can see an example of the relevant page at:
> http://holidaymull.co.uk/bb-sw
> In the left-hand column under the Google map there should be a <div>
> containing about four 'adverts' - each with a thumbnail image and text
> underneath.
>
> The <div> shows up in 'View Source' and if I put some JS alerts into the
> script generating the div's content they will show too. But no heading and
> no adverts.
>
> There used to be no problem with this. I can only think that something I've
> changed elsewhere has caused it.
>
> I've noticed that in Document Inspector' there is no information shown under
> 'Rules' for the element "<div class='adverts'>" (which is inside "<div
> id='sf-cont'>" which itself is in "<div class='inner'>). This seems very odd
> to me, but I can see no reason for it.
>
> I'm assuming so far that the problem must lie in the CSS because the PHP
> script is generating the content, it just seems to be hidden.
>
> Can anyone help me find the problem, please?


I am seeing JS errors in the console and when I inspect the area in
question, I am seeing some scripting.

--

Tom Livingston | Senior Front End Developer | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | medialogic.com


#663399
______________________________________________________________________
css-discuss [[hidden email]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Entire div has disappeared, even though it is present in 'view source'

Georg-2
In reply to this post by Tim Dawson
Den 19.11.2016 01:19, skrev Tim Dawson:

> Hello,
>
> I have a problem on a web site I've been running for some time. It has
> been working OK, but recently an entire <div> has ceased to display.
>
> You can see an example of the relevant page at:
> http://holidaymull.co.uk/bb-sw
> In the left-hand column under the Google map there should be a <div>
> containing about four 'adverts' - each with a thumbnail image and text
> underneath.

FYI: the adverts do show up in IE11, with some JS code showing above
them below the map.

Just a guess, but in addition to JS flaws you may have a layering
(z-index) problem for the relevant container.

regards
         Georg
______________________________________________________________________
css-discuss [[hidden email]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Entire div has disappeared, even though it is present in 'view source'

Rick Gordon-4
In reply to this post by Tim Dawson
When I inspect .adverts in Chrome (Mac), I get the CSS listed below, and
I cannot edit the display:none. They display in Firefox (Mac). I had
paused Ghostery, which did not help, and AdBlocker says it was blocking
no ads, but disabling AdBlocker allows the ads to show. So I guess it's
AdBlocker, if you have that, or something similar installed.

element.style {
}
::content #ad_unit_slot1, ::content #adid10601, ::content #ads-category,
::content #ads_box1, ::content #adsensequadr, ::content
#adunit-mpu-btf-6, ::content #advert-skyscraper, ::content
#article_ad_bottom_cont, ::content #below_content_ad_container,
::content #bottom-ads-container, ::content #channel-ads-300x600-box,
::content #contentad-top-adsense-1, ::content #dc-display-right-ad-1,
::content #div-adcenter2, ::content #featured-ad-left, ::content
#gameAdMiddle, ::content #half-page-ad, ::content #home_sec2_adverts,
::content #ip-ad-leaderboard, ::content #leftAdvert, ::content #menuAds,
::content #nbaVid300Ad, ::content #populate_ad_left, ::content
#right-ad-block, ::content #search-ad, ::content #sidebar_ad_adam,
::content #sponsored-inline, ::content #videoPlayerAdLayer, ::content
#zMSplacement1, ::content .AdsenseDownload, ::content
.PU_DoubleClickAdsContent, ::content .ad--square-rectangle, ::content
.ad-bottomleader, ::content .ad-label, ::content .ad-sidebar-180-150,
::content .ad125x125, ::content .adBannerTypW300, ::content
.adMastheadLeft, ::content .ad_234x60, ::content .ad_column_box,
::content .ad_placement_small, ::content .adblock-600-120, ::content
.adkicker, ::content .ads-express, ::content .adsFull, ::content
.ads_title, ::content .adsghori, ::content .adv-background, ::content
.advert-banner, ::content .advertiseLabel234x60, ::content
.advertismentBox, ::content .article-ad-bottom, ::content
.bannerAdRectangle, ::content .block-boxes-ad, ::content .bottomadtop,
::content .category-advertorial, ::content .container-advMoreAbout,
::content .detail_ad, ::content .entry-injected-ad, ::content
.frn_placeholder_google_ads, ::content .google-sponsored-link, ::content
.hd-adv, ::content .homepageMPU, ::content .inlinead, ::content .ld-ad,
::content .macAd, ::content .ml-adverts-sidebar-4, ::content
.mypicadsarea, ::content .ovAdartikel, ::content .popup-ad, ::content
.rectangle-embed-ad, ::content .right_col_ad, ::content
.section-front__top-ad, ::content .sidebar_sponsors, ::content
.spons_links, ::content .sponsors-widget, ::content .tblAds, ::content
.top-box-right-ad, ::content .type_adscontainer, ::content
.wide_grey_ad_box, ::content .yahoo-ad-leader-north, ::content
a[href^="http://galleries.pinballpublishernetwork.com/"], ::content
a[href^="https://affiliates.bet-at-home.com/processing/"], ::content
.__y_outer, ::content .ad_label_method, ::content #block-boxes-taboola,
::content #textlink_ads_placeholder, ::content #adBlockAlertWrap,
::content .adblock_enabled, ::content #adBlockAlert, ::content
.adsponsor, ::content .ads-smartphone, ::content #ad-header-mobile,
::content .ads-feed, ::content .wsj-ad:not(.adActivate), ::content
.player_ad, ::content #WNAd41, ::content #topAd, ::content .bottom-ad,
::content #mpu2_container, ::content .ad-top, ::content #ads-wrapper,
::content #advert_box, ::content .ad-stack, ::content .adRotator,
::content .ad_slug_table, ::content .leftAd, ::content .reportAdLink,
::content #bottom_ad, ::content .ad-links, ::content .admain, ::content
.advert-horizontal, ::content .showAd, ::content #featuread, ::content
.ad-sidebar, ::content .category-ad, ::content .type_ads_default,
::content #sponsorAdDiv, ::content .ec-ads-remove-if-empty, ::content
.rail-ad, ::content #leaderboard-ad, ::content .adText, ::content
.advert_area, ::content .oasad, ::content .wpInsertInPostAd, ::content
#mpu2, ::content .story-ad, ::content #right_ads, ::content
.premiumAdOverlayClose, ::content .side-bar-ad-position1, ::content
.skinAd, ::content .ad-cell, ::content .leaderboard-ads, ::content
.singleAd, ::content .topAds, ::content #ad_unit, ::content #game-ad,
::content .ad-item, ::content .google-sponsored, ::content #myAd,
::content .ad90, ::content .openx, ::content .playerAd, ::content
.ad_trick_left, ::content .pfAd, ::content #ad-area, ::content
#footer_ad, ::content #sideAd, ::content
a[href^="http://ad.doubleclick.net/"], ::content #adBelt, ::content
#adspace, ::content .adRight, ::content .advertisement-swimlane,
::content .premiumAdOverlay, ::content #adaptv_ad_player_div, ::content
#bigad, ::content #topad, ::content .adslot, ::content .banner_ad,
::content .box-radvert, ::content .rightadv, ::content .yom-ad,
::content div[id^="MarketGid"], ::content #ad468, ::content .ad_2,
::content #topBannerAd, ::content .ads-bg, ::content .searchAds,
::content .ad-unit-300-wrapper, ::content .ad_trick_header, ::content
.afs_ads, ::content .pushdown-ad, ::content .smallAd, ::content
a[href^="http://www.fleshlight.com/"], ::content #ad-wrapper, ::content
.ad-enabled, ::content #ad-text, ::content #ka_adRightSkyscraperWide,
::content #sponsors-home, ::content .adspace, ::content .newsAd,
::content a[href*=".trust.zone"], ::content #ad728x90, ::content
.ad-cat, ::content .adverts, ::content .banner_728x90, ::content
.contentAd, ::content .dfp-tag-wrapper, ::content .post_ad, ::content
.region-top-ad-position, ::content #ads_bottom, ::content #sidebar_ad,
::content #videoAd, ::content #Advertisements, ::content #adText,
::content #bannerad, ::content #reklama, ::content .block-ad, ::content
.bottomAds, ::content .trc-content-sponsored {display: none;}

--------------------
On 11/18/16, 4:19 PM Tim Dawson said:

> Hello,
>
> I have a problem on a web site I've been running for some time. It has
> been working OK, but recently an entire <div> has ceased to display.
>
> You can see an example of the relevant page at:
> http://holidaymull.co.uk/bb-sw
> In the left-hand column under the Google map there should be a <div>
> containing about four 'adverts' - each with a thumbnail image and text
> underneath.
>
> The <div> shows up in 'View Source' and if I put some JS alerts into
> the script generating the div's content they will show too. But no
> heading and no adverts.
>
> There used to be no problem with this. I can only think that something
> I've changed elsewhere has caused it.
>
> I've noticed that in Document Inspector' there is no information shown
> under 'Rules' for the element "<div class='adverts'>" (which is inside
> "<div id='sf-cont'>" which itself is in "<div class='inner'>). This
> seems very odd to me, but I can see no reason for it.
>
> I'm assuming so far that the problem must lie in the CSS because the
> PHP script is generating the content, it just seems to be hidden.
>
> Can anyone help me find the problem, please?


___________________________________________
RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________
WWW: http://www.shelterpub.com
______________________________________________________________________
css-discuss [[hidden email]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Entire div has disappeared, even though it is present in 'view source'

Tim Dawson
Thank you everyone, I also think it must be AdBlocker that has caused my
problem. I feel somewhat chastened for not having spotted that myself!
Something to do with wood and trees and the feeling of panic.

Perhaps I need to change some of my wording to avoid AdBlocker here.

It's true the SQL query was showing. That was part of my attempt to see
what the problem was. It's off now.

Many thanks,

Regards,

Tim Dawson
















On 19/11/2016 02:46, Rick Gordon wrote:

> When I inspect .adverts in Chrome (Mac), I get the CSS listed below, and
> I cannot edit the display:none. They display in Firefox (Mac). I had
> paused Ghostery, which did not help, and AdBlocker says it was blocking
> no ads, but disabling AdBlocker allows the ads to show. So I guess it's
> AdBlocker, if you have that, or something similar installed.
>
> element.style {
> }
> ::content #ad_unit_slot1, ::content #adid10601, ::content #ads-category,
> ::content #ads_box1, ::content #adsensequadr, ::content
> #adunit-mpu-btf-6, ::content #advert-skyscraper, ::content
> #article_ad_bottom_cont, ::content #below_content_ad_container,
> ::content #bottom-ads-container, ::content #channel-ads-300x600-box,
> ::content #contentad-top-adsense-1, ::content #dc-display-right-ad-1,
> ::content #div-adcenter2, ::content #featured-ad-left, ::content
> #gameAdMiddle, ::content #half-page-ad, ::content #home_sec2_adverts,
> ::content #ip-ad-leaderboard, ::content #leftAdvert, ::content #menuAds,
> ::content #nbaVid300Ad, ::content #populate_ad_left, ::content
> #right-ad-block, ::content #search-ad, ::content #sidebar_ad_adam,
> ::content #sponsored-inline, ::content #videoPlayerAdLayer, ::content
> #zMSplacement1, ::content .AdsenseDownload, ::content
> .PU_DoubleClickAdsContent, ::content .ad--square-rectangle, ::content
> .ad-bottomleader, ::content .ad-label, ::content .ad-sidebar-180-150,
> ::content .ad125x125, ::content .adBannerTypW300, ::content
> .adMastheadLeft, ::content .ad_234x60, ::content .ad_column_box,
> ::content .ad_placement_small, ::content .adblock-600-120, ::content
> .adkicker, ::content .ads-express, ::content .adsFull, ::content
> .ads_title, ::content .adsghori, ::content .adv-background, ::content
> .advert-banner, ::content .advertiseLabel234x60, ::content
> .advertismentBox, ::content .article-ad-bottom, ::content
> .bannerAdRectangle, ::content .block-boxes-ad, ::content .bottomadtop,
> ::content .category-advertorial, ::content .container-advMoreAbout,
> ::content .detail_ad, ::content .entry-injected-ad, ::content
> .frn_placeholder_google_ads, ::content .google-sponsored-link, ::content
> .hd-adv, ::content .homepageMPU, ::content .inlinead, ::content .ld-ad,
> ::content .macAd, ::content .ml-adverts-sidebar-4, ::content
> .mypicadsarea, ::content .ovAdartikel, ::content .popup-ad, ::content
> .rectangle-embed-ad, ::content .right_col_ad, ::content
> .section-front__top-ad, ::content .sidebar_sponsors, ::content
> .spons_links, ::content .sponsors-widget, ::content .tblAds, ::content
> .top-box-right-ad, ::content .type_adscontainer, ::content
> .wide_grey_ad_box, ::content .yahoo-ad-leader-north, ::content
> a[href^="http://galleries.pinballpublishernetwork.com/"], ::content
> a[href^="https://affiliates.bet-at-home.com/processing/"], ::content
> .__y_outer, ::content .ad_label_method, ::content #block-boxes-taboola,
> ::content #textlink_ads_placeholder, ::content #adBlockAlertWrap,
> ::content .adblock_enabled, ::content #adBlockAlert, ::content
> .adsponsor, ::content .ads-smartphone, ::content #ad-header-mobile,
> ::content .ads-feed, ::content .wsj-ad:not(.adActivate), ::content
> .player_ad, ::content #WNAd41, ::content #topAd, ::content .bottom-ad,
> ::content #mpu2_container, ::content .ad-top, ::content #ads-wrapper,
> ::content #advert_box, ::content .ad-stack, ::content .adRotator,
> ::content .ad_slug_table, ::content .leftAd, ::content .reportAdLink,
> ::content #bottom_ad, ::content .ad-links, ::content .admain, ::content
> .advert-horizontal, ::content .showAd, ::content #featuread, ::content
> .ad-sidebar, ::content .category-ad, ::content .type_ads_default,
> ::content #sponsorAdDiv, ::content .ec-ads-remove-if-empty, ::content
> .rail-ad, ::content #leaderboard-ad, ::content .adText, ::content
> .advert_area, ::content .oasad, ::content .wpInsertInPostAd, ::content
> #mpu2, ::content .story-ad, ::content #right_ads, ::content
> .premiumAdOverlayClose, ::content .side-bar-ad-position1, ::content
> .skinAd, ::content .ad-cell, ::content .leaderboard-ads, ::content
> .singleAd, ::content .topAds, ::content #ad_unit, ::content #game-ad,
> ::content .ad-item, ::content .google-sponsored, ::content #myAd,
> ::content .ad90, ::content .openx, ::content .playerAd, ::content
> .ad_trick_left, ::content .pfAd, ::content #ad-area, ::content
> #footer_ad, ::content #sideAd, ::content
> a[href^="http://ad.doubleclick.net/"], ::content #adBelt, ::content
> #adspace, ::content .adRight, ::content .advertisement-swimlane,
> ::content .premiumAdOverlay, ::content #adaptv_ad_player_div, ::content
> #bigad, ::content #topad, ::content .adslot, ::content .banner_ad,
> ::content .box-radvert, ::content .rightadv, ::content .yom-ad,
> ::content div[id^="MarketGid"], ::content #ad468, ::content .ad_2,
> ::content #topBannerAd, ::content .ads-bg, ::content .searchAds,
> ::content .ad-unit-300-wrapper, ::content .ad_trick_header, ::content
> .afs_ads, ::content .pushdown-ad, ::content .smallAd, ::content
> a[href^="http://www.fleshlight.com/"], ::content #ad-wrapper, ::content
> .ad-enabled, ::content #ad-text, ::content #ka_adRightSkyscraperWide,
> ::content #sponsors-home, ::content .adspace, ::content .newsAd,
> ::content a[href*=".trust.zone"], ::content #ad728x90, ::content
> .ad-cat, ::content .adverts, ::content .banner_728x90, ::content
> .contentAd, ::content .dfp-tag-wrapper, ::content .post_ad, ::content
> .region-top-ad-position, ::content #ads_bottom, ::content #sidebar_ad,
> ::content #videoAd, ::content #Advertisements, ::content #adText,
> ::content #bannerad, ::content #reklama, ::content .block-ad, ::content
> .bottomAds, ::content .trc-content-sponsored {display: none;}
>
> --------------------
> On 11/18/16, 4:19 PM Tim Dawson said:
>> Hello,
>>
>> I have a problem on a web site I've been running for some time. It has
>> been working OK, but recently an entire <div> has ceased to display.
>>
>> You can see an example of the relevant page at:
>> http://holidaymull.co.uk/bb-sw
>> In the left-hand column under the Google map there should be a <div>
>> containing about four 'adverts' - each with a thumbnail image and text
>> underneath.
>>
>> The <div> shows up in 'View Source' and if I put some JS alerts into
>> the script generating the div's content they will show too. But no
>> heading and no adverts.
>>
>> There used to be no problem with this. I can only think that something
>> I've changed elsewhere has caused it.
>>
>> I've noticed that in Document Inspector' there is no information shown
>> under 'Rules' for the element "<div class='adverts'>" (which is inside
>> "<div id='sf-cont'>" which itself is in "<div class='inner'>). This
>> seems very odd to me, but I can see no reason for it.
>>
>> I'm assuming so far that the problem must lie in the CSS because the
>> PHP script is generating the content, it just seems to be hidden.
>>
>> Can anyone help me find the problem, please?
>
>
> ___________________________________________
> RICK GORDON
> EMERALD VALLEY GRAPHICS AND CONSULTING
> ___________________________________________
> WWW: http://www.shelterpub.com
> ______________________________________________________________________
> css-discuss [[hidden email]]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
>

--
Tim Dawson
Maolbhuidhe
Fionnphort
Isle of Mull  PA66 6BP

01681 700718
______________________________________________________________________
css-discuss [[hidden email]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Loading...