Hi! I'm starting HTML/CSS and I'm having this problem with positioning of elements...
I've used this to position a text:
HTML
<center>
(...)
<p id="txt_principal">lorem ipsum (...)</p>
(...)
</center>
CSS
#txt_principal{
font: italic normal 14px Verdana, sans-serif;
color: #DDD;
text-align:justify;
position:absolute;
margin-top: 25px;
margin-left: 205px;
margin-right: 400px;
}
But whenever the window is resized the text gets out of position, as you can see on the video below.