Search code examples
phphtmlhyperlink

cursor not changing on hover


i am having 4 links add visitor,add machine,add host,add operator ,i felt surprised to see that on hovering through the link the cursor icon is not changing. here is my code

<div style="margin-left:800px;margin-top:-200px;"><a style="text-decoration:none" href="addvisitorui.php"><label for="addvisitor">ADD VISITOR</a></div>
            <div style="margin-left:800px;"><a style="text-decoration:none" href="addmachine/addmachineui.php"><label for="addmachine">ADD MACHINE</a></div>
            <div style="margin-left:800px;"><a style="text-decoration:none" href="addhost/addhostui.php"><label for="addhost">ADD HOST</a></div>
            <div style="margin-left:800px;"><a style="text-decoration:none" href="addoperator/addoperatorui.php"><label for="addoperator">ADD OPERATOR</a></div> 

can any one say me what i am doing wrong.Thank you


Solution

  • please remove label from inside anchor tag or if u want to add label you can add it before anchor tag so i will perfect working

    like

    <div style="margin-left:800px;"><label for="addhost"><a style="text-decoration:none" href="addhost/addhostui.php">ADD HOST</a></label></div>