Hey Marco,

I'm guessing you're trying to place a medium rectangle (300x250) ad unit?
In that case, the "grid_3" div won't be wide enough and so the sidebar div
is wrapping below the content div.

Fandango uses a 12 column 960 grid layout, so for a column to fit a 300
pixel wide ad you would need to change the sidebar "grid_3" class to
"grid_4", and reduce the content div width by changing the "grid_9" class
to "grid_8". That will give you a total of 12 "columns" in the "grid"
(9+3=12 and 8+4=12).

You can refer to this page for an overview of how the number of columns
translates to the width that is available for content inside the divs:
http://960.gs/demo.html


cheers,
Justin




On Sat, Feb 23, 2013 at 9:08 AM, Marco van den Oever <
[email protected]> wrote:

> Hi, I guess this is a question for Justin, but anyone else that want to
> offer help is also greatly appreciated :)
>
> I want to show ads on the right of my news article page, so using this
> code:
>
> <div id="main" class="sidebar-right">
>         <div class="container_12">
>             <div class="grid_9 content">
>                 <skin:view typename="#stobj.typename#" objectid=
> "#stobj.objectid#" webskin="#url.bodyView#" />
>             </div>
>             <div class="grid_3 sidebar">
>                 <aside>
>                     <skin:genericNav navID="#request.navid#" id=
> "secondarynav"
>                         functionMethod="getBloodline" 
> functionArgs="jointable=""dmNavigation"",
> status=""#request.mode.lvalidstatus#"""
>                         startlevel="3" depth="2" bActive="true"
> bIncludeHome="false" />
>                 </aside>
>             </div>
>         </div>
>     </div>
>
> i removed everything between <aside></aside> and there placed my ad code
> (google ad scripts).
> The problem is that the ads are not showed from the right top to the right
> bottom, but under the left main content...
>
> How should you handle this?
>
> Thanks.
>
> --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: [email protected]
> To unsubscribe, email: [email protected]
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
> ---
> You received this message because you are subscribed to the Google Groups
> "farcry-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
--- 
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to