Здравейте,
Имам следната страница :
Където искам "CSS is fun" да бъде позиционирано в средата по вертикала, не само по хоризонтала.
Някой има ли някакви идей?
Имам следната страница :
Код:
<html>
<head>
<style type="text/css">
div
{
float:right;
width:120px;
height: 120px;
margin:0 0 0px 0px;
padding:0px;
border:1px solid black;
text-align:center;
}
</style>
</head>
<body>
<div >
CSS is fun!
</div>
<p>
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is s
</body>
</html>
Където искам "CSS is fun" да бъде позиционирано в средата по вертикала, не само по хоризонтала.
Някой има ли някакви идей?