| | |
a href and marker problems
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Sep 2006
Posts: 9
Reputation:
Solved Threads: 1
I think I am going nuts. I an using the <a> tag with href to go to a link in another document it works correctly in my topstyle editor, works in mozzilla. When I use IE7 it opens the page but does not go to the proper link here are the lines.
one html document
in deapajobs.html I have a line:
one html document
HTML and CSS Syntax (Toggle Plain Text)
<h5><a href="deapajobs.html#job1">PA Maine's Community Health Centers</a></h5>
HTML and CSS Syntax (Toggle Plain Text)
<td colspan="2" class="jobtitle" name="job1" id="job1">Physician Assistant</td>
try this:
I think, you should be able to use anything with a name as a bookmark target ( but I can't seem to find anything that confirms that explicitly ). Old behaviour used to only use names of <a> elements as bookmarks; perhaps IE7 is only respecting that behaviour..
Are you using a document type definition?
<h5><a href="deapajobs.html#job1">PA Maine's Community Health Centers</a></h5>
...
<td colspan="2" class="jobtitle"><a name="job1">Physician Assistant</a></td>I think, you should be able to use anything with a name as a bookmark target ( but I can't seem to find anything that confirms that explicitly ). Old behaviour used to only use names of <a> elements as bookmarks; perhaps IE7 is only respecting that behaviour..
Are you using a document type definition?
Last edited by MattEvans; Apr 6th, 2007 at 3:42 pm.
Plato forgot the nullahedron..
The following code is the only kind of code which can accept a clicked link:
This is defined for only a (anchor) tags.
But the name attribute does different things with other tags:
In the above code, it identifies the object, so other objects on the same page can talk to it. It has nothing to do with following an a link.
In the map tag, name identifies the map for use by javascript.
In the select dropdown list, name gives the name of the click line for the choice.
In the input tag, name gives the name of the field for javascript use.
All of these uses are different uses of the name attribute in different tags. They have nothing in common.
HTML and CSS Syntax (Toggle Plain Text)
<a name="job1">Here is the point to land on</a>
This is defined for only a (anchor) tags.
But the name attribute does different things with other tags:
HTML and CSS Syntax (Toggle Plain Text)
<object title="Explore Site" name="addform" type="text" data="pbook.txt">
In the above code, it identifies the object, so other objects on the same page can talk to it. It has nothing to do with following an a link.
In the map tag, name identifies the map for use by javascript.
In the select dropdown list, name gives the name of the click line for the choice.
In the input tag, name gives the name of the field for javascript use.
All of these uses are different uses of the name attribute in different tags. They have nothing in common.
Daylight-saving time uses more gasoline
![]() |
Similar Threads
- Simple delete problems. (PHP)
- problems with sessions and login.php (PHP)
- Problems accessing some websites (Viruses, Spyware and other Nasties)
- No time... bitch load of problems (Windows NT / 2000 / XP)
Other Threads in the HTML and CSS Forum
- Previous Thread: Data driven web site for xhtml,css, Jscript
- Next Thread: Align floated images in center of page with CSS
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7






