HTML - This Html Doesnt Work - Help!!!!
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 Similar TutorialsHeej 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 sorry i fixed the problem as soon as i posted so i deleted it im pat btw On one of my web pages im currently writing one Image wont show up and i have no idea why here is an extract of the code Quote: <table width='100%' border='0'> <td width='33.333%'></td> <td width='33.333%'> <img scr='http://chaos-realm.servegame.org/images/under-construction.gif' align='center' alt="Error... Unable to load Picture"> </td> <td width='33.333%'></td> </table> And it always shows the Alt text not the picture i have practically the same code in a different area Quote: <table width='100%' border='0'> <td width='33.333%'> </td> <td width='33.333%'> <img scr='http://chaos-realm.servegame.org/images/under-construction.gif' align='center' alt="Error... Unable to load Picture"> </td> <td width='33.333%'> </td> </table> And that one works, so im wondering why wont the first one work, ive tried it as a BMP and JPG image aswell. If you visit the website in the first code youll see the mage does exist Any Help would be amazning, Thanks in advance, Eldara Hi guys, As a person with VERY little HTML knowledge I getting very frustrated with a situation "I'm sure its a simple fix" that I hope you can help me with - there are 2 issues:- 1 - when you click on the Orange button on my website in IE the link doesnt work "it works when you right click - open link in a new tab" 2 - when you click on the Orange button on my website in Firefox - 2 tabs open instead of 1?? Any help would be very much appreciated - the link is http://www.twessential.com/newhome.html. If any files are need please let me know Many thanks hi, I have built a web site but have had to change the way products will be viewed so I looked up the image text feature which was brilliant. it works fine in all browser except for explorer. My code is below for people to view as I know that I have made a mistake but cant see where the problem is, I have highlighted the image text feature in red <HTML> <HEAD> <TITLE>DecTec - Suppliers of quality paint applicators</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="keywords" CONTENT=" dectec, dec, tec, dec-tec, contractors, decorating, sundries, equipment, supplies, items, sales, seller,"> <META NAME="description" CONTENT="DecTec is a leading supplier of quality paint application and associated products to speacialist contractors and applicators of paints and coatings."> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> <script src="js/dw_event.js" type="text/javascript"></script> <script src="js/dw_viewport.js" type="text/javascript"></script> <script src="js/dw_tooltip.js" type="text/javascript"></script> <script src="js/dw_tooltip_aux.js" type="text/javascript"></script> <script type="text/javascript"> dw_Tooltip.defaultProps = { wrapFn: dw_Tooltip.wrapImageOverText } dw_Tooltip.content_vars = { L1: { img: 'images/paste_table.jpg', txt: '', w: 100 // width }, L2: { img: 'images/pole_sander_head.jpg', txt: '', w: 100 }, L3: { img: 'images/ladder_rack_tites.jpg', txt: '', w: 100 } } </script> </HEAD> Anyone know what the problem is. My website works perfect in internet explorer. But when I type in the web address in safari, the page loads all the code, not the website. I'm guessing it has something to do with this code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> Any suggestions? Is it this or something else maybe? hello I wanted to make a pop up window for a link: so i put this btw <head> and </head> Code: <script language="javascript" type="text/javascript"> <!-- var win=null; onerror = stopError; function stopError(){ return true; } function o1281309901(){ myleft=(screen.width)?(screen.width-874)/2:100;mytop=(screen.height)?(screen.height-622)/2:100; settings="width=874,height=622,top=" + mytop + ",left=" + myleft + ",scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no,dependent=no"; win=window.open("http://www.christianwalser.com/videoplayer","",settings); win.focus(); } // --> </script> and then this btw <body> and </body> for the link to open the pop up: Code: <a href="javascript:o1281309901();">LINK It works fine with IE but not with other browser like Safari and FF: --> Its then resizable and the height and wheight arent correct anymore Thank you very much for your help Hi Guys, I have a problem where my dropdown menu is hidden behind a flash element. Google tells me this is common problem. If founds a few solutions that recommended adding <param name="wmode" value="opaque" /> or <param name="wmode" value="transparent" /> ...to my parameters. but this doesnt work. im using a super accessible type dropdown... the menu is essentially a list <li> with some JS behind it. Heres my link http://www.roxywebdesign.com/gateway/ Any suggestion are be welcome. If i cant get this fixed then my backup plan is the use JSCookMenu which apparently does work. But ive already completely chanded the code for my menu once and would like to avoid that this time. Thanks guys!! Safari doesnt display html site as it should be, instead Safari shows just the html code...: what can i do? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="de-ch" http-equiv="Content-Language" /> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <title>Ohne_Titel_1</title> </head> <body> <p>TEST</p> <img src="http://blabla.com/image.jpg" /> </body> </html> This is just a sample html code, and its saved as .html file on the server... so what could it be? (the main page is displayed correct by the way...) Thank you very much! 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> 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> 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> 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 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 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> <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, 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. 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> Hi all, I have a question,my code is running properly ,when i copy this and paste in Microsoft outlook express its not working. I have a link to a section of page when i click its heading.My Page is quite big one,so i wrote headings and once its clicked it should go to the section of content. my code ------------ HTML Code: <html> <body> <div id="wrapper"> <div id="IUbanner"> <a href="http://www.indiana.edu"><img src="../images/iu_crimson.gif" alt="Indiana University" /></a> </div> <div id="header"> <a href="http://uits.iu.edu"><img src="../images/UITSheader.gif" alt="University Information Technology Services" /></a> </div> <h1 id="subheader"><a href="http://webmaster.iu.edu"><img src="../images/wmheader.gif" alt="IU Webmaster" border="0"/></a></h1> <div id="centerwrap"> <div id="content"> <!-- Insert content here --> <a name="TOP"></a> <H3>Getting Started</H3> <H5>Table of Contents</H5> <ul> <a href="#a">Introduction</a> <br> <a href="#b">Getting an Account</a> <br> <a href="#c">Getting the Tools</a> <br> <a name="a"></a> <hr> <h5>Introduction</h5> <p> If you are new to developing Web pages, this brief overview will help you get started. It outlines the steps you will take to publish your Web pages on IU's central Web servers (<tt>Veritas/Champion</tt>). If you are familiar with the process of creating and publishing Web pages, see the Webmaster's "<a href=../tool_guide_info/tgcat.shtml>Tools and Guides</a>" page to learn more about improving your Web pages and for help with the tools offered for the central web server accounts.</p> <P> <CENTER><A HREF="#TOP">Return to Top of Page</A></CENTER></p> <A NAME="b"></A> <hr> <h5>Getting an Account</h5> <P> Before you can put Web pages on IU's central Web servers (<tt>Veritas/Champion</tt>), you need to get an account. To see if you are eligible to have an account on an IU web server and to learn how to get an account if you are eligible, see the Webmaster's <a href="../account_info/ac.shtml">Accounts</a> page. </p> <P><CENTER><A HREF="#TOP">Return to Top of Page</A></CENTER> </p> <A NAME="c"></A> <hr> <h5>Getting the Tools</h5> <p> Once you have an account on the Web server, the next step is to get the tools you will need to create, upload, and view your Web pages. If you do not already have these tools, you can get most of the them from <a href="http://iuware.indiana.edu/">IUware Online</a>. For information on obtaining the IUware CD please see the Knowledge Base entry: <a href="http://kb.iu.edu/data/amij.html">At IU, where can I get the IUware CD?</a></p> <p> Here are the tools you will need to get started: </p> <ul> <li><strong>A text editor or word processor</strong>: To create your Web page, you'll need a text editor or word processor. Windows computers come with a text-editor called "Notepad" and Macintoshes come with a text editor called "Simple Text." </div><!-- end footer --> </div><!-- end wrapper --> </body> </html> Hi, I have to display the results in 20 columns, in that 14 columns are frozen, rest of them are scrollable, when I give table widht in % then scrollbar presents to view the data in Firefox. If I see the same in IE, it doesnt show all the data, and there is no scrollbar. If I give the table width in px form then to some extent I am able to see the scrollbar in IE, and minimum pixel I had to give is 3000 and above. Is there any common solution to me to fix this so that I can see same both the browsers. We would like to have solution, width in % not in px. Please let me know the solution for this. I have attached the zip file for your reference to see the code, please run in IE and Firefox and check it. Advanced thanks, Venkat |