<?php
<span style="float: left; margin-left: 10px; margin-top: -1px;">
<form action="member.php" method="post">
<input type="text" class="textbox" name="username" value="Username" size="20" onfocus="if(this.value == 'Username') { this.value = ''; }" onblur="if(this.value=='') { this.value='Username'; }" />
<input type="password" class="textbox" name="password" value="password" onfocus="if(this.value == 'password') { this.value = ''; }" onblur="if(this.value=='') { this.value='password'; }" size="20"/>
<label title="{$lang->remember_me_desc}"><input type="checkbox" class="checkbox" name="remember" checked="checked" value="yes" style="vertical-align: middle; margin-top: -1px;" /> {$lang->remember_me}</label>
<span style="margin-left: 8px;">
<input type="submit" class="button" name="submit" value="{$lang->login}" />
<input type="hidden" name="action" value="do_login" />
</span>
</form>
</span>
<span style="float: right; font-weight: bold; margin-top: 2px; margin-right: 10px;">
<img class="icon" src="{$theme['imgdir']}/icons/key.png" alt="" /><a href="{$mybb->settings['bburl']}/member.php?action=lostpw">{$lang->lost_password}</a>
<img class="icon" src="{$theme['imgdir']}/icons/register.png" alt="" /><a href="{$mybb->settings['bburl']}/member.php?action=register">{$lang->welcome_register}</a>
</span>
<?php
<div style="float: left; padding-left: 8px; padding-top: 2px;">
<strong>Welcome {$mybb->user['username']},</strong> <a href="{$mybb->settings['bburl']}/private.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/icons/pm.png" alt="" title="" class="icons-irt" /><strong>{$lang->welcome_pms}</strong></a> {$lang->welcome_pms_usage} <a href="{$mybb->settings['bburl']}/member.php?action=logout&logoutkey={$mybb->user['logoutkey']}"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/icons/logout.png" alt="" title="" /><strong>{$lang->welcome_logout}</strong></a></div>
<div style="float: right; padding-right: 8px; padding-top: 2px;">
<a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a> -
<a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a> |
<a href="{$mybb->settings['bburl']}/usercp.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/icons/ucp.png" alt="" title="" /><strong>{$lang->welcome_usercp}</strong></a>
{$modcplink}{$admincplink}
</div>
(14 Dec, 2011, 2:01 pm)Josh escribió: GraciasEso me lo ubieras dicho eso barra es para que ocupe todo el espacio, con respecto a lo anterior algun <div> no has de haber cerrado
Lo único es que al hacerlo me salen todos los campos juntos y la barra no ocupa todo el margen de la web, solo una parte :S
<?php
background-image: url("/back.png");
left: 0;
position: fixed;
top: 0;
width: 100%;
z-index: 200;
<?php
background-image: url("/back.png");
left: 0;
position: fixed;
button: 0;
width: 100%;
z-index: 200;