I'd like to push the page to the top of the browser removing this blue gap:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fkepfeltoltes.hu%2F110719%2F659563297N_vtelen_www.kepfeltoltes.hu_.png&hash=d8414659eb558ee2b016d0395696286edfac02d5)
Find
body {
background: #E9EEF2 url(../images/theme/backdrop.png) repeat-x;
font: 78%/130% "Verdana", "Arial", "Helvetica", sans-serif;
margin: 0 auto;
padding: 15px 0;
}
Replace with
body {
background: #E9EEF2 url(../images/theme/backdrop.png) repeat-x;
font: 78%/130% "Verdana", "Arial", "Helvetica", sans-serif;
margin: 0 auto;
padding: 0;
}
That will remove the gap at the top - this will also remove the padding from the bottom, if you don't want it that way then use this code instead to keep the bottom padding.
body {
background: #E9EEF2 url(../images/theme/backdrop.png) repeat-x;
font: 78%/130% "Verdana", "Arial", "Helvetica", sans-serif;
margin: 0 auto;
padding: 0 0 15px 0;
}
This is good, thanks. All pages went to the top very well except the Help, Register and Login pages.
Are there different styles for these pages?
I measured there has been remained a 16px top gap on the Help, Register and Login pages. Other pages are good.
How to remove that 16px gap?
No one knows it?
A link would help as contrary to popular belief we're not psychic and know the answer to "it's broke".
My forum is not "on air" yet because it is unfinished but I have screenshots.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fkepfeltoltes.hu%2F110723%2Fhome_www.kepfeltoltes.hu_.jpg&hash=8e0bda23f4089af71b3caa90680209f5637f9d22)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fkepfeltoltes.hu%2F110723%2Fhelp_www.kepfeltoltes.hu_.jpg&hash=75eef00008a7d2204b7e63daeea70b3b772dce31)
I drew blue arrows to notice the gap.
I post the CSS (if I can).
MrGrumpy, where are you?
What you mean where am I, I'm not your employee or slave to come running to your beck and call.
Lainaus käyttäjältä: MrGrumpy - heinäkuu 25, 2011, 11:07:54 AP
What you mean where am I, I'm not your employee or slave to come running to your beck and call.
Lol, this was kinda rude.
Nothing else than rudin'?
I figured out myself.
It was due to the character coding of the language files.
I have an UTF-8 language installed but the language files had BOM. The charcoding should be set to 'UTF-8 without BOM'.
Thanks for nothing the support..... ;)