index.php
<div style="width: 220px; color: black; margin: 0 0 0 800px; z-index: 2;">
<?php
// How can we help
$result = mysql_query("SELECT * FROM `static_page` WHERE post_id='27'") or die(mysql_error());
echo '<td>';
while ($data = mysql_fetch_array($result)){
$isi = $data['isi_berita'];
echo '<h2>'.$data['judul'].'</h2><br><br>';
echo substr($isi, 0, 1000).'<br>';
}
?>
</div>
<div style="margin: -250px 0 0 730px; position: relative; z-index: 0;"><image src="images/help.jpg"></div>
I wonder why z-index:2 which is suppose to be on top of z-index:0 does not work as it suppose to be. The fact is the contrary.