I’ve been developing a mobile site and came across some code that’s causing an issue.
<div class="profile-div-wrapper">
<div class="profile-div">
<div class="header">
<img src="assets/images/image.png" alt=""><h3 id="txtDisplayUserName">Surajjjjjjjjjjj Shukla</h3>
<a href="update_user_profile.html" class="bttn3">Edit Profile</a>
</div>
</div>
</div>
The problem occurs when the heading is too large, causing the "Edit Profile" anchor to shift below.
Here's a link to the fiddle with the same issue. Any suggestions on how to fix this?
Please keep in mind to adjust the fiddle to simulate a mobile device size so you can see the problem clearly.