html - Unify advanced form -
i trying create form using unify, having conflict style.css
here piece of html code there problem:
<html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <script src="https://code.jquery.com/ui/1.12.0/jquery-ui.js"></script> <script type="text/javascript" src="tinymce/js/tinymce/tinymce.min.js"></script> <script src="js/bootstrap.min.js"></script> <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="css/app.css"> <link rel="stylesheet" type="text/css" href="css/animate.css"> <link rel="stylesheet" type="text/css" href="css/line-icons.css"> <link rel="stylesheet" type="text/css" href="css/font-awesome.min.css"> <link rel="stylesheet" type="text/css" href="css/sky-forms.css"> <link rel="stylesheet" type="text/css" href="css/custom-sky-forms.css"> <link rel="stylesheet" type="text/css" href="css/dark.css"> <link rel="stylesheet" type="text/css" href="css/footer-v1.css"> <link rel="stylesheet" type="text/css" href="css/header-default.css"> <link rel="stylesheet" type="text/css" href="css/style.css"> </head> <body> <div id=content> <div class="tab-content"> <div id="home" class="tab-pane fade in active"> <form id="homepageform" action="" enctype = "multipart/form-data" method="post" target="_blank" class="sky-form"> <fieldset> <section> <label class="label">your website name</label> <label class="input custom"> <input id="websitename" name="websitename" type="text"> </label> </section> <section> <label class="label">insert 3 pictures home page slide</label> <label for="file" class="input custom input-file"> <div class="button"><input id="slide1" name="slide1" type="file" id="file" onchange="this.parentnode.nextsibling.value = this.value">browse</div><input type="text" readonly> </label> <label for="file" class="input custom input-file"> <div class="button"><input id="slide2" name="slide2" type="file" id="file" onchange="this.parentnode.nextsibling.value = this.value">browse</div><input type="text" readonly> </label> <label for="file" class="input custom input-file"> <div class="button"><input id="slide3" name="slide3" type="file" id="file" onchange="this.parentnode.nextsibling.value = this.value">browse</div><input type="text" readonly> </label> </section> <div class="row"> <section class="col col-4"> <label class="input custom"> <input id="slidecaption1" name="slidecaption1" type="text" value="" placeholder="caption 1"> </label> </section> <section class="col col-4"> <label class="input custom"> <input id="slidecaption2" name="slidecaption2" type="text" value="" placeholder="caption 2"> </label> </section> <section class="col col-4"> <label class="input custom"> <input id="slidecaption3" name="slidecaption3" type="text" value="" placeholder="caption 3"> </label> </section> </div> </fieldset> <footer> <button type="submit" class="btn-u">preview</button> </footer> </form> </div> </div> </body> </html>
i can't change style.css because i'm using in other parts of html:
@import url(http:// fonts.googleapis.com/css?family=montserrat); body, html {height: 100%; margin: 0; font-size:16px;} body {font-family: arial;} header {width: 100%; background-image: url('img/top-bg.png'); background-repeat: repeat-x; background-color: #dfebf2; position: fixed; height: 70px; z-index:2;} aside {width: 270px; min-height: 100%; position: fixed; background-color: #dfebf2; left: 0; max-height: 100%; overflow-y: auto; /* border-right: 1px solid #bdcada; */} section {top: 70px; left: 270px; position: absolute;} h3 {font-family: 'montserrat', arial; text-transform: uppercase;font-size:15px;} select {width: 230px; height: 34px; border: 1px solid #bdcada; font-size: 14px; font-weight: bold; margin: 10px 0 0 0; padding-left: 8px; border-radius: 3px;} table, th, td {border: 1px solid #bdcada;} input.search_button { color: black; line-height: 15px; font-weight: normal; font-size: 12px; font-family: 'montserrat', arial; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; margin-left: 3px; width: 75px; } .custom { display: inline; } .height-112px {height: 112px;} #logo-box {float: left; margin-left: 20px; margin-top:10px; width: 250px;} #mobile-menu-icon, #mobile-profile-icon {display:none;} #top-nav {position: absolute; width: 100%; background-color: #282828; min-height: 42px; top: 70px; color: #fff;} .top-nav-links {list-style-type: none; padding: 0px; margin: 0px; padding-left: 20px; padding-right:20px; line-height: 42px;} .top-nav-links li {font-weight: bold; display: inline; margin-right: 15px; font-size: 10px; text-transform: uppercase; font-family: 'montserrat', arial;} .top-nav-links {color: #676767; text-decoration: none;} .top-nav-links a:hover {color: #fff;} .active-top {color: #fff;} #details-box {padding: 30px 20px 30px 20px; border-bottom: 1px solid #bdcada;} #height-5px {height: 5px;} .details-1 {font-weight: bold; font-size: 14px; color: #1072ad;} .details-2 {font-style: italic; font-size: 12px; color: #9ca6b6; margin-left: 10px;} .details-3 {font-weight: bold; font-size: 12px; color: #000; margin-left: 10px;} #details-box {text-decoration: none;} .logout {font-size: 11px; color: red;} #property-box {padding: 25px 20px 30px 20px;} .blue-nav-title {font-family: 'montserrat', arial; font-weight: bold; font-size: 12px; color: #1072ad; text-transform: uppercase;} .list-title {height: 42px; background-image: url('img/top-bg.png'); padding: 0 20px 0 20px; border-bottom: 1px solid #0b5987; line-height: 42px; font-family: 'montserrat', arial; font-size: 12px; color: #fff; text-transform: uppercase;} .nav-links {list-style-type: none; padding: 0px; margin: 0px;} .nav-links li {font-size: 12px; color: #6e7888; padding-left: 20px; line-height: 50px; border-bottom: 1px solid #bdcada;} .nav-links {text-decoration: none; color: #6e7888;} .nav-links li:before {content: "► "; font-size: 7px; color: #157cb8; vertical-align: top; margin-right: 8px;} .nav-links a:hover {text-decoration: none; color: #000;} .active {background: #fff;} #content {margin-left: 50px; margin-top: 92px;} table {font-size: 12px; border-collapse: collapse; width: 100%; overflow-y:scroll; height:300px; display:block;} table td, th {padding: 10px;} table tr:hover {background: #f0f6f9;} .table-b {font-size: 12px; border-collapse: collapse; width: auto; height: auto; display:block;} .table-b td, th {padding: 10px;} .table-b tr:hover {background: #f0f6f9;} .table-a {font-size: 12px; border-collapse: collapse; width: 100%; } .table-a td, th {padding: 10px;} .table-a tr:hover {background: #f0f6f9;} form.searchform {display: inline-block;} #login {width: 240px; border: 1px solid #bdcada; border-radius: 3px; padding: 30px; font-size: 12px;} .input {width: 230px; height: 30px; border: 1px solid #bdcada; font-size: 14px; font-weight: bold; margin-top: 5px; margin-bottom: 10px; padding-left: 8px; border-radius: 3px;} .divtable{ display:table; width:auto; background-color:#eee; border:1px solid #666666; border-spacing:5px; } .divrow{ display:table-row; width:auto; clear:both; background-color:#ccc; } .divcell{ float:left; display:table-column; width:100px; border-left: 2px solid #fff; } /* columns float left while fit – spacing in there between columns*/ #column {width:48%;float:left;padding-right:20px;} /*the table fill space of column – column starts @ 50% of screen width 2 can fit */ table {width:100%;margin-bottom:20px} /* responsive breakpoint – @ 1000px screen, tables no longer fit side side, auto-fit top-to-bottom, make them each full width */ @media screen , (max-width: 1000px) { #column {width:100%;} @media screen , (max-device-width : 768px) { body, html {width:100%; margin: 0; font-size:14px;} header {position:initial; height:auto;} aside {width:100%; position:initial; min-height:initial;} section {position:initial;} select {width: 100%; height:auto; padding:8px; font-size: inherit;} .height-112px {height: auto;} #logo-box {float: none; margin:0px; width: 100%} #logo-img {margin: 10px 10px 5px 10px;} #mobile-menu-icon, #mobile-profile-icon {display:block; float:right; height:45px; width:45px; margin: 12px 12px 5px 0px;} #top-nav {position: initial; display:none; clear:both; border-bottom: 1px solid #bdcada; background-color: inherit; width: 100%; min-height: inherit;} .top-nav-links li {display:block; width:100%; font-size: 16px; line-height:36px;} .top-nav-links li:first-child {padding-top:10px;} .top-nav-links li:last-child {padding-bottom:10px;} .top-nav-links {color: #000;} .active-top {color: #1067a6;} #details-box {display:none; padding: 20px;} .details-1, .details-2, .details-3, .logout {font-size: inherit;} #property-box {padding: 20px;} .blue-nav-title {font-family: 'montserrat', arial; font-weight: bold; font-size:inherit; color: #1072ad; text-transform: uppercase;} .list-title {font-size:inherit;} .list-title:after {content: "+"; font-weight: bold; font-size: 18px; float:right;} .opened:after {content: "-"; font-weight: bold; font-size: 18px; float:right;} .nav-links {display: none;} .nav-links li {font-size: inherit;} .nav-links li:before {content: "► "; font-size: 11px;} #content {margin:0; padding:15px;} table {font-size:inherit;} table tr.odd {background: #eeeeee;} table th {font-weight:normal; text-align:left;} #login {width: 100%; padding:20px; max-width:400px; margin:0 auto; box-sizing: border-box;-moz-box-sizing: border-box;-webkit-box-sizing: border-box; font-size: inherit;} .input {width: 100%; box-sizing: border-box;-moz-box-sizing: border-box;-webkit-box-sizing: border-box; font-size: inherit;} } @media screen , (min-device-width : 200px) , (max-device-width : 319px) { #mobile-menu-icon, #mobile-profile-icon {display:block; float:right; height:40px; width:40px; margin: 13px 10px 5px 0px;} } @media screen , (min-device-width : 425px) , (max-device-width : 600px) { body, html {width:100%; margin: 0; font-size:15px;} } @media screen , (min-device-width : 600px) , (max-device-width : 768px) { body, html {width:100%; margin: 0; font-size:16px;} }
it looks section property not inside fieldset, not know why.
Comments
Post a Comment