Hi I have a function that outputs a nav bar for administrators and one for users. So far I have it working but it only works by lining the images vertically and not horizontally how i would much prefer it! I have tried using layers but i get a parsing error and i'm not certain if php supports layers? Can anyone please assist?
Here is what I have so far:
function display_button($target, $image, $alt)
{
echo "<div id="Layer1" style="position:absolute;" "left:15px;" "top:350px;" "width:732px;" "height:34px;" "z-index:1"><a href=\"$target\"><img src=\"images/$image".".gif\" alt=\"$alt\"></a></div>";
}
was originally:
function display_button($image, $alt)
{
echo "<center><input type = image src=\"images/$image".".gif\"
alt=\"$alt\" border=0 height = 50 width = 135></center>";
}
Many thanks!
simon