I'm making a site about Java(programmin g language). The problem is
that I worked with layers(div). I wanted to make a title in 1 of
these layers and ceter this vertically. But this doesn't look to
work.
This is how I did it:
<html>
<head>
<title>De programmeertaal Java</title>
<style>
h1 {font-size:50; font-family:Times New Roman; text-align:center;}
</style>
</head>
<body>
<div id="logo" style="position :absolute; visibility:inhe rit;
width:250px; height:250px;
left:5; top:5; z-index:4;
background-image:url('logo _background.png ')">
<img src="javalogo.p ng"></img>
</div>
<div id="header" style="position :absolute; visibility:inhe rit;
width:740px; height:200px;
left:255; top:5; z-index:2;
background-image:url('head er_background.p ng')">
<h1>De programmeertaal Java</h1>
</div>
</body>
</html>
Somebody has got an idea?
Thanks,
Blomme Thomas