CSS Code and Positioning Issues

  • Thread starter Thread starter Deleted member 4320
  • Start date Start date
D

Deleted member 4320

Hey there, I'm currently editing my website, and putting a new design on it, I want to
put a header on the website that is 0px from the top and and centered on all screen sizes,
so when you make the window smaller, it will a-just itself, like all forums 🙂

I'm a bit of a coding n00b at times lol :biggrin:

Thank you for all help given.
 
I could help, give your msn, and then tell me the link, so I see.
Edit- Add margin-top: 0px; and to center it margin: 0 auto;. You can put that in header, and to center it add it to the wrapper. Talk to me if you need more help.
 
Oh don't forget, if you want the site size auto adjust itself when users make the window smaller, make the site/forum width a % unit. This way, say your board is 95%, then on all windows, depending on the size, it will stay 95%. Hope that was clear enough.
 
I think if you have set the left and right margins to auto it will adjust itself in center.
 
Back
Top Bottom