meehal Posted May 3, 2008 Share Posted May 3, 2008 Hello, this issue has been driving me crazy. I haven't really had to use anchors before and now the time has come... I'm using php and HTML the content is pulling in via GET and the content is in a plain html file. e.g.... index.php?page=home.html where home.html is an actual file located in say pages/ i'm using the standard anchor techniques here is some text above my link to anchor <a href="#test1">test</a> moves you to the div with a ID called test. <br/> <br/> <br/> <br/> <a name="test1">text</a> Now when clicked it jumps the anchor but removes anything above it, is there a way around this. I think its going to be something very obvious but i just can't see it. Any help would be greatly appreciated. I've tried google and searching this forum, but perhaps i'm searching for the wrong thing. Thank you. Link to comment https://forums.phpfreaks.com/topic/104000-anchors-cut-off-my-page/ Share on other sites More sharing options...
p2grace Posted May 3, 2008 Share Posted May 3, 2008 by this: <a name="test1">text[/url] you mean: <a name="test1">text</a> correct? Link to comment https://forums.phpfreaks.com/topic/104000-anchors-cut-off-my-page/#findComment-532436 Share on other sites More sharing options...
blueman378 Posted May 4, 2008 Share Posted May 4, 2008 lol the forum does that when you dont include code tags, yes he means <a name="test1">text</a> Link to comment https://forums.phpfreaks.com/topic/104000-anchors-cut-off-my-page/#findComment-532511 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.