Showing posts with label html. Show all posts
Showing posts with label html. Show all posts

Monday, September 19, 2016

search box



https://webdesign.tutsplus.com/tutorials/css-experiments-with-a-search-form-input-and-button--cms-22069


<input id="POASearch" type="search" name="POASearch" ng-model="POASearch" placeholder="Search" />
<i class="fa fa-search searchBox" ng-click="POASearchClick(POASearch)"></i>


.searchBox {
   position: relative;
   z-index: 1;
   left: -25px;
   top: 1px;
   color: #7B7B7B;
   cursor:pointer;
   width: 0;
}

Sunday, September 18, 2016

html table multiple row col




<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <link rel="stylesheet" type="text/css" href="keyword.css">
</head>
<body>
<table class="StandardTable">
  <col>
  <colgroup span="2"></colgroup>
  <colgroup span="2"></colgroup
  <tr>
    <td rowspan="2">KEYWORD</td>
    <td colspan="4" scope="colgroup">Program Areas</td>
    <td rowspan="2">VISIBILITY (ACTIVE / INACTIVE)</td>
  </tr>
  <tr>
    <th scope="col">4-H</th>
    <th scope="col">ANR</th>
    <th scope="col">CD</th>
    <th scope="col">FCS</th>
  </tr>
  <tr>
    <th scope="row">Teddy Bears</th>
    <td>50,000</td>
    <td>30,000</td>
    <td>100,000</td>
    <td>80,000</td>
  </tr>
  <tr>
    <th scope="row">Board Games</th>
    <td>10,000</td>
    <td>5,000</td>
    <td>12,000</td>
    <td>9,000</td>
  </tr>
</table>

</body>
</html>

table, th, td {
  border: 1px solid black;
}

.StandardTable {
  color:#222222 !important;
  border: 1px solid #656565;
  /*-moz-border-radius: 10px;*/
  /*-webkit-border-radius: 10px;*/
  /*margin-left: auto;*/
  /*margin-right: auto;*/
  /*box-shadow: 10px 10px 5px #888888;*/
  width: 90%;
  margin-left: 20px;
  margin-bottom: 15px;
  border-spacing: 0;

}

Saturday, September 17, 2016

Monday, August 29, 2016

max length



<input class="widget-input-year pgmyear" type="text" name="year" ng-model="struct.program_year"       maxlength="4" min="20" max="2076"       pattern="[0-9]{4}" required ng-trim="true"></label>

Monday, August 22, 2016

radio button



<tbody>
<tr>
  <th><label class="reqd-right">Display on Dossier Report*</label></th>
  <td>
    <input type="radio" ng-model="event.onDossier" ng-change="checkStuff()" value="yes">Yes
    <input type="radio" ng-model="event.onDossier" ng-change="checkStuff()" value="no">No<br/>
  </td>
</tr>
</tbody>


<label class="cfaesProfile_label">Formal Student Evaluation*</label>
  <input type="radio" ng-model="event.formalStudentEval" ng-change="checkformalStudentEval()"         value="yes">Yes
  <input type="radio" ng-model="goal.formalStudentEval" ng-change="checkformalStudentEval()"         value="no">No

Thursday, June 2, 2016

increase space between radio button

http://stackoverflow.com/questions/12294367/html-radio-buttons-add-space-between-the-buttons-from-the-same-groupe
input[type="radio"]{
  margin: 0 10px 0 10px;
}

input[type="radio"]{
      //padding: or margin or line-height for better spaces between radio button according to your need and design;
}

Wednesday, March 16, 2016

online editors

https://jsfiddle.net/

https://plnkr.co/

http://jsbin.com/AlegIto/1/edit?html,js,output