css: why texts will move up after remove position:absolute
<!DOCTYPE html>
<html>
<head>
<style>
h2
{
position:absolute;
}
</style>
</head>
<body>
<h2>This is a heading with an absolute position</h2>
</body>
</html>
Question:
If I remove this line: position:absolute;, the texts in <h2>...</h2> will
move up, why?
No comments:
Post a Comment