joe
joe

Reputation: 1135

Input[type="image"] won't budge

I tried to make the button go down with margin, padding, top to be on the same level as other input and label, but it won't budge.

html code: see imageenter image description here

   input[type="image"] .button-update-cart{
top:100px;
}

On the form, image is out of the place for example: see this image enter image description here

EDIT

.page-cart .cart-totals .promo-code .field .button-update-cart{
position:relative;
}

.page-cart .cart-totals .promo-code .field input[type="image"]
{
top:100px;

}

it doesnt work :(

Any insight will be appreciated!

Upvotes: 3

Views: 9522

Answers (1)

Pekka
Pekka

Reputation: 449603

You need to give the element position: relative to have the top have any effect.

Upvotes: 5

Related Questions