-
Defining Display Position For Name Anchor
have a web site/page that uses fixed position divs under css control to split the page into defined areas.
The top area contains the menu area and is fixed in position so that the main body sections appear to 'slide under' it as the reader scrolls down the page. Included in the main body section are named anchors to allow quick access to specific items.
When the named anchor is invoked, the browser commences the display at the top of the browser window which results in the first part of the information being out of view.
Is there any way of directing the browser to commence display of the named anchor section part way down the visible window - at a defined number of pixels from the top - so that the start of the section is in view.
Interestingly, it works ok using Firefox to view the page direct from my hard disk (for testing), but not when it is downloaded as a live page from the web.
The web page can be seen at www.keepsmiling.org.uk. It is a single page web site.
Thanks.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks