Forum Moderators: not2easy

Message Too Old, No Replies

Creating an ad container

         

redacter

4:12 am on Mar 3, 2009 (gmt 0)

10+ Year Member



I have an ad container down the right side of my site for skyscraper ads, and would like to add a similar container down the left side. Is there an easy way to do this?

Obviously, I'm not the brightest when it comes to CSS so bear with me... and thanks for any tips!

swa66

10:34 pm on Mar 3, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There's too little info to help you. How is the skyscraper put on the right now ?

solutions you could envisage are floating a block left and one right and then just flowing you content in between.

redacter

11:53 pm on Mar 3, 2009 (gmt 0)

10+ Year Member



there is a body.css doc with the following:

}

/* Framework Div */

div#container div#contentLeft {
width:720px;
}

div#container div#skyscraper {
width:160px;
margin-top: 231px;
}

I'm not sure this controls the position, however.

simonuk

8:35 am on Mar 4, 2009 (gmt 0)

10+ Year Member



Sounds to me like you’ll need to move to a 3 column layout instead of 2. The HTML would look something like

<div id=”container”>
<div id=”left”>Left ad here</div>
<div id=”middle”>Main content here</div>
<div id=”right”>Right ad here</div>
</div>

You would then style the 3 divs to your liking. Personally I would have 3 left floats with a clear element below the 3 main divs but your options are quite endless.

redacter

1:41 pm on Mar 4, 2009 (gmt 0)

10+ Year Member



Rockin... thanks!