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.
Posts: 2

How to add AD in left side

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):


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

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:

Code: Select all


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


Code: Select all

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

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.

Thanks for an explanation and details)