html css – a link 빈 링크 처리
a href=”#” 으로 처리하지 않고, 그냥 빈 링크를 a link 로 해보고 싶은데, 쉽지 않넹
그냥 href=”#” 을 빼니깐 위의 그림처럼 “Remove” 마우스 포인터가 일반 텍스트 입력을 나타내는 포인터가 되서 안되겠네. 어쩔 수 없이 강제로 style 추가하니 “Change” 처럼 링크를 나타내는 것처럼 보일 수 있겠네.
코드는 아래 것 참고, modal 창이 뜨는 것이라 코드가 지저분함
<a style="cursor: pointer;" class="dropdown-item update-item bs-modal" data-form-url="{% url 'firmware_update' item.pk %}" data-form-size="lg">Change</a><div class="dropdown-divider"></div><a style="cursor: pointer;" class="dropdown-item text-danger" data-toggle="modal" data-target="#confirmModal" data-form-url="{% url 'firmware_delete' item.pk %}" data-title="항목 {{item.pk}} 삭제" data-form-message="정말 삭제 하시겠습니까?"> Remove</a>
참고 사이트
- href 없는 a link 스타일 처리하기 문답
how to set cursor style to pointer for links without hrefs
I have a lot of <a> html tags without the href attribute for making onclick javascript calls. These links do not have a pointer style of cursor. They have text style cursor. How can I set the

](https://stackoverflow.com/questions/2409836/how-to-set-cursor-style-to-pointer-for-links-without-hrefs)