Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > IE 8 Table Row Anchor

Reply
Thread Tools

IE 8 Table Row Anchor

 
 
BootNic
Guest
Posts: n/a
 
      04-05-2009
IE 8 seems to have an issue with table row anchors.

The way I usually reference a table row is to give the table row
an id, then link to it, vary basic stuff.

http://tinyurl.com/c94tha

<tr id="a1">… <a href="#a1">a1</a>

I would expect that the page would jump to the table row. IE 8
just seems to ignore it.

The possible work arounds that I have come up with, at least to
me, are all just pure evil.

1. X-UA-Compatible header/meta

• This would be the easy thing to do, however it locks the
page view to IE 7.

2. Move the id to the first td

• Moving the id to the first td would allow the navigation to
work in IE 8, however it no longer is a referance to the
table row and could create other style issues.

3. Conditional comment

• Add an IE 8 conditional comment to the first td
<!--[if IE 8]><a name"a1"></a><![endif]--> This can be styled
to appear to jump to the table row, rather then the td. Position
relative to account for any border or padding.

4. javascript

• Briefly considers and rejected.

Comments, suggestions, other possibilities.


--
BootNic Sun Apr 5, 2009 01:48 pm
Thirty-five is when you finally get your head together and your body
starts falling apart.
*Caryn Leschen*

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)

iEYEARECAAYFAknY7w4ACgkQylMUzZO6jeJ88QCg04sqNsnqly WwZdnC5SzFucmA
klUAoMWQJH9iOZWELILgFLEN57qmk4BQ
=gTHz
-----END PGP SIGNATURE-----

 
Reply With Quote
 
 
 
 
dorayme
Guest
Posts: n/a
 
      04-05-2009
In article <(E-Mail Removed)> ,
BootNic <(E-Mail Removed)> wrote:

> IE 8 seems to have an issue with table row anchors.
>
> The way I usually reference a table row is to give the table row
> an id, then link to it, vary basic stuff.
>
> http://tinyurl.com/c94tha



Forbidden
You don't have permission to access this server.

--
dorayme
 
Reply With Quote
 
 
 
 
BootNic
Guest
Posts: n/a
 
      04-05-2009
On Mon, 06 Apr 2009 05:09:47 +1000
dorayme <(E-Mail Removed)> wrote in:
<(E-Mail Removed)>

> In article <(E-Mail Removed)> ,
> BootNic <(E-Mail Removed)> wrote:


[snip]

>> http://tinyurl.com/c94tha

>
> Forbidden
> You don't have permission to access this server.


I see, I have not cleaned up the auto deny rules for quite some
time. It is a wonder that anyone could connect.

Cleaned em up, should be ok.

--
BootNic Sun Apr 5, 2009 03:31 pm
All men dream, but not equally. Those who dream by night in the
dusty recesses of their minds, wake in the day to find that it was
vanity: but the dreamers of the day are dangerous men, for they may
act on their dreams with open eyes, to make them possible.
*Thomas Edward Lawrence (of Arabia)*

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)

iEYEARECAAYFAknZByIACgkQylMUzZO6jeJhXgCdGVlNRmvjrb tpA+/7A4tZ02KY
RrAAoMjeFHmc5axtUkIAzEKJbZueDGzb
=Fezy
-----END PGP SIGNATURE-----

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy a row from Table A to position 0 in Table B dave@softwareonline.com ASP .Net 1 03-24-2008 08:14 PM
row bottom border in inner table not matching up with row border in outer table phl HTML 1 06-08-2006 03:43 PM
ie6 Insert Row at specific Row Index of Table Giggle Girl Javascript 18 02-07-2006 07:54 AM
ok I can do a totals row but how about a percentage row after each data row D ASP .Net Datagrid Control 0 05-23-2005 04:10 PM
Can center row in three row table take up remaining space? Anon HTML 2 03-18-2005 08:35 AM



Advertisments