Gap between menu buttons
2 posters
Page 1 of 1
Gap between menu buttons
Hello,
I used a code to remove the gap between the menu buttons, but I don't find now where it is.. Anyone can give me the CSS code for it? Thanks in advance!
I used a code to remove the gap between the menu buttons, but I don't find now where it is.. Anyone can give me the CSS code for it? Thanks in advance!
Re: Gap between menu buttons
It should start with "a.mainmenu", but I'm not sure if that still applies to phpBB 3.
Re: Gap between menu buttons
Ultron's Vision wrote:It should start with "a.mainmenu", but I'm not sure if that still applies to phpBB 3.
My forum version is Phpbb2 at moment.
Re: Gap between menu buttons
Then the menu buttons are accessible via "a.mainmenu" or just ".mainmenu".
The associated code would be margin: 0; and padding: 0;, so if that helps you, you're welcome
The associated code would be margin: 0; and padding: 0;, so if that helps you, you're welcome
Re: Gap between menu buttons
Ultron's Vision wrote:Then the menu buttons are accessible via "a.mainmenu" or just ".mainmenu".
The associated code would be margin: 0; and padding: 0;, so if that helps you, you're welcome
My career as coder has been started, I guess... xD
- Code:
a.mainmenu {
margin: -1;
padding: -1;
}
Thanks for the help, it worked. :PProblem solved!
Re: Gap between menu buttons
Sorry to disappoint you, but margin and padding don't accept negative values, so margin: -1; is an invalid declaration.
Re: Gap between menu buttons
Ultron's Vision wrote:Sorry to disappoint you, but margin and padding don't accept negative values, so margin: -1; is an invalid declaration.
But it works perfectly. : o
Re: Gap between menu buttons
Try putting in margin: 1; and see if it works just as -1 does (that should be the case).
Re: Gap between menu buttons
Ultron's Vision wrote:Try putting in margin: 1; and see if it works just as -1 does (that should be the case).
It brings the menu buttons closer to each other, but theres still gap, I tried. With -1 the menu is perfect.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum