# Checkbox tick move template on chrome

**URL:** <https://community.hubspot.com/t/checkbox-tick-move-template-on-chrome/19234>\
**Category:** CMS Development\
**Tags:** forms\
**Created:** [March 5, 2020, 9:39am UTC](https://community.hubspot.com/t/checkbox-tick-move-template-on-chrome/19234 "2020-03-05T09:39:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nnuyit](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/nnuyit/32/75439_2.png) [@nnuyit](https://community.hubspot.com/u/nnuyit)\
**Post date:** [March 5, 2020, 9:39am UTC](https://community.hubspot.com/t/checkbox-tick-move-template-on-chrome/19234/1 "2020-03-05T09:39:32Z")

</div>

I’m currently have serious issue with a checkbox on the subscription form on the right side.  
Whenever I click on it., it move the whole template to the left and I can not find the cause of it.

This is link of website: [MetaDefender Endpoint v7.5.0 Release - OPSWAT](https://www.opswat.com/blog/opswat-central-management-v7-5-0-release)

Does anyone know anything about this?  
It only happens on chrome.

---

<div class="post-metadata">

**Author:** ![MatthewShepherd](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/matthewshepherd/32/31314_2.png) [@MatthewShepherd](https://community.hubspot.com/u/MatthewShepherd)\
**Post date:** [March 5, 2020, 12:03pm UTC](https://community.hubspot.com/t/checkbox-tick-move-template-on-chrome/19234/2 "2020-03-05T12:03:21Z")

</div>

Hi @nnuyit

The issue appears to be coming from the following CSS rule that sets the width of input elements to 100%, this is making the checkbox width over 1900px in my Chrome browser. When you check the checkbox this causes the rest of your content container to be pushed off the screen to the left.

```auto
#hubspot-form .form-email,#hubspot-form .form-search,#hubspot-form .form-text,#hubspot-form .form-textarea,#hubspot-form .form-url,#hubspot-form input.hs-input,#hubspot-form input[type=text],#hubspot-form input[type=email],#hubspot-form input[type=tel],#hubspot-form select.hs-input,#hubspot-form textarea.hs-input,#hubspot-form textarea[name=comments]{
	font-family: SimplonNorm,sans-serif;
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	background-color:#fff;
	border-radius:0;
	border:.0625rem solid #111f42;
	-webkit-box-shadow:inherit;
	box-shadow:inherit;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
	color:#000a12;
	font-size:1rem;
	font-weight:400;
	height:3.125rem;
	padding:.5625rem 1rem .4375rem;
	-webkit-transition:all .3s ease-in-out;
	-o-transition:all .3s ease-in-out;
	transition:all .3s ease-in-out;
	width:100%
}

```

If you change width to auto that appears to fix the issue.

width:auto;

---

<div class="post-metadata">

**Author:** ![nnuyit](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/nnuyit/32/75439_2.png) [@nnuyit](https://community.hubspot.com/u/nnuyit)\
**Post date:** [March 5, 2020, 12:05pm UTC](https://community.hubspot.com/t/checkbox-tick-move-template-on-chrome/19234/3 "2020-03-05T12:05:29Z")

</div>

Thanks for helping. I wonder how this error appear on chrome only because it has not happened before.

---

<div class="post-metadata">

**Author:** ![MatthewShepherd](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/matthewshepherd/32/31314_2.png) [@MatthewShepherd](https://community.hubspot.com/u/MatthewShepherd)\
**Post date:** [March 5, 2020, 12:08pm UTC](https://community.hubspot.com/t/checkbox-tick-move-template-on-chrome/19234/4 "2020-03-05T12:08:03Z")

</div>

Did you make any changes to your CSS recently? All browsers do interpret CSS slightly differently which can lead to issues on one browser and not others.

---

<div class="post-metadata">

**Author:** ![nnuyit](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/nnuyit/32/75439_2.png) [@nnuyit](https://community.hubspot.com/u/nnuyit)\
**Post date:** [March 5, 2020, 12:12pm UTC](https://community.hubspot.com/t/checkbox-tick-move-template-on-chrome/19234/5 "2020-03-05T12:12:18Z")

</div>

It has not changed recently. My co-worker did not find this issue with an old version of chrome.  
Anyway, you just save my life. Thanks

---

<div class="post-metadata">

**Author:** ![MatthewShepherd](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/matthewshepherd/32/31314_2.png) [@MatthewShepherd](https://community.hubspot.com/u/MatthewShepherd)\
**Post date:** [March 5, 2020, 12:15pm UTC](https://community.hubspot.com/t/checkbox-tick-move-template-on-chrome/19234/6 "2020-03-05T12:15:29Z")

</div>

No problem, glad that helped. Could you mark the above as the answer? Thanks.
