how to right align login and register button on header

i want to keep login or register buttons on right side of header can anyone help me left side i inserted logo 150*150

6th Jul 2016, 5:41 AM
saikrishna musunuru
saikrishna musunuru - avatar
1 Answer
+ 2
<div id="login"> ..whatever login code you're using goes here.. </div> CSS alternative 1: #login { float: right; /*other style you may need*/ } CSS alternative 2: #login { position: absolute; top: 100px; /*adjust to fit your needs*/ right: 60px; /*adjust to fit your needs*/ /*other style you may need*/ }
8th Jul 2016, 1:00 AM
ZinC - avatar