Problem about fixed position
Good afternoon everyone..
I have a problem..
Look at this first :
This is the condition before i changed the topwrap into fixed position
And, look at this :
This is the condition after i changed the topwrap into fixed position
The logo moves to top.. (see the image)
But, I want the logo to stay in the original position (like the one in capture.png)
Can someone help me to make it not move to top ??
When you make .topwrap fixed, it effectively removes that element from the flow of the document so .header doesn't see it.
The solution is a top margin on .header to push it down enough to clear .topwrap.
You will also need to consider whether you want the top wrap content to be in front of or behind the main content of the page when you scroll that content.
The easiest way to make sure it is above the main content is to define it last in the page.
|All times are GMT +1. The time now is 04:57 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.