diff options
| author | Anmol Agrawal <anmol1771@gmail.com> | 2014-09-30 00:39:50 +0530 |
|---|---|---|
| committer | Anmol Agrawal <anmol1771@gmail.com> | 2014-09-30 00:39:50 +0530 |
| commit | a1f783d8e22fa17c3ea60181bc08be30dc19ffa9 (patch) | |
| tree | f7f41d2687db7dbccb85a2a3dd4a6602b640734b | |
| parent | 1063b78adc96fb7e585b546708df3eef07349003 (diff) | |
#62 - Fix number 1
The text box is fixed except that it doesn’t return to it’s original
size.
| -rw-r--r-- | index.html | 2 | ||||
| -rw-r--r-- | style.css | 8 |
2 files changed, 4 insertions, 6 deletions
@@ -49,7 +49,7 @@ <div id="suggestion" > - <form> <input id="textanalyser" placeholder="Type here to create a network:" /></form> + <form> <input id="textanalyser" size= "70" placeholder="Type here to create a network:" onkeyup="Expand(this);"/></form> </div> <div class="typeselection"> @@ -72,8 +72,8 @@ a:active { #textanalyser{ position: fixed; - width:900px; height:30px; + max-width: 70%; } input:focus { @@ -83,14 +83,12 @@ input:focus { #suggestion{ display:block; position:fixed; - top:30px; - left:20px; + top:30px; + left:20px; list-style-type: none; width:900px; } - - .node { stroke: #fff; stroke-width: 1px; |
