?
Solved

HTML on page bookmark navigation

Posted on 2007-11-22
3
Medium Priority
?
646 Views
Last Modified: 2013-11-19
Hi,

I know how to make bookmarks in HTML document - <a href='..' name='id_x">text</a>. If I add <body onload="location.href='#id_x'"> then the browser will go to the link with name id_x after the hole webpage is loaded. Everything is OK.

The problem is that the named link appears on the top of the browser window.

Is it possible to force the browser (IE Firefox) to show the names link veticaly centered in the browser window?

Thak you.
0
Comment
Question by:pmarkov
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
edenmachine earned 800 total points
ID: 20336281
Those are actually called "Name Anchors" and not "bookmarks".

If you're referring to the browser window "handlebar" at the very top above the browser toolsbars then, no, you cannot center that.  The reason it's showing up there in the first place is that you aren't defining the <title> tag.

<html>
   <head>
      <title>Name of your page</title>
   </head>
   <body>
...
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question