3 replies [Last post]
FallenAcorn
FallenAcorn's picture
Offline
Regular
USA
Last seen: 12 years 26 weeks ago
USA
Joined: 2004-11-07
Posts: 23
Points: 0

Okay, this is a bit weird, but i honestly might just be missing something obvious, so bear with me. if you have a peek at the following files :

http://logtv.com/films/jedwabne/index.htm
http://logtv.com/films/jedwabne/sitedesign.css

you'll see what i am trying to do. this client has some 30+ pages that need to be made, so i thought i would be crafty to sculpt a page that uses a sort of "css frameset".... so i have a fixed header, nav, and footer, while the content scrolls around the middle.

the problem is with IE and my anchors. If you don't touch the page (scroll), the anchors work fine, and the "pages" come up fine. But, if you are scrolling down and then you click on an anchor, it's coming up way off, to blank space.

of course, Firefox has no such issue, and everything is perfect just the way i wanted.

have a look. yell at me or something. please help. much appreciated. thanks.

Spectralizer
Spectralizer's picture
Offline
Enthusiast
Toronto, ON. Canada
Last seen: 15 years 1 week ago
Toronto, ON. Canada
Timezone: GMT-5
Joined: 2005-03-30
Posts: 53
Points: 0

IE acting funny w/styled Anchors; Firefox works fine!?

My IE version is 6.0.2900.blah.blah.blah.blah

When I view with FF 1.0.2 it works fine.

When I view with IE it doesn't seem to matter if I scroll or not, it simply seems to be setting your anchors to the "top" of the page, i.e. behind the header.

I'm not an expert yet, so my only advice would be a jerry-rig wherin you craft an invisible padding element that goes below each section break *as well as* below the anchor roots... i.e.

 -- end of section 1 --
</p>
<a name="section2"></a>
<div class="invisipad">&nbsp;</div>
<h2>Section 2</h2>
<p>content
 -- end of section 2 --
</p>
<a name="section3"></a>
<div class="invisipad">&nbsp;</div>
<h2>Section 3</h2>
<p>content

...etc...

This is my .sig... there are many like it, but this one is mine.
My .sig is my best friend... It is my life.
I must master it as I must master my life.
My .sig, without me, is useless... Without my .sig, I am useless.

FallenAcorn
FallenAcorn's picture
Offline
Regular
USA
Last seen: 12 years 26 weeks ago
USA
Joined: 2004-11-07
Posts: 23
Points: 0

IE acting funny w/styled Anchors; Firefox works fine!?

hey, thanks. i was thinking something along those lines... i applied that theory to the actual anchors... so i guess it is interesting thing to note that Firefox can handle some padding applied to the A tag, and IE craps itself, like usual. thanks for your help. Laughing out loud

Spectralizer
Spectralizer's picture
Offline
Enthusiast
Toronto, ON. Canada
Last seen: 15 years 1 week ago
Toronto, ON. Canada
Timezone: GMT-5
Joined: 2005-03-30
Posts: 53
Points: 0

IE acting funny w/styled Anchors; Firefox works fine!?

the site now works great for me in IE now.

I feel like such a newb here... I'm glad I was able to be a help!

This is my .sig... there are many like it, but this one is mine.
My .sig is my best friend... It is my life.
I must master it as I must master my life.
My .sig, without me, is useless... Without my .sig, I am useless.