IE6 doesn´t follow textanchors

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Torsten Oeltjen

    IE6 doesn´t follow textanchors

    Does anybody know about problems with IE6 on XP SP2:
    textanchors in the same html-page have no function.
    Netscape, Opera and Firefox do not have any problem with them - only IE6
    does not follow these anchors.
    Maybe IE security configurations? I didn´t find an option to enable
    something to fix the problem...
    The only thing I read on SELFHTML:
    "Some browsers do have problems with textanchors in tables"
    In deed not really helpful...

    I includet a html-page (with the textanchor-link) in a php-page (with
    the anchors´ target). Only IE won´t work...

    Torsten
  • Els

    #2
    Re: IE6 doesn´t follow textanchors

    Torsten Oeltjen wrote:
    [color=blue]
    > Does anybody know about problems with IE6 on XP SP2:
    > textanchors in the same html-page have no function.
    > Netscape, Opera and Firefox do not have any problem with them - only IE6
    > does not follow these anchors.
    > Maybe IE security configurations? I didn´t find an option to enable
    > something to fix the problem...
    > The only thing I read on SELFHTML:
    > "Some browsers do have problems with textanchors in tables"
    > In deed not really helpful...
    >
    > I includet a html-page (with the textanchor-link) in a php-page (with
    > the anchors´ target). Only IE won´t work...[/color]

    Did you use <a name="..."></a> or <a id=".."></a> ?

    I found IE6 obeys if you use 'id' instead of 'name' (even on other
    elements than <a>), so I use both: <a name=".." id=".."></a>

    --
    Els http://locusmeus.com/
    Sonhos vem. Sonhos vão. O resto é imperfeito.
    - Renato Russo -
    Now playing: Thunder - Higher Ground

    Comment

    • Torsten Oeltjen

      #3
      Re: IE6 doesn´t follow textanchors

      Els schrieb:
      [color=blue]
      > Did you use <a name="..."></a> or <a id=".."></a> ?
      >
      > I found IE6 obeys if you use 'id' instead of 'name' (even on other
      > elements than <a>), so I use both: <a name=".." id=".."></a>
      >[/color]

      Using <a name="#top">Lin kname</a> or <a id="#top">Linkn ame</a> or both
      doesn´t work in any of my browsers (IE / Netscape / Opera / Firefox).

      Using <a href="#top">Lin kname</a> works, but not in IE.

      The result using href can be seen here:

      At the bottom of the page the link is called "Seitenanfa ng" with an
      arrow up.

      Comment

      • Els

        #4
        Re: IE6 doesn´t follow textanchors

        Torsten Oeltjen wrote:
        [color=blue]
        > Els schrieb:
        >[color=green]
        >> Did you use <a name="..."></a> or <a id=".."></a> ?
        >>
        >> I found IE6 obeys if you use 'id' instead of 'name' (even on other
        >> elements than <a>), so I use both: <a name=".." id=".."></a>
        >>[/color]
        >
        > Using <a name="#top">Lin kname</a> or <a id="#top">Linkn ame</a> or both
        > doesn´t work in any of my browsers (IE / Netscape / Opera / Firefox).[/color]

        Take out the # form the names and ids ;-)

        --
        Els http://locusmeus.com/
        Sonhos vem. Sonhos vão. O resto é imperfeito.
        - Renato Russo -
        Now playing: Warrant - Cherrie Pie

        Comment

        • Els

          #5
          Re: IE6 doesn´t follow textanchors

          Els wrote:
          [color=blue]
          > Torsten Oeltjen wrote:
          >[color=green]
          >> Els schrieb:
          >>[color=darkred]
          >>> Did you use <a name="..."></a> or <a id=".."></a> ?
          >>>
          >>> I found IE6 obeys if you use 'id' instead of 'name' (even on other
          >>> elements than <a>), so I use both: <a name=".." id=".."></a>
          >>>[/color]
          >>
          >> Using <a name="#top">Lin kname</a> or <a id="#top">Linkn ame</a> or both
          >> doesn´t work in any of my browsers (IE / Netscape / Opera / Firefox).[/color]
          >
          > Take out the # form the names and ids ;-)[/color]
          ^^^^
          from

          --
          Els http://locusmeus.com/
          Sonhos vem. Sonhos vão. O resto é imperfeito.
          - Renato Russo -
          Now playing: Warrant - Cherrie Pie

          Comment

          • Arne

            #6
            Re: IE6 doesn´t follow textanchors

            Once upon a time *Torsten Oeltjen* wrote:
            [color=blue]
            > Els schrieb:
            >[color=green]
            >> Did you use <a name="..."></a> or <a id=".."></a> ?
            >>
            >> I found IE6 obeys if you use 'id' instead of 'name' (even on other
            >> elements than <a>), so I use both: <a name=".." id=".."></a>
            >>[/color]
            >
            > Using <a name="#top">Lin kname</a> or <a id="#top">Linkn ame</a> or both
            > doesn´t work in any of my browsers (IE / Netscape / Opera / Firefox).
            >
            > Using <a href="#top">Lin kname</a> works, but not in IE.[/color]

            That's the link, not a anchor (a point in a page where a link can jump
            to): <a href="#content" >Link to a page anchor</a>

            An anchor does not need to be defined with the a tag. Applying the id
            attribute to any tag will do: <table id="content">

            --
            /Arne

            Top posters will be ignored. Quote the part you
            are replying to, no more and no less! And don't
            quote signatures, thank you.

            Comment

            • Lars Eighner

              #7
              Re: IE6 doesn´t follow textanchors

              In our last episode,
              <d86ai8$v8u$1@o nline.de>,
              the lovely and talented Torsten Oeltjen
              broadcast on comp.infosystem s.www.authoring.html:
              [color=blue]
              > Els schrieb:[/color]
              [color=blue][color=green]
              >> Did you use <a name="..."></a> or <a id=".."></a> ?
              >>
              >> I found IE6 obeys if you use 'id' instead of 'name' (even on other
              >> elements than <a>), so I use both: <a name=".." id=".."></a>
              >>[/color][/color]
              [color=blue]
              > Using <a name="#top">Lin kname</a> or <a id="#top">Linkn ame</a> or both
              > doesn´t work in any of my browsers (IE / Netscape / Opera / Firefox).[/color]

              That's right. A name or id doesn't begin with #. The href may
              begin with or contain #.

              [color=blue]
              > Using <a href="#top">Lin kname</a> works, but not in IE.[/color]
              [color=blue]
              > The result using href can be seen here:
              > http://www.agroliner.de/daf_programm.php
              > At the bottom of the page the link is called "Seitenanfa ng" with an
              > arrow up.[/color]

              --
              Lars Eighner eighner@io.com http://www.larseighner.com/
              War on Terrorism: Treat Readers like Mushrooms
              "DO NOT USE photos on Page 1A showing civilian casualties from the U.S. war
              on Afghanistan." -Memo, _Panama City_ (FL) _News Herald_

              Comment

              • Els

                #8
                Re: IE6 doesn´t follow textanchors

                Arne wrote:
                [color=blue]
                > An anchor does not need to be defined with the a tag. Applying the id
                > attribute to any tag will do: <table id="content">[/color]

                Not in all browsers though.
                (I forgot which browsers need the name attribute, but I know they're
                out there...)

                --
                Els http://locusmeus.com/
                Sonhos vem. Sonhos vão. O resto é imperfeito.
                - Renato Russo -
                Now playing: Europe - Superstitious

                Comment

                • Torsten Oeltjen

                  #9
                  Re: IE6 doesn´t follow textanchors

                  Els schrieb:[color=blue]
                  >
                  > Take out the # from the names and ids ;-)
                  >[/color]

                  Sorry - call me fool, but that doesn´t work, too...
                  <a name="top">Link name</a>
                  or
                  <a id="top">Linkna me</a>
                  :-?

                  Comment

                  • Els

                    #10
                    Re: IE6 doesn´t follow textanchors

                    Torsten Oeltjen wrote:
                    [color=blue]
                    > Els schrieb:[color=green]
                    >>
                    >> Take out the # from the names and ids ;-)[/color]
                    >
                    > Sorry - call me fool, but that doesn´t work, too...
                    > <a name="top">Link name</a>
                    > or
                    > <a id="top">Linkna me</a>
                    >:-?[/color]

                    Show me the page where it doesn't work?

                    --
                    Els http://locusmeus.com/
                    Sonhos vem. Sonhos vão. O resto é imperfeito.
                    - Renato Russo -
                    Now playing: Jimi Hendrix - Crosstown Traffic

                    Comment

                    • Torsten Oeltjen

                      #11
                      Re: IE6 doesn´t follow textanchors

                      Els schrieb:[color=blue]
                      >
                      > Show me the page where it doesn't work?
                      >[/color]

                      It´s this page:


                      The link is called "Seitenanfa ng" at (the bottom of the page)

                      Comment

                      • Els

                        #12
                        Re: IE6 doesn´t follow textanchors

                        Torsten Oeltjen wrote:
                        [color=blue]
                        > Els schrieb:[color=green]
                        >>
                        >> Show me the page where it doesn't work?
                        >>[/color]
                        >
                        > It´s this page:
                        > http://www.agroliner.de/daf_programm.php
                        >
                        > The link is called "Seitenanfa ng" at (the bottom of the page)[/color]

                        That's not a link.

                        Change:
                        <a name="top" class="textklei nrest">Seitenan fang</a>
                        to:
                        <a href="#top" class="textklei nrest">Seitenan fang</a>

                        The anchor where the link will lead is higher up in the code (of
                        course), and looks like this: <a name="top"></a>
                        That's the bit you may change to <a name="top" id="top"></a> to get it
                        to work in all browsers.


                        --
                        Els http://locusmeus.com/
                        Sonhos vem. Sonhos vão. O resto é imperfeito.
                        - Renato Russo -
                        Now playing: Faith No More - We Care A Lot

                        Comment

                        • Torsten Oeltjen

                          #13
                          Re: IE6 doesn´t follow textanchors

                          Els schrieb:[color=blue]
                          >
                          > That's not a link.
                          >
                          > Change:
                          > <a name="top" class="textklei nrest">Seitenan fang</a>
                          > to:
                          > <a href="#top" class="textklei nrest">Seitenan fang</a>
                          >
                          > The anchor where the link will lead is higher up in the code (of
                          > course), and looks like this: <a name="top"></a>
                          > That's the bit you may change to <a name="top" id="top"></a> to get it
                          > to work in all browsers.
                          >
                          >[/color]

                          Believe it or not...that was the first of all tries ;-)
                          ....and the one not working in my IE.

                          I "rebuilt" the code and launched the page again.
                          Would you like to try it again with your IE?
                          In mine nothing happens when clicking the link "Seitenanfang". ..

                          Comment

                          • Els

                            #14
                            Re: IE6 doesn´t follow textanchors

                            Torsten Oeltjen wrote:
                            [color=blue]
                            > Els schrieb:[color=green]
                            >>
                            >> That's not a link.
                            >>
                            >> Change:
                            >> <a name="top" class="textklei nrest">Seitenan fang</a>
                            >> to:
                            >> <a href="#top" class="textklei nrest">Seitenan fang</a>
                            >>
                            >> The anchor where the link will lead is higher up in the code (of
                            >> course), and looks like this: <a name="top"></a>
                            >> That's the bit you may change to <a name="top" id="top"></a> to get it
                            >> to work in all browsers.
                            >>
                            >>[/color]
                            >
                            > Believe it or not...that was the first of all tries ;-)
                            > ...and the one not working in my IE.
                            >
                            > I "rebuilt" the code and launched the page again.
                            > Would you like to try it again with your IE?
                            > In mine nothing happens when clicking the link "Seitenanfang". ..[/color]

                            You didn't change <a name="top"></a> to <a name="top" id="top"></a>.

                            --
                            Els http://locusmeus.com/
                            Sonhos vem. Sonhos vão. O resto é imperfeito.
                            - Renato Russo -
                            Now playing: Badlands - Winter's Call

                            Comment

                            • Torsten Oeltjen

                              #15
                              Re: IE6 doesn´t follow textanchors

                              Els schrieb:
                              [color=blue]
                              >
                              > You didn't change <a name="top"></a> to <a name="top" id="top"></a>.
                              >[/color]

                              Now I did... but no changes.

                              Comment

                              Working...