I'm getting this big white space in the content (checked with chrome devTool) of a form in my jsp. I did try to change the margin and padding to 0px but nothing changes. I have 3 submits, that are well placed, except there is a space between the buttons and the margin of the form (top). I guess it may be bothering the fact that I have 2 include directives, to call a header and a menu. Like this:
<%@ include file = "PaginaPpal.html" %>
<%@ include file = "Menu.html"%>
<div id = "contenedor" >
<form action ="abmNadador" method ="post">
<input class = "botones" type = "submit" value="Nuevo Nadador">
<input class = "botones" type = "submit" value="Editar Nadador">
<input class = "botones" type = "submit" value="Eliminar Nadador">
</form>
</div>
I don't know what else to change in my css, and dunno how to make it work with those include deirectives.
This is the css:
#contenedor
{
position: relative;
top: 100px;
left: 330px;
border: 3px solid #73AD21;
width: 75.5%;
}
(I did not modified the margins in my inputs, it should not be collapsing)
.botones {
padding: 19px 39px 18px 39px;
color: #FFF;
background-color: #4bc970;
font-size: 18px;
text-align: center;
font-style: normal;
border-radius: 5px;
width: 100%;
border: 1px solid #3ac162;
border-width: 1px 1px 3px;
box-shadow: 0 -1px 0 rgba(255,255,255,0.1) inset;}