How to add AD in left side

Place to talk about website HTM elements, CSS style and design, and get help with HTML, CSS codes.
niceman
Posts: 2

How to add AD in left side

Hi
I would like to know where on my page to paste ads from google it display in this place:

IMG (Is so big, so i don't use img tag):
backup-cppl.s1.backupftp.pl/ads.png

Website:
bazaro.org/

Please help. This is old theme and stupid building on the tables.

MarPlo Posts: 186
Hi
What did you tried?
If it is a CMS with template system, you need to know how to make changes in the html and css code of that template.
The easiest way it comes in my mind is to set "position: fixed;" for that AD, and move the whole content to the right, by same with, by increasing the "margin-left" of the BODY element.
Something like this:
- HTML

Code: Select all

<body>

<div id="left_ad">ADs</div>
<div id="main_cnt">
 Other html items and content ..
</div>

</body>
- CSS

Code: Select all

<style type="text/css">
body {
  margin: 0 0 0 162px;
  background: #fbfbfe;
  padding: 0;
  text-align: center;
}
#left_ad {
  position: fixed;
  top:2px;
  left: 2px;
  width: 160px;
  height: 600px;
  border: 1px solid #333;
}
#main_cnt {
  position: relative;
  margin: 0 auto;
  border: 1px solid #33f;
  text-align: left;
}
</style>

niceman Posts: 2
OK I'll try to make this type of modification.
Thanks so much for help. My website uses table template, and I do not understand them.
My designer make for me new layout and will be a new version based on HTML5.

Root13 Posts: 9
Thanks for an explanation and details)