If I have this code the div will not show if I style it with some background-color? But id="advertise" goes?

<body>
        <div id="ads">
        </div>      
    </body>
</html>
  • What exactly is your code? o.k.w almost 7 years ago

2 answers

Chris 0
0
points
This was chosen as the best answer

Ok AdBlock was the one to blame, thanks!

Answered almost 7 years ago by Chris
0
points

Both works fine for me, both with content and without (but with height and width declared). Have you declared the ID somewhere else on the page?

Answered almost 7 years ago by Jens Hedqvist
  • Or perhaps he has Adblock on... Nathan DeGruchy almost 7 years ago
  • No, really strange. Chris almost 7 years ago
  • Yes Adblock is on. Chris almost 7 years ago
  • then adblock will be seeing ads and thinking don't display it turn adblock off to prove it, then on again and change the name of the div. Tony Crockford almost 7 years ago