input type=”image” shows unwanted border in Chrome and broken link in IE7

You are using the image as a background. Why not set it as the src property of the button ? <input src=”https://stackoverflow.com/questions/4108983/images/submit-bkg.png” id=”searchsubmit” name=”searchsubmit” type=”image” value=”” tabindex=”2″/> When you set the type as image the input expects an src attribute as well.. Reference: http://www.w3.org/TR/html401/interact/forms.html#adef-src and http://www.w3.org/TR/html401/interact/forms.html#h-17.4.1

Exception in thread “main” java.util.NoSuchElementException: No line found – Using scanner input [duplicate]

The problem is you are closing System.in (Scanner.close() closes the underlying stream). Once you do that, it stays closed, and is unavailable for input. You don’t normally want to do that with standard input: String searchedNode; Scanner in = new Scanner(System.in); System.out.println(“Enter the name you would like to remove from the list: “); searchedNode = … Read more