Link to home
Start Free TrialLog in
Avatar of MOSTAGHASSI
MOSTAGHASSIFlag for United States of America

asked on

Jump to a specific point on a responsive page

Hello;

I have a div with its content that  on desktop state is above the page but on responsive state it goes down in middle the page ,and i want that with click on a link user goes to that point in responsive state,is there a solution?

Thanks
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

The usual method is
<a href="#idoftarget">Link</a>

Open in new window


But without seeing the code impossible to guess.

Post some code and we can take it from there.
Avatar of MOSTAGHASSI

ASKER

My codes:

<div class="artists-list-alphabet">
 artists list alphabet
 </div>

Open in new window


This div on desktop is above the page,but on responsive it goes down on the page and its position is not fix,because it depend on another content of that page,so above the page i put a link:

<a href="#">Link</a>

Open in new window


and i want that when user click on this link it goes down near the div and see it.
ASKER CERTIFIED SOLUTION
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa 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
Thanks,it works.
You are welcome.