I am having some trouble trying to set my header to scroll with my page.
I’m using Dreamweaver with a template I have recently purchased, I have tried some code I found online but It’s not changing anything.
I set the header to fixed and it’s working but collides into my slideshow that was originally below my header.
If you set it to position:fixed then it should scroll with the content.
However high the header is, say it is 200px, you need to set (assuming you have a parent that holds header, whether a wrapper or <body>) a top padding.
Aka if your setup is this
wrapper
header
endheader/wrapper
The wrapper needs a 200px top margin. Thoug hit’s impossible to give you a clea ranswer because you haven’t given us any code to work with or a site :).
I appreciate the help though I am still a little bit confused, I attached some screen shots to give you a better Idea of what im working with,
thank you for the help!
http://centercitymanagement.com/ here you go I haven’t really set that much up yet, I just threw it up on one of my domains, let me know if this helps thanks!
eehh, the height of the #header is 104 px, I just tried everything you said but once I got set the slideshow to fixed its all jumbled together again, this is frustrating lol
Do you want a fixed positioned header or have you just got rid of one?
If you want the header fixed then set it to position:fixed.You’ll also need a background-color and z-index to keep it on top of content and to allow content to scroll underneath.