Custom widget issue.. Where is the mistake ?

Hello fellow Elgg addicted users, I will need your help to solve something strange that happens when I try to add a custom widget..

 

First of all my config :

- Elgg 1.8

-Custom Index Widget 2.4

 

I want to add a "register box" widget which will allow guests to reg their account on the index and it currently works :

image

 

 

It's in french, sorry for that.

 

Here is the code in content.php :

<!--?php <br-->  <?php
 
  $register_url = elgg_get_site_url() . 'action/register';
if (elgg_get_config('https_login')) {
    $register_url = str_replace("http:", "https:", $register_url);
}
$form_params = array(
    'action' => $register_url,
    'class' => 'elgg-form-account',
);

$body_params = array(
    'friend_guid' => $friend_guid,
    'invitecode' => $invitecode
);
$content .= elgg_view_form('register', $form_params, $body_params);

$content .= elgg_view('help/register');

$body = elgg_view_layout("one_column", array('content' => $content));

echo $content;
?>        

 

And now the problem, the login top box usually overpass the widgets of the custom_index_widget mod but it's not the case with my mods!

 

The login box get displayed at the bottom of my page, more preciselly at the end of my widget!!

Here is a pic :

image

And it should be like that, of course :

image

 

What's wrong on my script which overpass the css style guys ? I tried another custom widget with a coda slider, it do the same thing, pluggin works but it move the login top box beside him..

 

Thanks for your help fellas,

 

Best regards ;)