Forum Moderators: not2easy
I'm trying to change a header to include adsense but I'm not having any success with it. Please can someone advise me. Here's the current header css code:
#header{
position: relative;top:0px;left:0px;
width:766px;
height:133px;
background-image:url(http://*****/includes/stylesheets/images/concert5k.jpg);
background-repeat: no-repeat;
background-position:top left;
}
/*end header*/
Many thanks
CSS files can only contain formatting options for your layout. The AdSense code is Javascript and must be embedded in the HTML part of your pages. If your site contains 1500 separate HTML pages, this unfortunately means updating all those documents. If you however use a scripting language like PHP or ASP to generate your site, you can put the AdSense code in one single file and include that from your scripts.
Can you give a little bit more information how you site is currently structured so we can give some directions to the best solution?