Try inspecting the widths of the content div and the sidebar div, see if
there is some extra padding that is getting applied somewhere. The width of
these two can't exceed the container width, otherwise one will always wrap
under the other.

If you can post some screenshots of the dimensions that Firebug is
reporting then it might be easier to help diagnose. Otherwise I'd need to
see your full markup and your css files, or see it running on a server
somewhere :)
On 24/02/2013 8:53 AM, "Marco van den Oever" <[email protected]>
wrote:

> Yes indeed, 160x600.
> I had placed some text between <aside> and that also went under the
> content.
>
> I can place one 160x600 ad under this code:
>
> <div class="container_12">
>
> then it's showing on the right, but if i ad another and the 2 ad heights
> are longer then the news article, they are showed under the content, but
> that's normal behaviour, so that's no solution
>
> When i place the code in content it is placed above or below, depending on
> where i put it.
>
> What i do notice with Firebug is that i even can't detect the grid_3
> sidebar div, as if it's not there, but in the source i can see:
>
> <div class="grid_3 content">
>
>
> So that must be the problem, if there is no grid_3 sidebar div detected it
> isn't there somehow??
>
> I don't really know what's going on as i created the new homepage without
> any problems.
>
> Op zaterdag 23 februari 2013 04:22:43 UTC+1 schreef Justin Carter het
> volgende:
>>
>> Hmmm, so it's only a 160x600 ad? That should have fit perfectly fine the
>> way you had it the first time.
>>
>> If you just place some text inside the <aside> and remove the ad code
>> does it lay out correctly? What happens if you put the ad embed code in the
>> content div? I wouldn't expect the embed code to be doing something weird
>> that would affect the layout.
>>
>> To try to debug it you might need to use Firefox + Firebug or the Web
>> Inspector in Chrome. You should be able to inspect the sidebar element and
>> all the elements inside it, and see if any of them are too wide. Perhaps
>> for some reason there is some padding or margin getting applied that
>> shouldn't be.
>>
>> cheers,
>> Justin
>>
>>
>> On Sat, Feb 23, 2013 at 11:59 AM, Marco van den Oever <
>> [email protected]> wrote:
>>
>>> 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<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?
>>>
>>>  --
> 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