Link to home
Start Free TrialLog in
Avatar of Tech_20
Tech_20

asked on

simple CSS link

Hello,

I have issues with a navigation bar that won't link using a basic tag. When I test the file on the current browser, the navigation bar in place but it won't link (not even the finger point icon). Here is the code.

within the style tag...

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: color;
    position: fixed;
    top: 100px;
    width: 100%;
}

li {
    float: left;
}

after the body tag...

<ul>
  <li><a href=“#bookmark1”>Name</a></li>
  <li><a href=“#bookmark2”>Name2</a></li>
  <li><a href=“#bookmark3”>Name3</a></li>
  <li><a href="https://website.com/folder/“>Name4</a></li>
</ul>
SOLUTION
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Tech_20
Tech_20

ASKER

Thanks, Shaun. It appears my code editor of choice has an issue with using the right double quotes. I retyped quotes carefully to ensure I had the right type and it's still having this problem. I will test another editor.

Do you have any recommendations? Thanks.
Avatar of Tech_20

ASKER

I tested the same code on another app (CodePad) and still had link issues. I checked the syntax including double quotes. If I click one link, some other links work intermittently then stop. Any suggestions?
Avatar of Tech_20

ASKER

I'll try your link for JS Fiddle. Thanks.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Tech_20

ASKER

Shaun's assisted solution helped via the process of elimination. I then focused on other faulty code and resolved it.