HTML - Can Someone Please Help Me Tidy My Code?
I have been working on my website for a day now:
benjaminpotter.org I need someone to go though my code and correct any errors. It has an issue with the javascript area in IE. For some reason a blue line goes arround the outside??? also the bottom of it get cut off by the image bellow it... so there are a few things there files are attached it would be awesome if someone could help me tidy it... a few things are making me very confused. Thanks to anyone who can help! Ben Similar Tutorialshi i want to know if anyone can suggest me: tool/website that can clean or tidy HTML CODE. Assume that i have html code that is not clean or let say i foget the closing tag or or i have extra table or anything, this tool/software will cean it for me thanks 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. 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'm using dreamweaver. I am trying to make my menu stay on the top of the webpage without having a white line above it ... like seen on this webpage. How do I get ride of the white space above my menu. Any ideas?? Here is example what what i did I want the image to strech to fill the whole page left to right ... and be at the top with no white above it http://www.andersonwoodproducts.com/2008/test.htm 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> Sorry for waste of time, completed myself what kind of working is required to insert image while working with html ? 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 I really need help with www.classic-corvettes-ky.com/monday.html to send an email containing data entered when a user clicks "Submit" or refresh the page when the user clicks "Reset". I got some code of a tutorial for an image slider, and I used NotePad ++ to edit it with my images and links. But I don't know whats wrong?!? It won't load. I put it in Wordpress and upload the images and it doesn't work! I have attached the code file. Thanks is anyone can help! Hey Guys!! So im making a website for my minecraft sever and i was hoping for some help and ideas for html and hosting websites!! if anyone has any ideas give me a message, id really appreachitate it! :3 .. -- Raideh Hello all... need help with this minor issue... site page: http://www.5starpaydayloan.com/new.html If you are viewing the page you will see that below the image of the group there is a break in the side bars that go along either side of the text... Can someone please help me figure out how to get rid of the break? Thank you! Hi, Can someone check the code and tell me why the bottom row keeps going to the top? http://elitedonuts.com/test1.html Also when I use a validator it keeps telling me these errors but I seem to have the closing </body> and </div> tag? http://validator.w3.org/check?uri=ht...alidator%2F1.2 Thanks Hi new to coding so please be forgiving I am trying to modify some code which i recieved of the web. I have ask the author but i had no reply yet. I want to change the code so that instead of replicating button i want it to use a drop down list box instead. The code only runs in .HTA extension and needs to run from c:\winpe\wizard.hta all sub folder will be displayed as a buttons on the screen. (I need this to work but in a dropdown list box). can anyone could help me please <html> <!****************************************************************************> <!* HTA Header > <!****************************************************************************> <HEAD> <TITLE>Imaging Application</TITLE> <HTA:APPLICATION BORDER = None APPLICATION = Yes WINDOWSTATE = fullscreen INNERBORDER = No SHOWINTASKBAR = Yes SCROLL = No APPLICATIONNAME = "Windows PE Wizard" NAVIGABLE = Yes > <!-- external stylesheet --> <link rel="stylesheet" type="text/css" href="htaStyle.css" /> </HEAD> <!****************************************************************************> <!* Begin Script > <!****************************************************************************> <Script Language=VBScript> '**************************************************************************** '* Globals '* setup global script parameters '**************************************************************************** Option Explicit Dim strTaskValue, objShell, objFso, strBody, objWmiService Set objShell = CreateObject("WScript.Shell") Set objFso = CreateObject("Scripting.FileSystemObject") Set objWMIService = GetObject ("winmgmts:\\.\root\cimv2") '**************************************************************************** '* Window_OnLoad '* load up behavior and preferences '**************************************************************************** Sub Window_Onload self.Focus() strBody = "<H1>PE Build and Recovery Environment</H1>" &_ "<H2>Select Images to apply an OS image using Ghost.<BR><BR>" &_ "Please select an image category:<BR><BR>" enumDirs End Sub '**************************************************************************** '* enumDirs '* find directories and create category buttons '**************************************************************************** Sub enumDirs Dim colSubfolders, objFolder, fileName 'enumerate folders in images folder Set colSubfolders = objWMIService.ExecQuery _ ("Associators of {Win32_Directory.Name='c:\winpe'} Where AssocClass = Win32_Subdirectory ResultRole = PartComponent") 'create html buttons from each folder name For Each objFolder in colSubfolders fileName = objFolder.fileName strBody = strBody &_ "<button id='" & fileName & "' onClick='enumImages("" & fileName & ""'>" & fileName & "</BUTTON>" Next 'post resulting html body to document strBody = strBody & "<BR><HR><BR>" body.innerHTML = strBody End Sub </Script> <!****************************************************************************> <!* End Script / Begin HTML > <!****************************************************************************> <BODY> <DIV id=bg> <img src=winpe.bmp> </DIV> <DIV id=body></DIV> <DIV id=details></DIV> </BODY> </HTML> <!****************************************************************************> <!* End HTML > <!****************************************************************************> Close please, made a simpler question. Hi im rich very first post but might be a good question. im looking for a code that when you load the page the exclamation windo pops up with the message. i made one for no right mouse clicks. i need one made to when my page laods they will see the message. I want to use the code on this website: http://geekfile.googlepages.com/flvplay.... I have a video that i converted to flv on my computer...what do I do? Please help...I dont know where I put my information in this code |