HTML - Saving In Notebook - Code Gets Jumbled Up
When I edit my html code in notebook, and try to save, it somehow messes up the spacing and format of my coding immediately upon saving.
I've attached before saving and after saving pictures as examples. What gives? Thanks. Similar TutorialsHey all, Well First off let me explain what im trying to do.. I have a form which i made in html.. just something like first name last name city state thats just a example.. but you input your info into a text box.. At the bottom of the form theres a textbox called "number" and a submit button. i need it to be able to reconize the name they enter and save it as a *.html in a random directory so if they enter 123 and click submit it saves to C:\files\123.html i cant get it to work.. does anyone have any ideas? thanks!!! - Jonathan Hey everyone, I'm working on a new login form for my site and getting a HUGE headache from it. The login box houses 2 forms but I do some trickery with jQuery for the password field so that I can display the word "Password" in a text input, and then I swap it to a password type input field when the user focuses on it. - The form for logging in contains: Email field [type=text] Fake Password field [type=text] Actual Password field[type=pass] - Another to create a new account contains: Screename [type=text] Email[type=text] Password field[type=pass] Testing in FireFox, I clear the saved passwords/cache from the site, pull up the forms and submit the LOGIN form. It's successful and I choose to "Remember the password". Now I logout and pull up the forms again...and the SIGN UP form's password field, now contains the value I entered in the LOGIN form when I saved earlier. Does it simply look for all password fields on the page and add the value to them? The forms both have different ID's all the input fields have different ID's... I've never dealt with forms on this magnitude, so it may be easy, but man is it a headache! THANKS FOR ANY HELP! Hello, hopefully i can find help here I want to save my canvas-content to a single image-file. There are an approach using todataurl(), which works fine. But not if i draw an image-file (e.g. car.jpg or house.png) to the canvas additionally. It does not return the whole image? Here I have my simple example-code: <head> <script> window.onload = function() { var canvas = document.getElementById("theCanvas"); var context = canvas.getContext("2d"); context.fillStyle = "navy"; context.fillRect(0,0,20,20); var imagefile = new Image(); imagefile.onload = function () { context.drawImage(imagefile, 22, 0,60,60); } imagefile.src = "http://www.sign-arts.de/joomla/images/stories/print_proj/mediclin/icon1.gif"; window.open(canvas.toDataURL('image/png')); }; </script> </head> <body id="bodi"> <canvas id="theCanvas" width="500" height="200" > </canvas> </body> Only the HTML5-methods like fillRect() are rendered to the new window, why this is so? What im doing wrong? Thanx in advance for help bilinok Hello, Does anyone know how to create an input form that saves text to a text file? i.e. a text box with a submit button. Thanks. Hi, I am very new the Html, just i had created a static page containt a hyper link to open a pdf file. File open in browser itself. The list of activity want to protect from the user. 1. Saving the pdf 2. printing the pdf 3. copy/edit a pdf Please help me how to do it. kanish Hello. I have a small script developed for tracking sales. The script randomly generates a "transaction ID" by creating a random number when a user visits the thank you page. It works great, however there is one problem: when a repeat user comes back, it generates a NEW transaction ID and logs a second "sale" when in fact its just a repeat visit. How can I modify this script to remember the transaction ID for each user? I was thinking creating a cookie with the transaction ID would be the simplest way, however I'm not sure. If you can help me decide which way is best, and then show me how to implement this I will be very greatful. Basically I think I would need some sort of second variable, and a script that runs to check for a cookie. If cookie is present, replace "$random_number" with "transaction ID". else if no cookie is present, generate a new number with $random_number. Heres the code: Code: <!------- Random Number Generator For Pixel ----------> <?php srand ((double) microtime( )*1000000); $random_number = rand(0,100000); echo "<script src='https://users.domain.com/sale_third/49.95/$random_number/OPTIONAL_INFORMATION'></script> <noscript><IMG SRC='https://users.domain.com/track_sale/49.95/$random_number/OPTIONAL_INFORMATION'></noscript>"; ?> <!------- End Random Number Generator For Pixel ----------> Thanks in advance. I am using dreamweaver and for some reason when I save files it's creating extra linespaces. like <br> <br> <br> will show up as <br> <br> <br> How can I fix this? It's a real pain. It must increase my page size? Or is it fine? One page I have, I don't know why, but it has 5-6 lines in between, maybe every time I save it' adds another line? Hello, I am a student and working on a simple first project. All I'm doing right now is writing my code in text edit, saving it as "test.html", and dragging and dropping the file onto Safari/Firefox to view my code. Everything works when I'm at my college's computer lab, but when I'm on my own mac notebook, the files load in the browser as my code. I've tried a variety of samples and checked my preferences, but I can't figure out what I'm doing wrong. Sample code I'm using - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <TITLE>Simple Link Example 2</TITLE> </HEAD> <BODY> <H1 ALIGN="CENTER">Creating Relative Reference Links</H> <HR> <P>Open <A HREF="practice1.html">Practice 1</A>.</P> <P> Open <A HREF="practice2.html">Practice 2</A>.</P> <P>Open <A HREF="practice3.html" TARGET="_blank"> Practice 3</A> in a new window.</P> </BODY> </HTML> Please help! I'm trying to wrap up an assignment and have been banging my head against the wall all night. Thanks! cordelia I was curious to find out, where can i find a cool looking shoutbox code where i can put on my message forum? Looking for some neat, and cozy with some advance options. Meaning, i would like to change the colors to match with my forum and stuff. Thanks. Hello! I have a blog on blogger and i want to make a c++ tutorial.. But every time i type "<iostream>" on post, when i see it, it is only "iostream". How can i make a code like the "[code]" from BBcode to cancel the compiling from HTML? Thanx! I have a website where I want to make a drop down menu that will bring you to different pages. It is a very basic, sort of old-fashioned website that relies entirely on html. What I'm trying to do is make a drop-down menu that will be used as navigation for a section of a website and I want to have it in each internally linked page in that section, but I'm going to be adding more pages to it over time so I want to be able to put the drop-down menu code in a separate text file and then substitute it into the pages that I make that the options in the menu link to and then just edit the code in the text file when I add another page so that I don't have to go back and edit the code every single individual page whenever I add a new one among them. Basically all I'm asking is how I can put html code in a text file and then substitute that code into an html page by referring to the file. Thanks in advance for any help. Sorry for waste of time, completed myself Can someone point me in the right direction for code to place an MP3 on my website? I would like it to be available to listened to online and also to download. Thanks. what kind of working is required to insert image while working with html ? I use the Sitebuilder with my package from One & One as its very easy and quick to use. Anyway, my problem is that I used the 'W3C Markup Validation Service' and it found 6 mistakes. The mistakes were in the HTML code and for example would look like this: <b>text<b> instead of this <b>text</b> (the / missing) One & One say I cannot access the HTML code for my homepage, so how am I suposse to fix it? Any ideas? Thanks I want to add another sample image to this page and cannot figure out how to do it? ANyone know how to code to add another rollover image next to the existing one? Thanks for any help.......I have spent hours on this...... http://www.lisahermes.com/painting Existing Code: Code: <title>Lisa Hermes Portrait Design</title> <link rel="Stylesheet" href="assets/tech/style-kdw.css" type="text/css"> <script> <!-- function F_loadRollover(){} function F_roll(){} //--> </script> <SCRIPT LANGUAGE="JavaScript1.2" SRC="assets/rollover.js"></SCRIPT> </head> <body> <br> <table class="1"> <tr><td align="center"> <table class="heder" cellpadding=0 cellspacing=0> <tr> <td> <a href="index.html" style="cursor:hand; text-decoration:none;" onMouseOver="F_loadRollover('NavigationButton1','',0);F_roll('NavigationButton1',1)" onMouseOut="F_roll('NavigationButton1',0)"><img id="NavigationButton1" name="NavigationButton1" height=66 width=270 src="assets/images/autogen/Home_Hs3.gif" onLoad="F_loadRollover(this,'Home_HRs4.gif',0)" border=0 alt="Home" title="Home"></a> </td> <td> <a href="html/children.html" style="cursor:hand; text-decoration:none;" onMouseOver="F_loadRollover('NavigationButton2','',0);F_roll('NavigationButton2',1)" onMouseOut="F_roll('NavigationButton2',0)"><img id="NavigationButton2" name="NavigationButton2" height=66 width=99 src="assets/images/autogen/Children_Ns1.gif" onLoad="F_loadRollover(this,'Children_NRs2.gif',0)" border=0 alt="Children" title="Children"></a> </td> <td> <a href="html/companions.html" style="cursor:hand; text-decoration:none;" onMouseOver="F_loadRollover('NavigationButton3','',0);F_roll('NavigationButton3',1)" onMouseOut="F_roll('NavigationButton3',0)"><img id="NavigationButton3" name="NavigationButton3" height=66 width=120 src="assets/images/autogen/Companions_Ns1.gif" onLoad="F_loadRollover(this,'Companions_NRs2.gif',0)" border=0 alt="Companions" title="Companions"></a> </td> <td> <a href="html/families.html" style="cursor:hand; text-decoration:none;" onMouseOver="F_loadRollover('NavigationButton4','',0);F_roll('NavigationButton4',1)" onMouseOut="F_roll('NavigationButton4',0)"><img id="NavigationButton4" name="NavigationButton4" height=66 width=105 src="assets/images/autogen/Families_Ns1.gif" onLoad="F_loadRollover(this,'Families_NRs2.gif',0)" border=0 alt="Families" title="Families"></a> </td> <td> <a href="html/information.html" style="cursor:hand; text-decoration:none;" onMouseOver="F_loadRollover('NavigationButton5','',0);F_roll('NavigationButton5',1)" onMouseOut="F_roll('NavigationButton5',0)"><img id="NavigationButton5" name="NavigationButton5" height=66 width=135 src="assets/images/autogen/Information_Ns1.gif" onLoad="F_loadRollover(this,'Information_NRs2.gif',0)" border=0 alt="Information" title="Information"></a> </td> <td> <td> <a href="html/contact.html" style="cursor:hand; text-decoration:none;" onMouseOver="F_loadRollover('NavigationButton6','',0);F_roll('NavigationButton6',1)" onMouseOut="F_roll('NavigationButton6',0)"><img id="NavigationButton6" name="NavigationButton6" height=66 width=83 src="assets/images/autogen/Contact_Ns1.gif" onLoad="F_loadRollover(this,'Contact_NRs2.gif',0)" border=0 alt="Contact" title="Contact"></a> </td></tr> </table> </td></tr> <tr> <td align="left"> <table class="2"> <tr> <td valign="top"> </td> <td valign="top"> <h1> <!------------------------------- START MAIN PAGE CODE --------------------------> <table width="935" height="460" border="0" cellpadding="0" cellspacing="0" bgcolor="ffffff"> <tr> <td width="205" height="253"><div align="right" class="style1"> <!----------------------------if logo equals default ----------------------> <!----------------------------if logo equals default ----------------------> <table width="935" height="460" border="0" cellpadding="0" cellspacing="0" bgcolor="ffffff"> <tr> <td height="265"><div align="center" class="style1"> <table border="0" cellpadding="0" cellspacing="0"> </table> <!------------------------------- START MAIN PAGE CODE --------------------------> <table width="935" height="460" border="0" cellpadding="0" cellspacing="0" bgcolor="ffffff"> <tr> <td width="205" height="253"><div align="right" class="style1"> <!----------------------------if logo equals default ----------------------> <!----------------------------if logo equals default ----------------------> <table width="935" height="460" border="0" cellpadding="0" cellspacing="0" bgcolor="ffffff"> <tr> <td height="265"><div align="center" class="style1"> <table border="0" cellpadding="0" cellspacing="0"> </table> <h1> <table width="100%" border="0" align="center"> <div align="center" class="style1"><font size="1" >Please roll mouse over image to see <br>before and after.<br></div> <table border="0" cellpadding="0" cellspacing="0" width = "100%"> <tr> <!--------------------------------------------------------------------> <!----------------------------MAIN CONTENT ---------------------------> <!--------------------------------------------------------------------> <table border="0" cellpadding="0" cellspacing="0"> <tr> <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=246 NOF=LY> <TR VALIGN=TOP ALIGN=LEFT> <TD WIDTH=1 HEIGHT=5><IMG SRC="./assets/images/autogen/clearpixel.gif" WIDTH=1 HEIGHT=1 BORDER=0 ALT=""></TD> <TD WIDTH=37><IMG SRC="./assets/images/autogen/clearpixel.gif" WIDTH=37 HEIGHT=1 BORDER=0 ALT=""></TD> <TD></TD> </TR> <TR VALIGN=TOP ALIGN=LEFT> <TD COLSPAN=2 HEIGHT=5></TD> <TD ROWSPAN=2 WIDTH=275> <script language="JavaScript"><!-- function onPictureRollover2A89102Over() {} function onPictureRollover2A89102Out() {} //--></script> <script language="JavaScript"><!-- graphic1PictureRollover2A89102 = new Image() graphic1PictureRollover2A89102.src = './a1.jpg'; graphic2PictureRollover2A89102 = new Image() graphic2PictureRollover2A89102.src = './b1.jpg'; function onPictureRollover2A89102Over() { document.PictureRollover2A89102.src=graphic2PictureRollover2A89102.src; } function onPictureRollover2A89102Out() { document.PictureRollover2A89102.src=graphic1PictureRollover2A89102.src; } //--></script> <a href="javascript:onPictureRollover2A89102Over()" onClick="return false" onMouseOver="onPictureRollover2A89102Over(this)" onMouseOut="onPictureRollover2A89102Out(this)"><IMG ID="PictureRollover2" HEIGHT=330 WIDTH=375 SRC="./a1.jpg" BORDER=0 ALT="" name=PictureRollover2A89102></a></TD> </TR> <TR VALIGN=TOP ALIGN=LEFT> <TD HEIGHT=309></TD> <TD WIDTH=0> <script language="JavaScript"><!-- function onPictureRollover1A11065Over() {} function onPictureRollover1A11065Out() {} //--></script> <script language="JavaScript"><!-- graphic1PictureRollover1A11065 = new Image() graphic1PictureRollover1A11065.src = './before02.jpg'; graphic2PictureRollover1A11065 = new Image() graphic2PictureRollover1A11065.src = './before02.jpg'; function onPictureRollover1A11065Over() { document.PictureRollover1A11065.src=graphic2PictureRollover1A11065.src; } function onPictureRollover1A11065Out() { document.PictureRollover1A11065.src=graphic1PictureRollover1A11065.src; } //--></script> <a href="javascript:onPictureRollover1A11065Over()" onClick="return false" onMouseOver="onPictureRollover1A11065Over(this)" onMouseOut="onPictureRollover1A11065Out(this)"><IMG ID="PictureRollover1" HEIGHT=0 WIDTH=0 SRC="./before02.jpg" BORDER=0 ALT="" name=PictureRollover1A11065></a></TD> </TR> </TABLE> <td width = "100%" align="left"><td width="975" rowspan="2" align="left" valign="middle"> <table width="90%" border="0" align="center"> <tr> </table><h1> <div id="content" style="position:static; text-align:center; width: 540 ; height:50px; z-index:1; overflow: auto; "> <table width="100%" border="0" align="center" cellspacing="5"> </table> </div> <table width="100%" border="0" align="center"> <div align="left" class="style1"><font color="#b6b0a4" size="4" >Memorial Tributes</font> <br></div> <table border="0" cellpadding="0" cellspacing="0" width = "70%"> <tr> <td><h1> <font color="b6b0a4"> phone<br> </font> 925-200-6586 <br><br> <font color="b6b0a4"> e-mail<br> </font> <a href="mailto: info@LisaHermes.com" class= "navigation">info@LisaHermes.com</a> <br><br> Now offering Memorial Tributes! <br>Prices available upon request.<br>Lisa Hermes Photography <br><br> </table> <br><br><br><br> </body> </html> Hey I'm looking for a code for users to upload a picture. Below the picture there is a form to let other users rate the picture from 1-10 then submit it. Also below the form there is a comment box and previous comments box where people can see what others posted....its hard to explain...kinda like this picture in the attachment. Thanks in advance. ok I am not the greatest with html so I am using Microsoft Front-page... and I am trying to do something that I don't think the program can do in the visual editor so I need to code it.... but I don't know how... ok here is what I am trying to do... ok on the top of my page I want to have some links... when a person clicks on a link I want the page to drop down to a specific spot on the page... and I want a button that moves when the person scrolls... a "Go to the top" button... I hope you know what I mean.... Any help would be great... thanks I need a Dev code, for the scroll bar that goes in your page, and one that is trnasparent would be REALLY great, or one with the ability for a background image? Thanks Close please, made a simpler question. |