randomuser1 randomuser1 - 3 months ago 38
CSS Question

How can I set the correct position of the text in CSS?

I have the following css code:

position: fixed;
bottom: 21px;
text-align: right;

#content h1{
font-size: 1.5vw;
text-align: right;

and html:

<div id="content">

here's jsfiddle. I cannot make the text to be displayed on the right side, it's only on the left side... How can I fix it? Thanks.


Set container's (#content) width css property to 100%.