That's what should be happening.

The browser is putting the section at the top of the page as the fixed header and 
table of content aren't influencing the positioning of #main.

A quick and dirty solution is to have this

#one, #two, #three {padding-top:100px;}

instead of padding the top of #main

Emphasis on the quick and dirty there - I'm sure there's a much better solution.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Peter A. Shevtsov
Sent: Tuesday, 2 November 2004 7:44 PM
To: [EMAIL PROTECTED]
Subject: [WSG] Help with position: fixed;


Hello to everyone!

I have the following issue
I have a page with fixed header and a set of internal links (anchor 
identifiers). The problem is in that when I follow the link the heading 
"hides" under the fixed header.

Link to page: http://shevtsov.fanstvo.com/tests/fixed-header.html (CSS 
is embeded into the page)

Thanks in advance.

Peter A. Shevtsov
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.786 / Virus Database: 532 - Release Date: 29/10/2004
 

******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to