I am currently working on enhancing the appearance of this HTML form using CSS.
Although I have made progress, I am facing an issue with an unexpected horizontal scrollbar that I cannot seem to remove.
To address the layout problem of having 2 columns, I opted to place the form in an iFrame within Wix and adjust the width to display the fields vertically. However, increasing the widths results in the persistent presence of the scrollbar.
If anyone can provide assistance with this matter, it would be greatly appreciated! The code is provided below for reference.
The current appearance can be viewed here: Screenshot
<META HTTPS-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8">
<!-- ---------------------------------------------------------------------- -->
<!-- NOTE: Please add the following <FORM> element to your page. -->
<!-- ---------------------------------------------------------------------- -->
<style>
/*.inpcls{
border-radius: 0;
font: normal normal normal 14px/1.4em avenir-lt-w01_35-light1475496,sans-serif;
-webkit-appearance: none;
-moz-appearance: none;
background-color: rgba(255, 255, 255, 0.95);
box-sizing: border-box !important;
color: #000000;
border: 2px solid rgba(145, 145, 145, 1);
padding: 3px;
margin: 0;
max-width: 100%;
min-width: 100%;
min-height: 100%;
text-overflow: ellipsis;
}*/
.inplft{
padding-left: 14px;
font: normal normal normal 14px/1.4em avenir-lt-w01_35-light1475496,sans-serif;
}
.inprht{
padding-right: 0px;
font: normal normal normal px/1.4em avenir-lt-w01_35-light1475496,sans-serif;
}
.div1{
/*left: 119px;*/
width: 350px;
position: absolute;
/*top: 264px;*/
/*height: 379px;*/
}
.d2{
/*left: 58px;*/
position: absolute;
/*top: 23px;*/
height: 42px;
width: 30px;
}
.mrglft{
margin-left: -%;
}
.a{
border-radius: 0;
font: normal normal normal 14px/1.4em avenir-lt-w01_35-light1475496,sans-serif;
-webkit-appearance: none;
-moz-appearance: none;
background-color: rgba(255, 255, 255, 0.95);
box-sizing: border-box !important;
color: #000000;
border: 2px solid rgba(145, 145, 145, 1);
padding: px;
margin-top: 2%;
height: 42px;
width: 302px;
text-overflow: ellipsis;
}
</style>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" rel="stylesheet" >
<!-- <div class="div1"> -->
<form action="https://test.example.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST">
// Form fields go here
</form>