I created a div zone for advertising on top of my site, but when I reduce or increase the size of the pages [Ctrl +] or [Ctrl -].advertising is not reduced.

Recommended Answers

sorry...you may want to post the relevant code. Every page that I access on your site has me waiting 15 seconds before the content is accessible.

my guess is that you dont have a div "wrapping" your content... therefore as you zoom in and out, the div is shifting.

Jump to Post

All 2 Replies

sorry...you may want to post the relevant code. Every page that I access on your site has me waiting 15 seconds before the content is accessible.

my guess is that you dont have a div "wrapping" your content... therefore as you zoom in and out, the div is shifting.

here is my code in the theme:

<div id="Ads1">Ads1</div>
<div id="Ads2">Ads2</div>

and the css is:

#Ads1 {
    float: left;
    width: 728px;
    height: 90px;
    margin-left: 152px;
    padding-bottom: 5px;
    padding-top: 5px;
}

#Ads2 {
    float: left;
    width: 200px;
    height: 90px;
    margin-left: 32px;
    padding-bottom: 5px;
    padding-top: 5px;
}

please I'm not familiar with css, can you give me the correct code to do the same thing

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.