Jump to content

Recommended Posts

http://www.americanbeautytools.com/site/index.php?req=prod&cat=handpieces#10517

 

This should move the user to a link on the page (model 10517).  It works perfectly in FF or Opera but in IE it drops down to random places around the actual link.  Any idea what I can do to get it to show up properly?

Link to comment
https://forums.phpfreaks.com/topic/93348-links-within-a-page/
Share on other sites

it just depends on how your HTML is formated.

the way those links work is that it takes you

to wherever that id is called for.

 

so if i had this:

 

<html>
<head>
	<title>
		My Website
	</title>
</head>
<body>
	<div id="header">
		Header
	</div>
	<div id="content">
		Content
	</div>
	<div id="footer">
		Footer
	</div>
</body>
</html>

 

 

and then you put a link like this:

<a href="page.html#content">Content</a>

 

it will take you to the div with the id content.

 

so if its not taking you to the right place in IE,

try moving around the area that has the id of

which you are calling. Or if that ID has CSS

styling, just create a random new ID for the

place you want to link to so that IE can link

to the correct position you want it to link to.

Link to comment
https://forums.phpfreaks.com/topic/93348-links-within-a-page/#findComment-479688
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.