The bug with the link on the unit itself link.How to fix?

There is a block div event_description which is in the link in this text with a link and going here is such a bug 8e7e55e8cfea42e79abf972113d5e813.jpg
Because the div is a link
<div class="item_wrapper col-lg-12 col-md-12 col-sm-12 col-xs-12" id="<?=$this->GetEditAreaId($arItem['ID']);?>">
 <a data-toggle="modal" href="/local/ajax/ajax_events.php?events_id=<?=$arItem['ID']?>" data-href="<?='/events/'.$arItem['CODE'].'/'?>" data-id="<?=$arItem['ID']?>">
 <div class="event_item">
 <div class="event_item_img col-lg-4 col-md-4 col-sm-4 col-xs-6"><img src="<?=$arItem['PREVIEW_PICTURE']['SRC']?>" alt></div>
 <div class="event_item_text col-lg-7 col-md-7 col-sm-7 col-xs-6 col-lg-offset-1 col-md-offset-1 col-sm-offset-1 ">
 <div class="event_date"><?eng_date($arItem['DISPLAY_ACTIVE_FROM'])?></div>
 <div class="event_title"><?=$arItem['NAME']?></div>
 <div class="event_description"><?=$arItem['PREVIEW_TEXT']?></div>
 <div role="separator" class="divider"></div>
 <div class="event_detail_btn">LEARN MORE</div>
</div>
</div>
</a>
 </div>


how to make a normal link?
July 2nd 19 at 17:56
0 answer

Find more questions by tags HTML