Hi 
I'm having trouble aligned my div named #touch inside my class named div.page-name.
I want it to align to the right but I can't understand why it won't. I've tried float;right; as well but it only moves it to the right slightly.
This is my HTML:
And my CSS:
If anyone can help it would be appreciated.

I'm having trouble aligned my div named #touch inside my class named div.page-name.
I want it to align to the right but I can't understand why it won't. I've tried float;right; as well but it only moves it to the right slightly.
This is my HTML:
Code:
<div class="page-name"> <div id="touch">Get in touch!</div> <h3 class="fontface">My Portfolio</h3> </div>
Code:
div.page-name { position:relative; width:1000px; height:100%; background-color:#CFC; margin-left:auto; margin-right:auto; } #touch { position:relative; text-align:right; }
If anyone can help it would be appreciated.

Comment