Reputation: 27
I'm trying to get a div that contains something like:
You're logged as 'username' (<a href='logout.php'>logout?</a>)
But when I try to put it in it gets placed beneath my header. Here's my code to try and make this work.
<body>
<div class="container">
<div class="row">
<span6>
<h1><a href="#">My Header</a></h1>
</span6>
<span6>
<p class="text-right">
You're logged in as username (<a href='logout.php'>logout?</a>)
</p>
</span6>
</div>
</div>
</body>
This get the logout section to appear on the right side as I want but it appears below the header whereas I'd like for it to be on the same vertical position as the header.
Upvotes: 2
Views: 6858