Hi to all
I have a problem on aligning text
in index.html
<p id = "variable"> </ p>
where variable is sent from the server and can be 3 to 11 characters length
in index.css
#variable {
font: bold 36px "verdana", "arial";
position: absolute;
left: 80px;
top: 55px;
color: #ffffff;
text-align: right;
}
but the position of the text is not aligned to the right and flows to the right if the length increases.
Where i have been wrong?
Thanks
I have a problem on aligning text
in index.html
<p id = "variable"> </ p>
where variable is sent from the server and can be 3 to 11 characters length
in index.css
#variable {
font: bold 36px "verdana", "arial";
position: absolute;
left: 80px;
top: 55px;
color: #ffffff;
text-align: right;
}
but the position of the text is not aligned to the right and flows to the right if the length increases.
Where i have been wrong?
Thanks