Float Right
Posted: Thu Feb 26, 2015 3:34 pm
hello,
im trying to do a right column on my website http://www.mbappz.co.uk/register.php
I want to split it in to 2 so I can put info to the right of my register form.
I have this
<section class="left-col">
Register Form Here
</section>
then
<section class="right-col">
Other Information Goes Here
</section>
this is the css for the left-col
.left-col{
width: 100%;
float: left;
margin: -2% 1% 1% 1%;
}
how would I get the right column up beside it but on the right of the left column?
Thank you in advance.
im trying to do a right column on my website http://www.mbappz.co.uk/register.php
I want to split it in to 2 so I can put info to the right of my register form.
I have this
<section class="left-col">
Register Form Here
</section>
then
<section class="right-col">
Other Information Goes Here
</section>
this is the css for the left-col
.left-col{
width: 100%;
float: left;
margin: -2% 1% 1% 1%;
}
how would I get the right column up beside it but on the right of the left column?
Thank you in advance.