• Page 1 of 1
  • 1
Forum moderator: bigblog  
I need help with position:fixed
vcercelariu
Posts: 6
Reputation: 0

Message # 1 | 2:35 PM
Hi,i want to keep header at top while scrolling but I don`t know how I could do this.Can help me?Sorry for my english.
Mar1aN
Posts: 192
Reputation: 3

Message # 2 | 7:00 PM
vcercelariu, add this
Code
style="position:fixed"
inside your div.

ex.
Code
<div style="position:fixed"></div>

Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 3 | 6:16 AM
vcercelariu, please provide a site URL. Mar1aN, is correct, however there is more to it than just that - it also depends on your template.

Also - please adjust the height of your signature image to 30px. Signatures can be either 3 lines of text high, or 30px for an image.

Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
vcercelariu
Posts: 6
Reputation: 0

Message # 4 | 8:41 PM
Paradox, sorry, http://oooda.ucoz.net

Added (2014-02-07, 8:31 AM)
---------------------------------------------
I fixet header but now i have another problem witch space

Added (2014-02-07, 2:41 PM)
---------------------------------------------
I resolved adding to .middle padding: 100px;


Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 5 | 3:04 AM
vcercelariu, it's probably more advisable to add margin-top:100px; to the .middle section rather than padding. smile They both have the same outcome really, but margin is more technically appropriate in this scenario. smile
Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
vcercelariu
Posts: 6
Reputation: 0

Message # 6 | 4:38 PM
  • Page 1 of 1
  • 1
Search: