chaser7016
chaser7016

Reputation: 595

Keep header in fixed position? How

For this site, when I add fixed: position to #header it pushes the header graphic to the left.

Any suggestions on how to make the full header and it's #head property to remain fixed?

Upvotes: 0

Views: 1350

Answers (1)

Robert
Robert

Reputation: 21388

It's not being "pushed" to the left, that's where the anchor is. By just adding position: fixed and not the top and left attributes, it will default to the 0,0 coordinates. Just set the top and left to your fitting.

Edit

Upon looking at your code, you can actually just set width: 100% to a css rule that #header will match.

Upvotes: 4

Related Questions