HTML - Convert This Eclipse Script To Work In Html?
Hi, i'm a new to programming. I try to convert this script which me and my friend
create in Eclipse to work in HTML webpage. Till now, still no success. Any web-dev can help me? PHP Code: import javax.swing.*; import java.text.*; public class InputItem { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub String [] namaBarang=new String[5]; String [] kodBar=new String[5]; double [] hargaBarang=new double[5]; DecimalFormat df= new DecimalFormat("#.##"); namaBarang [0] = "Sunsilk"; namaBarang [1] = "Dove"; namaBarang [2] = "Gardenia"; namaBarang [3] = "Ferero Rocher"; namaBarang [4] = "Wall's ice cream"; kodBar [0] = "123"; kodBar [1] = "456"; kodBar [2] = "789"; kodBar [3] = "014"; kodBar [4] = "852"; hargaBarang [0] =9.85 ; hargaBarang [1] =5.95 ; hargaBarang [2] =2.35 ; hargaBarang [3] =5.35 ; hargaBarang [4] =1.25 ; int option = 0; String output=""; double total=0.0; output+= "----------------------------\n\tMy Mydin\n----------------------------\n\n"; while (option==JOptionPane.YES_NO_OPTION) { String codeStr=JOptionPane.showInputDialog(null,"Enter the barcode :"); String qtyStr=JOptionPane.showInputDialog(null,"Enter the quantity :"); int qty = Integer.parseInt(qtyStr); System.out.println("\n\n"); for( int i=0; i<kodBar.length;i++) { if(codeStr.equalsIgnoreCase(kodBar[i])) { output+="\n"+ namaBarang [i]+"----------RM"+df.format((hargaBarang[i]*qty)); total+=(hargaBarang[i]*qty); } } option=JOptionPane.showConfirmDialog(null, "Continue?"); } output+="\n\n============RM"+df.format(total); JOptionPane.showMessageDialog(null, output); } } Any help greatly appreciated. Similar TutorialsAs the title states I've been using Microsoft Word 2000 to create my web page but now want to make a simple no frills html HTML document. Is there a simple and quick way to do it ? I know I can simply create a new HTML document and then just copy and paste the links but is there a utility that can do this ? Many thanks How do you convert a doc file into HTML using aspnet? How to convert an image(.jpg,.bmp,.gif) into html tag? (Instead of giving the image path name in the tag <img src=../abc.jpg> html codes needs to be used so that without image in local folder the html file should display the image) I have a word document that I need to add to web template so I need it in html so I can just copy and paste the info. I have tried saving the page as webpage in MS Word2007 but this saves it as an MHTML doc and I cannot just copy and paste that to my template. Is there anything I can use to convert the doc into html and keep the formatting in the doc? How can I convert the attached image to HTML so the background runs the width of the page? in the development of a website i've been given about 50 Word files as my client would have them designed as a webpage - i've NEVER had success doing a simple conversion - is there any good way to convert these .doc files to html without total destruction of the layout? anyone? many thanks, Glenn Hi All, I've been working on a portfolio website for a little while now, which is currently built as a hybrid html and flash. I was hoping to code the whole thing in html, but was having some problems with the horizontal scrolling portion of the site. You can see how it looks he jcolt.com There are 2 main things that are holding me back from this being entirely html: I'd like to change the appearance of the scroll bar, so it looks like what i've done in the current flash version. I'm also trying to map the scroll wheel on the mouse to scroll horizontally, across the gallery. Currently it works like this in the flash version, but again, trying to do it in html. I've seen it done successfully on this site: http://www.ptarmak.com/ My question is mainly; how complicated would this be to do? I have a working knowledge of html, but most of this site has been trial and error. Secondly, could anyone point me in the direction of code, or a discussion of how to do this? Thanks in advance. This is perhaps not the most suitable for this question, but I have been given two html files that are saved 'reports' produced from a company system. Before anyone suggests it, they cannot be re-produced for me in a different form. The files are 75Mb each!! Very large html files. I have been asked if I can convert the rendered html view of the files (so not the html source code) to another form, for example RTF or PDF, or any form that is suitable. Other than www.htmltortf.com and opening the files in Office and exporting them, can anyone suggest any way to do this (Office cannot handle the file size, and HTMLtoRTF requires payment for the full version). Thanks Ted Hello! I am working on building a website, and eventually I have managed to find a resolve to all the hurdles that I have come across until it was pointed out to me that there are certain things that don't show up in IE. I have tried it in every version available to me up to 8 and there is one thing that reoccurs each time. If you open it in Chrome or Firefox it works fine. The cascading menu that should appear across the top of the page does not. I have a version of the site uploaded he http://users.farmerstel.com/wabbs125/work/index.html I have been using webpage maker to build the site in. If any one knows of a way to help I would very much appreciate any and all offerings. I have attached a copy of the script. Thank you in advance! Tracy Hey all, new here and not a very good coder at all, but i find pieces of information and try and make best of it....and as far i can see i cant find this sort of information on this website my problem is im trying to create a code that will log in to a website, wait a few (i.e. 2 seconds) then go to a second web page that is a part of this site for example --> www.htmlforum.com --> (automate login) --> then go to www.htmlforum.com/example this is what i have found so far </head> <body> <FORM action=http://www.thewebsiteexample.com/login.php method= post name=login> <INPUT class=login_input type=hidden name=usrname value="myusername"> <INPUT class=login_input type=hidden name=uemail value="myemail@hotmail.com"> <INPUT class=login_input type=hidden name=peeword value="mypassword"> <INPUT class=login_input type=submit value=Login> <body onload="document.login.submit();"> </form> </body> this code allows me to log in successfully to the site i wish to go to i also have this code to allow loading of a new page (but works only AFTER successfully logged in) <script> <!-- location.replace("http://www.mywebsiteexample.com/arms.php"); --> </script> my problem is i dont know how to join the code, whereby i successfully log in, then run the script to go to the subpage my idea is to delay running of the script code perhaps? which should then allow to successfully load the subpage...or perhaps you guys know another way help is DEFINITELY very appreciated! cheers all! So i decided the other day to redo my website. I hopped on to Notepad++ and got the home page done. However, when i went to test it, all i got were the top four links. Can anyone spot any errors, or tell me why it isn't working? Thanks <html> <body> <style type="text/css"> b { background-color:black; text-color:green; } p { text-color:red; } </style> <a href="home.htm">Home</a> <a href="blogish.htm>Blogish</a> <a href="links.htm">Links</a> <a href="currentguns.htm>Currunt Guns</a> <br/> <br/> <br/> <br/> <br/> Hello, welcome to my extreamly lame webpage... <br/> <br/> Here i will tell you what guns i currently have, and equiptment for them (hoppers, tanks, tank covers, upgrades, etc.). <br/> I will also have a mini blog were i will post updates after every major event at Hell Survivors Inc. I will also put up my war stories. <br/> <br/> <br/> <br/> <br/> <p> WARNING!!! DO NOT PLAY PAINTBALL, You WILL be addicted immediatly, and won't be able to stop. It will drain your funds, and you will <br/> come home every day bleeding and in pain. <br/> <br/> <br/> In other words, its a good thing pballers are crazy and think that the pain is fun, and can go for weeks without eating so they <br/> can afford there 1200 dollar markers... </p> <br/> <br/> <a href="home.htm">Back to Top</a> </body> </html> Can anyone help me find what I did worong writing this? I cannot not get any output numbers? Its supposed to be a calculator for + - * / HTML Code: <html> <head> <title> COMSC100 Assignment 7 by Jesse Crawford 0887234 </title> <script> // copy/paste the following three lines after the script tag in EVERY program function getInputAsText(_id){return document.getElementById(_id).value} function getInputAsNumber(_id){return parseFloat(document.getElementById(_id).value)} function setOutput(_id, _value){document.getElementById(_id).value = _value} function calculate(code) { // declare a variable var first var second var resultAsText var resultAsNumber // get variable's value first = getInputAsNumber("firstBox") second = getInputAsNumber("secondBox") // output the value of total if (code == 0) { resultAsNumber = first + second resultAsText = first + " + " + second + " = " + resultAsNumber } if (code == 1) { resultAsNumber = first - second resultAsText = first + " - " + second + " = " + resultAsNumber } if (code == 2) { resultAsNumber = first * second resultAsText = first + " * " + second + " = " + resultAsNumber } if (code == 3) { resultAsNumber = first / second resultAsText = first + " / " + second + " = " + resultAsNumber } // output value setOutput("resultAsText", result) } </script> </head> </body> Instructions:<br> Type 2 numbers and hit enter.<br> The total will appear in box below <br> <br> Input Values:<br> First number: <input id="firstBox"><br> Second number:<input id="secondBox"><br> <br> <input type="submit" value="add" onclick="calculate(0)"> <input type="submit" value="subtract" onclick="calculate(1)"> <input type="submit" value="multiply" onclick="calculate(2)"> <input type="submit" value="divide" onclick="calculate(3)"><br> <br> Output value: <br> result: <input id="resultAsText" size="50"><br> </body> </html> Heej ppl. Ik maked a inlogpage with html with a kinda keylogger in it for testing, after i completed the Html document and opend from my documents the Keylogger works great! but if i am uploading the html code's on Freewebs.com i get this www.freewebs.com/iffsow he say's The Form is unoprational!. I dont understand it, its the same code. but he doesnt work? Maybe you could help me. cheers Hi all, I'm having a little trouble here, I'm a newbie at coding but I'm learning. how would I achieve something like this? http://www.createblog.com/layouts/code.php?id=28757 and or like this? http://www.createblog.com/layouts/code.php?id=28038 should I be using divs...as you can see in my code I went div crazy...I kinda perfer divs anyway! how can I do this? HTML Code: <style type="text/css"> a:link {color: #66cdaa; font-family: verdana; font-size: 6pt; text-transform: uppercase; text-decoration: none;} a:visited {color: #cc6600; font-family: verdana; font-size: 6pt; background:#FFFFFF; text-transform: uppercase; text-decoration: none;} a:hover {color: #870708; font-family: verdana; font-size: 6pt; background:#FFFFFF; text-transform: lowercase; cursor:hand;} /*all links above*/ body {background-color: black;} color: #ffffff; font-weight:bold; font-family: arial; font-size: 12px; margin: 0px auto; padding: 0px; text-align: justify; scrollbar-face-color:#1ee849; scrollbar-shadow-color:#1ee849; scrollbar-3dlight-color:#1ee849; scrollbar-arrow-color:#000000; scrollbar-track-color:#1ee849; scrollbar-darkshadow-color:#1e scrollbar-highlight-color:#1ee849;} h1{color:#66cdaa; font-size: 20px; letter-spacing: -1px; text-align: left; font-family: arial; margin: 10px 0px 0px 0px; line-height: 15px;} h2{color:#66cdaa; font-size: 15px; letter-spacing: -1px; text-align: left; font-family: arial; margin: 10px 0px 0px 0px;} p { font-weight: bold; color:#66cdaa ; font-family:times ; font-size: 12px; } /*all divs here*/ div { font-weight: normal; color:#66cdaa ; font-family: times; font-size: 12px; } div#header { clear: both; height: 50%; width: 100%; background-color: ; padding: 1px; } div#master { float: center; width: 100%; background-color:white; } div#left { float: left; width: 150px; background-color: black; } div#right { float: right; width: 150px; background-color:black; } div#middle { padding: 0px 160px 5px 160px; margin: 0px; background-color:black; } div#footer { clear: both; background-color:grey; } </style> <title>I like my nails</title> </head> <!--who ha --> <body> <div id="Head"><img src="pic location" width="100%" height="50%" alt="pic name " /> </div> <br /> <br /> <div id="master"> <div id="left"> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque purus justo, luctus vel, pretium quis, semper id, metus. Duis quis turpis id sapien hendrerit aliquam. Duis nisl. Sed fermentum magna ac velit. Integer tincidunt arcu ac elit. Fusce urna pede, dapibus id, mollis eu, tempor eget, nunc. Integer eros quam, scelerisque sagittis, ultricies non, pellentesque id, elit. Nam accumsan fermentum massa. Suspendisse vehicula ultricies nisi. Curabitur tempus bibendum mi. Donec eu lectus vitae dolor accumsan auctor. Cras quis dolor sed ipsum tristique pulvinar. Nam id quam vitae lectus tempor faucibus. Aliquam id nisi ut nisl semper blandit. Morbi pellentesque congue lacus. Sed sed metus. Quisque libero mi, malesuada ut, tincidunt et, fringilla ut, erat. Sed accumsan gravida dui. Donec enim turpis, mattis eget, adipiscing dictum, </div> <div id= "right"> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque purus justo, luctus vel, pretium quis, semper id, metus. Duis quis turpis id sapien hendrerit aliquam. Duis nisl. Sed fermentum magna ac velit. Integer tincidunt arcu ac elit. Fusce urna pede, dapibus id, mollis eu, tempor eget, nunc. Integer eros quam, scelerisque sagittis, ultricies non, pellentesque id, elit. Nam accumsan fermentum massa. Suspendisse vehicula ultricies nisi. Curabitur tempus bibendum mi. Donec eu lectus vitae dolor accumsan auctor. Cras quis dolor sed ipsum tristique pulvinar. Nam id quam vitae lectus tempor faucibus. Aliquam id nisi ut nisl semper blandit. Morbi pellentesque congue lacus. Sed sed metus. Quisque libero mi, malesuada ut, tincidunt et, fringilla ut, erat. Sed accumsan gravida dui. Donec enim turpis, mattis eget, adipiscing dictum, </div> <div id="middle"> <h1>Your Header Here</h1> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque purus justo, luctus vel, pretium quis, semper id, metus. Duis quis turpis id sapien hendrerit aliquam. Duis nisl. Sed fermentum magna ac velit. Integer tincidunt arcu ac elit. Fusce urna pede, dapibus id, mollis eu, tempor eget, nunc. Integer eros quam, scelerisque sagittis, ultricies non, pellentesque id, elit. Nam accumsan fermentum massa. Suspendisse vehicula ultricies nisi. Curabitur tempus bibendum mi. Donec eu lectus vitae dolor accumsan auctor. Cras quis dolor sed ipsum tristique pulvinar. Nam id quam vitae lectus tempor faucibus. Aliquam id nisi ut nisl semper blandit. Morbi pellentesque congue lacus. Sed sed metus. Quisque libero mi, malesuada ut, tincidunt et, fringilla ut, erat. Sed accumsan gravida dui. Donec enim turpis, mattis eget, adipiscing dictum, vestibulum id, nulla. Etiam consectetuer. Duis varius sem eu nisi. Praesent congue aliquam elit. Sed nec sapien. Curabitur lacinia, augue et hendrerit pharetra, sem magna lobortis quam, ac volutpat magna nisl vel libero. Duis magna. Vestibulum suscipit dui id magna. Suspendisse potenti. Etiam ut purus. Praesent tincidunt, elit bibendum eleifend tincidunt, arcu lacus vestibulum magna, et pellentesque est justo fringilla dui. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Curabitur elit. Mauris dignissim gravida massa. Vivamus eu odio. Proin euismod aliquet erat. In sed justo. Nulla a dolor ac tortor placerat elementum. Donec nisi. Donec lobortis. Cras ut augue. Donec enim. Aenean ut ligula ac arcu suscipit consectetuer. Duis nibh dui, mollis et, elementum ac, luctus eu, diam. Quisque risus nunc, pharetra in, commodo vel, vestibulum in, tellus. Praesent blandit sagittis nisi. In hac habitasse platea dictumst. Morbi interdum. Nullam tincidunt enim eu mauris. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Ut pretium, justo at pharetra suscipit, lorem nulla sodales dui, at ultrices quam tellus sit amet metus. Pellentesque consequat vestibulum sem. Cras consectetuer ipsum non augue. Praesent tellus nulla, sodales at, pretium ut, consectetuer vel, massa. Aenean risus orci, suscipit eget, ornare eget, lacinia sit amet, sem. Ut vulputate, metus quis posuere gravida, massa nisi commodo tellus, viverra cursus massa leo at purus. Morbi feugiat fermentum lectus. Aliquam blandit placerat velit. Aliquam vestibulum porta elit. In erat. Etiam non augue. Aenean luctus. Fusce arcu mauris, vehicula quis, ultrices sed, porta nec, dolor. Donec eros tellus, posuere nec, vehicula ut, venenatis at, diam. Curabitur hendrerit. Nulla enim enim, sodales nec, imperdiet ac, gravida vel, dolor. Etiam hendrerit, leo a mollis semper, elit metus tincidunt pede, sit amet porta turpis quam at diam. Proin sagittis nulla luctus elit. Curabitur non sapien. Proin eget orci. Curabitur tortor mauris, faucibus a, euismod fermentum, congue eget, nisi. Sed et purus. Curabitur eget quam et massa dignissim tristique. Cras elit. </div> </div> <div id="footer"><strong>Copy right 2008 Syd</strong> | Design by <strong>Syd</strong></div> <!--end of the stuff--> </body> </html> I have put this together but I don't know why it doesn't work. the link is: http://www.throughtheconcreterecords...tojournal.html if anyone could take a look at the page source, see what is there and what ISN'T showing up on the actual site and tell me why that would be so nice and awesome! anyone? -kevin throughtheconcrete@hotmail.com Why Does Alt Text in the html img Tag Not Work in Firefox? It works well in IE but not in Firefox. Anyone knows why? Thanks in advance. Hi, I'm not very advanced or anything, but I've coded websites before from scratch using Text Edit and an FTP client. I haven't done it for a few years and recently made a website with Cyber duck as the FTP client and SubEthaEdit as the external editor. I made a simple code for frames, and the site looks terrific on my Mac's Safari and Internet Explorer. When I checked it out on my friend's PC, it's just one big color background and nothing else. It also doesn't work on Mac's Firefox. I don't know what I did wrong, and how to fix the code to make it work on PCs or Firefox. Do PCs not recognize code that Macs do? Is there a way to change it? It's probably my fault, I just don't know what it's missing. I'd appreciate any help anyone has to offer, because I'm clueless and disappointed about it. Thanks, Jenny <a href="http://zentaur.zed.ro/?hero=CharName" title="Legend of Mir 3 server zentaur - Free MMORPG"><img src="http://zentaur.zed.ro/zb-box.jpg" width="150" height="200" border="0" alt="Legend of Mir 3 server zentaur - Free MMORPG"></a> HI need help to editing the template form that can't work. below is the forms code, some one know what to sit or add any for make the form work. <td valign="top" width="270" style="height:100% "> <!--webbot BOT="GeneratedScript" PREVIEW=" " startspan --><script Language="JavaScript" Type="text/javascript"><!-- function FrontPage_Form1_Validator(theForm) { if (theForm.Name.value == "") { alert("Please enter a value for the \"Your full name\" field."); theForm.Name.focus(); return (false); } if (theForm.Email_address.value == "") { alert("Please enter a value for the \"E-mail address\" field."); theForm.Email_address.focus(); return (false); } if (theForm.Message.value == "") { alert("Please enter a value for the \"Your message\" field."); theForm.Message.focus(); return (false); } return (true); } //--></script><!--webbot BOT="GeneratedScript" endspan --><form method="POST" name="FrontPage_Form1" action="mailto:support@itacstudio.com" onSubmit="return FrontPage_Form1_Validator(this)" webbot-action="--WEBBOT-SELF--" language="JavaScript"> <!--webbot bot="SaveResults" startspan S-Email-Format="TEXT/PRE" S-Email-Address="support@itacstudio.com.com" B-Email-Label-Fields="TRUE" B-Email-ReplyTo-From-Field="TRUE" S-Email-ReplyTo="Email_address" S-Builtin-Fields="REMOTE_NAME HTTP_USER_AGENT" S-Form-Fields="Name Email_address Telephone Message " U-Confirmation-Url="index-4.html" --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" --> <table cellpadding="0" cellspacing="0" border="0" style="height:100% "> <tr> <td valign="top" width="270" height="125"> <div style=" margin-left:0px; margin-top:0px "><a href="index-4.html"><img src="images/p4.jpg" alt="" border="0" width="270" height="122"></a></div> </td> </tr> <tr> <td valign="top" width="270" style="background-image: url('images/5_bg.gif'); background-repeat: no-repeat; background-attachment: scroll; background-color: #E7E7E7; height: 100%; background-position: Right 100%"> <div style=" margin-left:28px; margin-top:21px "><img src="images/5_w3.gif" alt="" border="0" width="123" height="17"></div> <div style=" margin-left:30px; margin-top:11px; margin-right:20px; line-height:14px " class="b2">Your full name:</div> <div style="margin-left:30px; margin-top:0px;"><!--webbot bot="Validation" S-Display-Name="Your full name" B-Value-Required="TRUE" --><input type="text" class="b" style=" width:217px; height:20px; border-style:solid; border-width:1px; border-color:#BEC0C2; background-color:#E7E7E7 " size="20" name="Name"></div> <div style=" margin-left:30px; margin-top:4px; margin-right:20px; line-height:14px " class="b2">E-mail address:</div> <div style="margin-left:30px; margin-top:0px;"><!--webbot bot="Validation" S-Display-Name="E-mail address" B-Value-Required="TRUE" --><input type="text" class="b" style=" width:217px; height:20px; border-style:solid; border-width:1px; border-color:#BEC0C2; background-color:#E7E7E7 " size="20" name="Email_address"></div> <div style=" margin-left:30px; margin-top:4px; margin-right:20px; line-height:14px " class="b2">Your telephone:</div> <div style="margin-left:30px; margin-top:0px;"><input type="text" class="b" style=" width:217px; height:20px; border-style:solid; border-width:1px; border-color:#BEC0C2; background-color:#E7E7E7 " size="20" name="Telephone"></div> <div style=" margin-left:30px; margin-top:4px; margin-right:20px; line-height:14px " class="b2">Your message:</div> <div style="margin-left:30px; margin-top:1px;"><!--webbot bot="Validation" S-Display-Name="Your message" B-Value-Required="TRUE" --><textarea cols="35" rows="35" class="b" style=" width:217px; height:144px; border-style:solid; border-width:1px; border-color:#BEC0C2; background-color:#E7E7E7; overflow:hidden " name="Message"></textarea></div> <div class="b" style="width: 84; height: 19; margin-left: 180px; margin-top: 3px"><input border="0" src="images/button_submit.jpg" name="I1" width="55" height="13" type="image"></div> </td> </tr> </table> </form> I have an html web page that is the look I want, we'll call it script A And I have a log-in script with the functionality I want, we'll call it script B I'd like help combining the top part of script A into the top part of script B, so that the functionality script (B) will have the header look of script A. So below you'll see the code from the top of script A & B. I'd like the header and images from script A to appear/fit into the top part of script B. Thanks for your help. Script A Code: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>WTAhtml</title> <style type="text/css"> body {background-color: #ebebeb;} #container { width: 830px; margin-left: auto; margin-right: auto; background-color: #FFFFFF; } #left_column { border: 1px solid #999999; float: left; width: 230px; margin-top: 5px; margin-right: 10px; margin-left: 20px; margin-bottom: 40px; padding-left: 10px; padding-right: 10px; padding-top: 5px; } #header_table { width: 100%; border-collapse: collapse; } .header_top_tdl { padding: 0px; margin: 0px; border-bottom-style: solid; border-bottom-width: 10px; border-bottom-color: #b7b7b7; background-color: #800000; width: 150px; border-collapse: collapse; border-right-width: 0px; border-left-width: 0px; } .header_top_tdr { border-bottom-style: solid; border-bottom-width: 10px; border-bottom-color: #b7b7b7; background-color: #800000; border-right-width: 0px; border-left-width: 0px; } #right_column { float: right; width: 500px; padding-right: 15px; } #footer { margin: 20px; padding: 3px; clear: both; font-family: Arial, Helvetica, sans-serif; color: #FFFFFF; background-color: #800000; font-size: 14px; } .white_text { background-color: #800000; color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: bold; } .form_row { font-family: Arial, Helvetica, sans-serif; font-size: 14px; } .link_p { margin-left: 20px; vertical-align: middle; font-family: Arial, Helvetica, sans-serif; font-size: 16px; } .link_p img { vertical-align: middle; margin-right: 25px; } .link_p a { text-decoration: none; color: #000000; } .link_p a:hover { color: #009933; } </style> </head> <body> <div id="container"> <div id="header"> <table id="header_table"> <tr> <td class="header_top_tdl"> </td> <td class="header_top_tdr"> </td> </tr> <tr> <td colspan="2"><div align="center"><img src="images/img11.jpg" height="134" width="461"> <img src="images/topimg2.jpg" height="160" width="309"></div></td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </div> <div id="content"> Script B Code: <html><head> <title>TEST</title> <script src="java.js" type="text/javascript"></script> <link rel="STYLESHEET" type="text/css" href="styles.css"> </head><body bgcolor="#ffffff"> <br /> <table width="75%" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000" style="border: solid 1px;"> <tr> <td style="padding: 20px;"> <table width="100%" cellpadding="0" cellspacing="0" border="0"><tr> <td>TEST</td> <td align="right"> </td> </tr></table> </td> </tr></table> <br /><br /> <table width="75%" align="center" cellpadding="0" cellspacing="0" bordercolor="#800000" style="border: solid 1px;"> <tr bgcolor="White"> <td> <table height="26" cellpadding="0" cellspacing="0" border="0" width="100%" bordercolor="#800000" background="img/_example/bg_tb1_.gif" width="100%"><tr> <td width="200"><img src="img/_example/pixel.gif" width="200" height="1" alt="" border="0" /></td> <td width="100%"> <table border="0" width="100%" align="right" cellpadding="2" cellspacing="0"><tr> </tr></table> </td> </tr></table> </td> </tr> <tr><td height="1" bgcolor="#d4d4d4"><img src="img/pixel.gif" width="1" height="1" alt="" border="0"></td></tr> <tr> |