Tuesday, January 8, 2013

Submit The Form When The User Presses Enter


Submit The Form When The User Presses Enter

Different browsers have different default behaviors about what to do when the user hits enter in a form. MSIE almost always submits the form, while Netscape will often just beep at you. Although it's usually best to leave the default

Pop up windows

How do I make a Pop-Up Window?  There's 2 different types of pop-up windows, the type that pop-up when you click on a link, and the type that pop-up automaticlly. Here's how to create em':
How do I make a window Pop-Up when a link is clicked?
How do I make a window Pop-Up automaticlly?

Popup Tutor


The code for that popup is this...
<script type="text/javascript">

Build a quick and simple Contact Form


Step 1: The Markup

Create a new file, call it contact.html or similar. Now let’s actually create the form fields. Copy and paste the following code into the newly created .html file.

Creating a button using purely CSS3


Step 1: The HTML

…this is a simple anchor tag with an assigned class name of “button”.

Create a simple CSS dropdown menu


Let me start with the CSS code, edit the colors and sizes to suit your websites needs:
Next is the HTML code. It is structured as nested lists so that even displaying the HTML source code without any CSS style will render it with a useful structure.