HTML - Textboxes And Dropdowns
HTML only please
I have a dropdown box in my form, however whenever I save and exit, and reopen, my choices default back to the first option... why is this and how do I fix it? <select name="SwearAffirm" id="SwearAffirm"> <option value="swear">Swear</option> <option value="confirm">Confirm</option> <option value="affirm">Affirm</option> </select> Similar TutorialsHi All, im trying to align some Labels and text fields evenly through my page, Iv been trying to tweek it here and there and im just wondering have i missed a vital step to do some a thing....... the attached is what i have at the moment "image called Layout" and what i want to achieve is also attached the one with the Green Header my Css for this is here for the label HTML Code: .StandardLabel { width: 100px; text-align: left; padding-right:3px; font: verdana; font-family: Verdana; letter-spacing: normal; font-size: 15px; } for the text box HTML Code: .LongTextBox { width:170px; } and the HTML HTML Code: <div style="padding-top: 10px;"> <asp:Label ID="lblEmail" runat="server" Style="padding-right: 42px;" CssClass="StandardLabel" Text="*Email"></asp:Label> <asp:TextBox ID="txtEmail" runat="server" CssClass="LongTextBox"></asp:TextBox> </div> <div style="padding-top: 10px;"> <asp:Label ID="lblConNum" runat="server" CssClass="StandardLabel" Text="*Contact Number"></asp:Label> <asp:TextBox ID="txtContactNum" runat="server" CssClass="LongTextBox"></asp:TextBox> </div> I havent attached all the HTML but the code is identical to what i have added above. Hi, I want to create a nav-bar with many different textboxes which link to different pages. HTML Code: <a href="home.html" target="frame1">...</a> Creating the textbox with text and link is no problem. BUT...: How do I make the color of the textbox change if I hover over it with my mouse? Another aspect: How do I make the color of the textbox change when a certain page is loaded in "frame1"? Hey Guys, Firstly I'm very new to using HTML and "programming" general, so I'm sorry if I come across as dumb New to the forum also and signed up as I couldn't fine help elsewhere on this problem. I'm attempting to write a simple HTML form that will eventually print to a .txt file. The basics of it is d: <input type="text" name="hnmr_shift1" /> H's: <input type="text" name="h_s1" /> Multiplicity: <input type="text" name="multiplicity1" /> J coupling:<input type="text" name="j_coupling1" /> <br /> which is repeated and repeated over and over (about 25 times) I was wondering if there's a to have the user select how many of these they would like (in a drop down box or something along those lines) and it will pop up with x amount of rows of the above boxes. i.e if the user selects 3 you would see something like d : (box) H's : (box) Multiplicity : (box) J coupling : (box) d : (box) H's : (box) Multiplicity : (box) J coupling : (box) d : (box) H's : (box) Multiplicity : (box) J coupling : (box) I've seen similar things on forms were it asks you something like "how many people...." and when you select a number it will pop up with separate boxes for each persons name and details (first name, second name phone number etc.). was thinking of using javascript or something along those lines hope this makes sense. cheers Aaron ps. I want to avoid php as this form will be running on school computers and I cbf setting up a server etc. for it to run. the idea of the form is that it can be booted easily from a USBDrive without any problems or permission issues. Hi, I am required to save entries from 3 text boxes into a text file on clicking a submit button. Can anyone help please. Regards Shrekpete |