Solved

HTML on page bookmark navigation

Posted on 2007-11-22
3
636 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
3 Comments
 
LVL 1

Accepted Solution

by:
edenmachine earned 200 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
grab and show facebook pages event calendars 6 46
Hidden Field Value 10 37
increase words that display in widget 6 23
Birthdays 3 22
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Read about why website design really matters in today's demanding market.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

744 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now