Hi thanks, I indeed knew about the grid layout but i still run into a
problem, i have:
<div class="grid_7 content">
<skin:view typename="#stobj.typename#" objectid=
"#stobj.objectid#" webskin="displayBody" />
</div>
<div class="grid_5 sidebar">
<aside>
<div style="width:160px; background-color:##CCCCCC">
<script type="text/javascript"><!--
google_ad_client = "xxx";
/* 160x600, gemaakt 16-12-08 */
google_ad_slot = "xxx";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
and still see the ads left below the main content, under my main content is
a disqus comment box, is it possible that is interfering with the layout?
Op zaterdag 23 februari 2013 00:26:52 UTC+1 schreef Justin Carter het
volgende:
>
> 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] <javascript:>> 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] <javascript:>
>> To unsubscribe, email: [email protected] <javascript:>
>> 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] <javascript:>.
>> 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.