Thanks Paulie – I had the links originally without the index.html in them – so I know that doesn’t make a difference, but will try removing the hashes to see if that makes a difference (doesn’t sound right though!)
believe it or not, Firefox may be correct here. All the section child divs are floating, so they’re taken out of the document flow. The target anchors have no content and nothing to size them, so they’re essentially 0 in height, as is the parent sections. So all the sections effectively stack up on the top of the page. Contain the floats and it will work (I’d use either overflow: hidden or clearfix on section).
Thanks wolfcry911 – that makes sense in a way – if the top of each section is seen to be at the top of the screen, there would be no reason to jump down. Will have a look at the containing DIVs to see what can be done.
Thanks wolfcry911 – your suggestion pointed me in the right direction… I added a display:inline-block attribute to each section within the page, and now the anchor links are working as they should in Firefox.
hi my name is reza in iran
i have a site and ask a request for create anchor link in page in the site
i have code anchor link in middle page with top code
a id=”c1″ name=”c1″ href=”#c1″ rezerv /a
a id=”c1″ rezerv /a
this code work in chorom browser and dont work in mozilla firefow browser
please tell me where bug