5
How to insert a div into another div without either of them making the line break.
I want to do it this way because I’m in the development of a Clan website and the index has to have the login or registration button, I did it but when I went to run the html it broke the line of the 2nd div.
<div id="menubarwidget">
<div id="register"><a href="?action=register">Registro</a></div>
<div id="login"><a href="?action=login">Entrar</a></div>
<!-- E se for o caso do $_COOKIE retornar um usuário já logado -->
<div id="loggedin" style="display: <?php echo $logged_display; ?>"><span id="username"><?php echo $logged_in_user; ?></span></div>
</div>