MyBB Central

Full Version: Theme help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
How do i make a theme stick to the top of the browser.
This theme has a gap between the top of the forum and the browser how do i get rid of that gap?

Thank you.
screenshot? or more detail on what u mean please.
Ok this is what i have:
[Image: 61391643.png]
And this is what i want:
[Image: 36810434.png]

Thank you.
Sorry for offtopic. But what theme is that?
You should use the "top" property... so for example you have this:
Code:
<table border="0">
<tr>
<td>CONTENT</td></tr></table>

just add to <td>:
Code:
<table border="0">
<tr>
<td valign="top">CONTENT</td></tr></table>

And dont forget to edit the css style, and add the following:
Code:
html, body
{ margin: 0px; }
(Jan 31, 2010, 07:55 AM)Arqui Wrote: [ -> ]You should use the "top" property... so for example you have this:
Code:
<table border="0">
<tr>
<td>CONTENT</td></tr></table>

just add to <td>:
Code:
<table border="0">
<tr>
<td valign="top">CONTENT</td></tr></table>

And dont forget to edit the css style, and add the following:
Code:
html, body
{ margin: 0px; }
That sounds like it will work.
(Jan 31, 2010, 07:30 AM)MindFreak Wrote: [ -> ]Sorry for offtopic. But what theme is that?

Its my first theme.
And i have found the code to do this in global.css add margin: 0; to the end of the body.
It's best to add margin: 0; and padding: 0;
What does padding do?
And thank you euantor as i found this out of of the theme you made for me.
As far as I know, padding: 0px; in body does nothing (it doesn't have so much effect)... but you could try to put it too... but i think that as i told you above (just with margin: 0px; ), it should work.
Pages: 1 2