HTML - <a> Help Required
Hello everyone,
I am attempting to use an <a href=".."></a> tag to access a .htm file. The problem is that the file that is being accessed is located in the folder above the folder in which the file is accessed from. Confused? This is where my file is: \htdocs\admin\index.htm This is where the webpage I want to access is located: \htdocs\index.htm I cannot figure out how to access that file!! How is it done? Many thanks in advance bassguru1234 Similar TutorialsHi, I'm brand-new to the forum, and brand-new to html. I'm attempting to modify a form on my website. I had hoped I could avoid learning html by having someone else design my website, but it's becoming increasingly frustrating to go through him for every minor change (not to mention expensive). So, I'm basically learning html while changing this form, and I know it's not a real pretty script, but I just need it to do its job. After 5 hours of work on it, I thought it was just perfect. Every time I made one or two change, I uploaded it, and tested the form before saving it and moving on. It was going fine, until the last changes (removing the required validation on several fields)--now the form submits even when not a single field is filled in. Even undoing the changes and going back to the previous version doesn't help... Here's the original: http://www.cbellisfunding.com/capital_request_form.html And here's my edited version: http://www.cbellisfunding.com/capita...0modified.html Feel free to try the form out; I don't mind the docs in my inbox if it helps troubleshoot. I would greatly appreciate any constructive input! Thank you! ~Michelle~ oh, by the way, I ran the html validation software and it came up with 193 errors (!). All of them were my programmer's, not mine. (I change only a few very specific things) Many were closing code, and I hand-fixed those. The rest I haven't a clue how important they are to repair, since the web form has worked with them so far... Hi, I have a niggling problem that I can't resolve despite googling it to death. I'm sure that it will be simplicity itself for those of you on the forum, so advice please. I have a page - just a normal .net page - the basic structure looks like this: <html> <body> <form> <div id="my-site"> </div> </form> </body> </html> Both the html and body tags have height set to 100%. The html tag has a tiled background-image #mysite has a fixed width set + margin auto to centre the site I also have another background image (currently applied to the body tag). This repeats horizontally across the entire width og the page. The problem occurs when I zoom using Firefox. The content expands as expected, and the image applied to the html tag expands, but the body image stops short of the right side, leaving a gap. I use a rest on my css so margins are set to 0. Any help or advice would be appreciated. Thanks John Hi, I'm fairly new to all this and have never styles a table before. I have a small issue with this table below that I can't resolve as yet. HTML Code: <table bgcolor="Blue" cellpadding="0" cellspacing="0"> <tr> <td valign="top" bgcolor="Yellow" height="150" width="150" style="border-right:solid 1px #d2d2d2;margin-right:10px;padding-right:10px">Image</td> <td valign="top"> <table bgcolor="Aqua" width="400"> <tr><td>This is a title</td></tr> <tr><td>This is a description</td></tr> <tr><td>This is where the additional extras go</td></tr> </table> </td> </tr> </table> The issue I have is that the first td should have padding, then border, then margin before the next td. The border is showing but no padding or margin is applied. Whilst I'm here I'd like to ask a couple more questions in relation to the table above. Firstly, I have nested a table inside the table - is this the best way or should I have applied a rowspan to the first td? The reason behinf this is that the 2 first level td's both have independent content - the first one houses an image up to 150px high and the second with the table houses variable text, so either could be the longest. Secondly, is there anything you should always do when playing with tables, for instance resetting certain things? The table is to go inside an email, hence the table and inline styling. Please ingnore the color attributes as they are only there to help me with the construction. Thanks in advance. John I want to ask you ,guys that already know this things . How much time does it take to learn ? -html -css -javascript -php -mysql . Each of them ,and another question ,what else should i learn to be able to create any website that i want ? Please help me to make the below design in html. Since I am generating PDF so i need to set footer for that so please make the design shown below so that I can assign that design as my footer... http://yfrog.com/kfqmc7p Regards.... Hi guys, I am having a little difficulty with the layout of the adverts on the following page: http://www.dynamic-xchange.com/DXSer...d_Personal.php I am trying to align them as they are on this page with the Ad Space and Pixel size headers directly above and below them: https://www.dxsynergy.com/adsXposed/...asp?DXAction=0 I have tried a few times now and am beginning to give up. Any assistance would be greatly apprecaited. hey guys, kinda new at this stuff... just wondering....lets say i am calling 2 different page in 2 frames (one page in each frame) in one html..and lets say those 2 pages require you to login through username and password....i want to create a applet that will allow me to enter credentials(username and password, if they are the same) in that applet(or dialog box) and which use that info and log in 2 both sites... please help me out.,.. thnx All, Sorry if this seems too stupid. This is my first question to the forum. If I use Paypal to create a BuyNow button, I paste the html code into my webpage. When I preview the webpage the link is just dead. Is this normal? How do I know the link works? Any suggestions? Hi friend i want to design my personal website,Please anyone can help me or suggest some resources. I am attachinga a screen shot can anybody give me hints for developing the screenshot. I am new to HTML . Help me out in resolving this problem. I'm relatively new to html, specifically I have never programmed a web form before. My submit page (It's an archive-style site where I encourage people to submit their own stories) seems to have multiple problems, including he simple fact that it doesn't seem to display properly. My main issue, and the one I'm asking about here, is that people keep submitting blank forms and I want to make it so the STORY field is required. Sorry that the code is a mess, but as I said I'm pretty new to this. Thanks for any help you can provide. Code: <html><head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <title>Archive Poster</title> </head> <body text="#ffffff" vlink="#FF0000" alink="#FF0099" bgcolor="#000000"><style type="text/css"><!--A {text-decoration: none} .style1 { border-left-style: solid; border-left-width: 1px; border-right: 1px solid #FFFFFF; border-top-style: solid; border-top-width: 1px; border-bottom: 1px solid #FFFFFF; } --> </style> <center><table width="600" cellpadding="0" cellspacing="0" class="style1"> <tbody><tr> <td valign="CENTER" width="600" align="left"> <br><blockquote><hr><hr> <font size="6" color="#ffffff" face="ARIAL"><b>Post Your Story Here</b> </font> <br> <hr><hr> <p align="justify"><font size="3" face="ARIAL"><b> To help us to post your story faster -- please supply some basic <br> information about your story below. Please try to answer all <br> pertinent questions, then click the "submit" button and submit your <br> story to the archive. Thank you.</b> </font><br><br> </p><hr> <hr> <form action="http://acctcgi.xxxxx.org/formmail.cgi" method="post"><font size="3"> <input name="subject" value="New Story Submission" type="hidden"> <input name="successpage" value="thanks.htm" type="hidden"> </font><pre><font size="3"><font size="4" face="ARIAL">Story title:</font> <input name="TITLE" size="50" type="text"> <font size="4" face="ARIAL">Author name or nickname:</font> <input name="NAME" size="50" type="text"> <font size="2" face="ARIAL">If you wish to remain anonymous leave blank</font> <font size="4" face="ARIAL">A brief description of your story:</font> <textarea name="COMMENTS" rows="10" cols="60"></textarea> <font size="4" face="ARIAL">Appropriate story codes: GENDER (Pick one that best describes your story)</font><br> <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <input name="ITEM1" value="xxxxx" type="radio">(xxxxx) xxxxx <br> Other: <input name="GENDER" size="50" type="text"> <font size="4" face="ARIAL">Appropriate story codes: TYPE (Pick as many as necessary)<br> </font> <input name="ITEM2" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM3" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM4" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM5" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM6" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM6" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM7" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM8" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM9" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM10" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM11" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM12" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM13" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM14" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM15" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM16" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM17" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM18" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM19" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM20" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM21" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM22" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM23" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM24" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM25" value="xxxxx" type="checkbox">(xxxxx) xxxxx <input name="ITEM26" value="xxxxx" type="checkbox">xxxxx <br> Other: <input name="TYPE" size="50" type="text"> <font size="4" face="ARIAL">Public Author Contact Address:</font> <input name="EMAIL" size="50" type="text"> <input name="Annon" value="Yes" type="checkbox">Please hide my address.<br><br> </font><hr size="6" noshade="noshade"><center><font size="3" face="ARIAL">Story submission guidelines</font></center> <hr size="6" noshade="noshade"> <font size="2" face="ARIAL"><br></font><p align="justify"> <font size="2" face="ARIAL">Please follow these steps when submitting a story: <br><br> We want to have the files available to everyone. ASCII PLAIN TEXT is the basic medium and there is no one with computer access that can't read a text file. <br> The best format to send your story in, is "plain text" with white space between paragraphs. Don't format line length and don't worry about story length since we can accept any length story. <br><font size="4" color="#ff0000"><b> We will accept only plain text files. You may copy and <br> paste to the window below.</b><br></font> We will not accept DOC, WPS, or any other word processor formats. The archive staff apologizes for any inconvenience that this may cause contributing authors, but there are a few "funny" people out there who continually try to "pass along" viruses to us and with the proliferation of these viruses we find it no longer feasible to accept the risk. <br>If you are unable to copy and past and transmit your story using the archive poster please contact us through the link shown at the bottom of the page and we will try to accommodate you via regular email. But even then we will only accept ASCII plain text formats. <br> We will format your story using the above guidelines if you submit it in any other form.</font></p> <font size="2" face="ARIAL"><br> </font><center><table width="515" bgcolor="#999999" border="0" cellpadding="0" cellspacing="0"> <tbody><tr> <td valign="CENTER" width="515" align="left"><blockquote> <br> <center><font size="4"><b>Story Submission box</b></font></center></blockquote> </td> </tr> </tbody></table> </center> <font size="2" face="ARIAL"><font size="4" color="#000000" face="ARIAL">Copy and past your story he </font> <label for="Story"> <textarea name="STORY" rows="50" cols="62"></textarea></label> <br></font><center> <font size="2" face="ARIAL"> <input name="subject" value="New Story Submission" type="hidden"> <input name="successpage" value="thanks.htm" type="hidden"> <input value="Submit Story" type="submit"></font></center> </tr> </tbody></table> </center> <br> <center><a href="index.htm">Return to the Main Page</a></center> </body></html> Can anyone help me with a HTML tutorial? I need a little bit advanced tutorial. Thanks in advance. Having flash backs from a decade ago... have a check box for agreeing to rules of behavior. user must check the box prior to having the submit button active. Code: <label><input type="checkbox" name="rules" id="rules"><a href="#" onclick="javascript:window.open('http://siteaddress.com/rules_of_behavior.htm','Window1','menubar=no,address=no,width=640,height=300,toolbar=no')">I have read and agree to the Rules of Behavior</div></a> Have a basic login to a site. current submit button Code: <A id=loginActionId class=LoginButton tabIndex=3 href="javascript:void(submitLoginForm())" name=login><SPAN><INPUT id=Login value=Submit type=submit name=Login> User must click the check box before being able to submit their login id / password to get into the site. can anyone help? Hi All, Using Dreamweaver CS4. I'm creating a form to file webpage for my work. It's just a simple html form that a user can fill out and once they hit submit, the information is saved to a file to be later converted to a spreadsheet or database or whatever. I have several required fields on this form. I was instructed to add a "." after the "Name" of whatever field I am requiring. They all work except my Radio buttons. Regardless if I make a selection (Yes or No) and hit submit, it still says that I need to fill out this field. Here is my code, I have tried several varieties of it, but none seem to work. I am completely new to Html coding so please bear with me. Thank you in advance! <input type="hidden" name="RequireApprovalYesNo." id="RequireApprovalYesNo." value=""> <input type="radio" name="RequireApprovalYesNo." id="RequireApprovalYesNo." value="Yes">Yes <input type="radio" name="RequireApprovalYesNo." id="RequireApprovalYesNo." value="No">No I have also tried (without the "." in the second and third piece of code): <input type="hidden" name="RequireApprovalYesNo." id="RequireApprovalYesNo." value=""> <input type="radio" name="RequireApprovalYesNo" id="RequireApprovalYesNo." value="Yes">Yes <input type="radio" name="RequireApprovalYesNo" id="RequireApprovalYesNo." value="No">No Hello, just joined what looks like a great resource for HTML help. I am looking to have a form with two actions, "save as draft" and "do your thing". Both buttons would go to different scripts in the background which would perform different tasks, ie one saving the form data somewhere, and the other doing the work required. My understanding of HTML forms is that you can only have one submit action, but I am no expert. Has anyone had any experience of doing something similar? If so what would you recommend? Any suggested reading much appreciated. Thanks CKS Never mind! Hello, On a form I'm working on, I've set up the address fields as required. However, if the user selects the "International Residence" option, I'd like the address fields to be not required. Could someone point me in the right direction? Thanks a bunch, Mike Hi, I'm a photographer and I want to start posting portrait slideshows to my website. What I would like to do is have a simple HTML page with hyperlinks that when you click on the subjects name it will start the download for the slideshow. However, I would like for it to request a password before allowing someone to download the file. It doesn't have to be double super secret secure and is really more for keeping honest people honest. I would just like to have another step the might deter someone from downloading another person's slideshow. Any help with this coding would be greatly appreciated. Thanks! -Pam I've honest to god looked for 2 days for tutorials and pre set up scripts for this but cannot understand any of it. could someone please make all of my friends required, except for the radio buttons. i just need at least one of them selected. id really appreciate it. thank you. Quote: <form name="_xclick" action="https://www.paypal.com/us/cgi-bin/webscr" onSubmit="return emailCheck()" method="post"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="boxer_347@yahoo.com"> <input type="hidden" name="currency_code" value="USD"> <input type="hidden" name="item_name" value="Personal Plan"> <center> <table> <tr> <td> <input type="hidden" name="on1" value="name"><font size="2"><b>First Name:</b></font></td> <td> <input type="text" name="os1" maxlength="200"><font size="2" color="#666666"><br>(Your first name)<br><br></font></td> </tr> <tr> <td> <input type="hidden" name="on1" value="account"><font size="2"><b>Account Name:</b></font></td> <td> <input type="text" name="os1" maxlength="200"><font size="2" color="#666666"><br>(Register a cPanel username)<br><br></font></td> </tr> <tr> <td> <input type="hidden" name="on1" value="password"><font size="2"><b>Password:</b></font></td> <td> <input type="password" name="os1" maxlength="200"><font size="2" color="#666666"><br>(Register a cPanel password)<br><br></font></td> </tr> <tr> <td> <input type="hidden" name="on1" value="email"><font size="2"><b>Email Address:</b></font></td> <td> <input type="text" name="os1" maxlength="200"><font size="2" color="#666666"><br>(Email address we can contact you at)<br><br></font></td> </tr> <tr> <td> <input type="hidden" name="on1" value="domain"><font size="2"><b>Domain:</b></font></td> <td> <input type="text" name="os1" maxlength="200"><font size="2"> (Optional)</font><br><font size="2" color="#666666">(Domain you wish to link to us)</font></td> </tr> </table> </center> <br> <center> <table> <tr> <td> <input type="radio" name="amount" value="1.00"><b>1 Month - $1.00</b> </td> </tr> <tr> <td> <input type="radio" name="amount" value="2.70"><b>3 Months $2.70 (Save 10%)</b> </td> </tr> <tr> <td> <input type="radio" name="amount" value="4.92"><b>6 Months - $4.92 (Save 18%)</b> </td> </tr> <tr> <td> <input type="radio" name="amount" value="9.00"><b>1 Year - $9.00 (Save 25%)</b> </td> </tr> </table> </center> <center> <br> <table> <tr> <td> <input type="checkbox" name="agree" value="tos"> I agree to the <a STYLE="text-decoration:none" href="tos.html"><font size="2" color="#3999FF">Terms of Service</font></a> </td> </tr> </table> <br> <table> <tr> <td> <input type="image" src="https://www.paypalobjects.com/WEBSCR-480-20070831-2/en_US/i/btn/btn_buynowCC_LG.gif" style="float:right;" border="0" name="submit"> </td></tr> </table> </center> </form> |