PDA

View Full Version : What's up with this anchor?


deronsizemore
01-17-2008, 08:34 PM
Insurance / Risk Management - Kentucky School Boards Association (http://test.ksba.org/insurance) is the page I'm working on. If you click this link in the first paragraph: "board of trustees of school board members and administrators"

It should take you to this page: KSBA Board of Directors - Kentucky School Boards Association (http://test.ksba.org/bod) and it should take you down to the bottom heading that says "2008 Board of Trustees - KSBIT" but for some reason it drops below the heading even though it has the anchor. What am I doing wrong?

If you simply take the url and type it in manually: KSBA Board of Directors - Kentucky School Boards Association (http://test.ksba.org/bod/#bod-ksbit) it works fine, but not when you're clicking that link from the "/insurance" page in the first paragraph...

Thanks

SarahG
01-17-2008, 09:58 PM
On first load or Ctrl and F5 it actually takes you above the header, as if it's loading the page, putting you at the right point and then the images are loading and pushing the whole page down. As the images don't have their height and width attributes the browser doesn't know how 'high' the page is going to be - this is just a mere guess.

Once the images are in the cache, trying the link again takes you to the bottom of the page. Not sure why. Perhaps the height attributes for the images will help with that one too?

deronsizemore
01-17-2008, 11:41 PM
On first load or Ctrl and F5 it actually takes you above the header, as if it's loading the page, putting you at the right point and then the images are loading and pushing the whole page down. As the images don't have their height and width attributes the browser doesn't know how 'high' the page is going to be - this is just a mere guess.

Once the images are in the cache, trying the link again takes you to the bottom of the page. Not sure why. Perhaps the height attributes for the images will help with that one too?

hmmm, hadn't thought of that. I'll give it a try. I'll post back my results. Thanks

deronsizemore
01-18-2008, 12:18 AM
Nope, didn't do the trick Sarah...

eJM
01-18-2008, 02:08 AM
It's loading as you wanted for me. I'm using IE7 and on broadband (DSL) if that matters).

deronsizemore
01-18-2008, 04:21 AM
It's loading as you wanted for me. I'm using IE7 and on broadband (DSL) if that matters).

So it is. :) It's not in FireFox on my end. I guess its not a huge deal, but still aggravates me. :)

SarahG
01-18-2008, 10:25 AM
Not that it should matter, but what about changing the h2 class of the title when the anchor jumps to, to being an id? I know you're using html transitional, but perhaps firefox would prefer the id for the anchor point as opposed to <a name=""> ?

deronsizemore
01-18-2008, 03:47 PM
hmmm, nope. No go on that either Sarah.