Hello everybody:
I want to fix the login block in a theme using the following lines:
<? php
$block = module_invoke('user', 'block','view', 'login');
print $block['content'];
?>

I have tried to use css to show it horizontally. I have used in css:

#block-user-0 {
margin: 2em 0 1em;
}
#block-user-0 *
{
display: inline;
color:#292928;
}
#edit-user-login-block {
display:none; /* rehide hidden form element */
}
#block-user-0 h2 {
font-size: 92%;
}
#block-user-0 .form-item {
margin-left: 1em;
font-size:11px;
}
#block-user-0 li {
list-style:none;
background:none;

}
#block-user-0 .form-text{
font-size:10px;
height:12px;
width:70px;
}
#block-user-0 .form-submit{
font-size:11px;
height:19px;
}

but noyhing changes. Anyone knows how to show block horizontally?
one line for user label and input and another for label and input password.

Thanks in advance.

xescjp

SOLUTION !!!!
I have used the following lines in template file:

<?php
$block
= module_invoke('user', 'block','view', 'login');
print
$block['content'];
?>

container-inline is a class used by searchbox that shows inline controls.