summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnmol Agrawal <anmol1771@gmail.com>2014-09-30 00:39:50 +0530
committerAnmol Agrawal <anmol1771@gmail.com>2014-09-30 00:39:50 +0530
commita1f783d8e22fa17c3ea60181bc08be30dc19ffa9 (patch)
treef7f41d2687db7dbccb85a2a3dd4a6602b640734b
parent1063b78adc96fb7e585b546708df3eef07349003 (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.html2
-rw-r--r--style.css8
2 files changed, 4 insertions, 6 deletions
diff --git a/index.html b/index.html
index 80cec76a..2faa53ae 100644
--- a/index.html
+++ b/index.html
@@ -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">
diff --git a/style.css b/style.css
index 9bccd5b8..a359d77e 100644
--- a/style.css
+++ b/style.css
@@ -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;