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

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.