1,105,447 Community Members

How to stick div to the top of the website?

Member Avatar
kukula
Newbie Poster
24 posts since Nov 2010
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Hi,

At the site of Marc O'Polo (http://www.marc-o-polo.com) you can find the header of footer sticked to the top and bottom of website. How to do it? Just use z-index attribute?

Member Avatar
Troy III
Practically a Posting Shark
891 posts since Jun 2008
Reputation Points: 174 [?]
Q&As Helped to Solve: 119 [?]
Skill Endorsements: 10 [?]
 
2
 

[selector] { position : fixed; ... }

Member Avatar
kukula
Newbie Poster
24 posts since Nov 2010
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

thank you very much.

Question Answered as of 2 Years Ago by Troy III
You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: