
<html>
<head>
<link rel="stylesheet" type="text/css" href="stylesheets/styles.css" />
</head>
<body id="body_services">
<div id="tasks">
<ul>
<a href="#"><li>Add a new taxi service</li></a>
<a href="#"><li>Update a taxi service</li></a>
<a href="#"><li>Delete a taxi service</li></a>
<a href="#"><li>View taxi services</li></a>
</ul>
</div>
</body>
</html>
#body_services{ background-color:#FFFF4F; font-family:Segoe UI, Calibri, sans-serif; }
#tasks ul li { height:35px; }
#tasks { padding-left:40px; padding-top:100px; }
#tasks a { color:#000; }
#tasks a:hover { font-weight:bold; }
The problem is that you can click a link anywhere within that particular line(showed from the red line in the screenshot). I want to make the links clickable only when the cursor is hovered its text.
How can I do this?
Thank you.

New Topic/Question
Reply


MultiQuote







|