${dispatch.g" />
${dispatch.g" />
${dispatch.g"/>

Horizontally buttons alignment

17 Views Asked by At

I'm trying to fix this strange behaviour, see image: enter image description here

Here the code I used, it's a simple callout:

    <div class="${dispatch.getType()}">
    <h5>${dispatch.getType()}</h5>
    <p>${dispatch.getMessage()}</p>            
    <a href="${pageContext.request.contextPath}/${dispatch.getServlet()}? 
    ${dispatch.getActionParameter()}=${dispatch.getDeleteID()}&${dispatch.getState()}=1" 
    class="button">submit</a>
    <a href="${pageContext.request.contextPath}/" class="button">cancel and go back</a>
    </div>
1

There are 1 best solutions below

0
poldoj On

Simply enough I put the buttons inside a form and now they are aligned.