HTML - Problems In Creating Arithmatic Operations In Html
Hi there,
I have problems in HTML coding.......in creating arithmatic operations in html. Here is the part of the code: <TD Width="22%" align="center"> <b> <FONT face="arial"> <!--variable--> </FONT> </b> </TD> <!--variable--> is a measurement numerics, let's say 2.3, it comes from a measurement sensor. The intention is to multiply <!--variable--> with a constant, let's say 2. Hence the outcome is 4.6...... How should i go about doing it? Thanks and cheers........... Similar TutorialsHi, First, I have to say I'm new to html, so don't be angry on me, please second, I don't know if this is the right place to ask my question, feel free to slap me if I've done wrong I wnated to place a textbox in my blog in blogger. So I wrote these html codes: HTML Code: <div style="margin: 5px 20px 20px;"> <div class="smallfont" style="margin-bottom: 2px;"> </div> <pre class="alt2" dir="ltr" style="border: 1px inset; height: 338px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 600px;"> HERE I WILL PLACE MY TEXT , A VERY LONG TEXT </pre> </div> the result was a textbox with a slider, but the slider doesn't move , can anyone tell me what is the problem thanks hey, I have problems creating a database with html can someone guide me? I am assigned to build a site for a company and i need to do a database for all their products. I am Class Vth Student and need your help in designing the html page .I need to create a webpage displaying different names with addresses.the height and width of table should be of 120 pixel.border thickness is 5 pixel.border shud be red in color and bkground shud be grey. Hey there, Say I want to create a website by myself, using my own HTML code. How would I do this? I am pretty good with HTML, and know quite alot. But when it comes to finding somewhere to place all the code, it confuses the hell out of me lol. So, a few questions. - What programme is the best for writing your code into? - Once I have saved the code in this programme, how do I upload it through the FTP? (like, where do I place it?) - Is that it, or is there more to it? Cheers guys, Preemo Hello all. I am new to this forum and really need some help creating a form. I am trying to help a friend out for a Charity Golf Tournament. I have some of the code completed already and cant figure out a few things. Basically the form I have created already has a drop down box for Golfers 1-4. I need help creating the rest of the form so when a person selects (from the drop down) either 1,2,3,or 4, then the form will display golfer information fields such as Golfer Name, Address, Email, Phone # only for the amount of golfers selected. ( I need the golfer information piece to be dependant on how many golfers are selected, etc) any help would be greatly appreciated. Here is the HTML code I have so far. (this is very basic) Here is what trhe current code produces: And here is the code: <th colspan="2" scope="row"> <table width="80%" border="0" cellspacing="0" cellpadding="5"> <tr> <th colspan="2" bgcolor="#3a4876" scope="row">This will be the Golf 2009 Page........ =)<p align="left"> <tr><td width="50%" valign="center"> <font face="helvetica,arial" size="" color="black"> 1. Number of Golfers</td><td width="50%" valign="center"> <Select NAME="#3a4876"> <Option Value="1">1 <Option Value="2">2 <Option Value="3">3 <Option Value="4">4 </Select> </td> </tr> <tr><td width="50%" valign="center"> <font face="helvetica,arial" size="" color="black"> 2. Golfer Name 1</td><td width="50%" valign="center"> <INPUT TYPE="text" NAME="f3002" maxlength="255" value="" size="20"> </td> </tr> <tr><td width="50%" valign="center"> <font face="helvetica,arial" size="" color="black"> 3. Golfer Name 2</td><td width="50%" valign="center"> <INPUT TYPE="text" NAME="f3003" maxlength="255" value="" size="20"> </td> </tr> <tr><td width="50%" valign="center"> <font face="helvetica,arial" size="" color="black"> 4. Golfer Name 3</td><td width="50%" valign="center"> <INPUT TYPE="text" NAME="f3004" maxlength="255" value="" size="20"> </td> </tr> <tr><td width="50%" valign="center"> <font face="helvetica,arial" size="" color="black"> 5. Golfer Name 4</td><td width="50%" valign="center"> <INPUT TYPE="text" NAME="f3005" maxlength="255" value="" size="20"> </td> </tr> <tr><td width="50%" valign="center"> <font face="helvetica,arial" size="" color="black"> 6. Shirt Size</td><td width="50%" valign="center"> <Select NAME="f3006"> <Option Value="S">S <Option Value="M">M <Option Value="L">L <Option Value="XL">XL <Option Value="XXL">XXL </Select> </td> </tr> <tr><td width="50%" valign="center"> <font face="helvetica,arial" size="" color="black"> 7. Golfer Address</td><td width="50%" valign="center"> <INPUT TYPE="text" NAME="f3007" maxlength="255" value="" size="20"> </td> </tr> <tr><td width="50%" valign="center"> <font face="helvetica,arial" size="" color="black"> 8. Golfer Phone number</td><td width="50%" valign="center"> <INPUT TYPE="text" NAME="f1001" maxlength="255" value="" size="20"> </td> </tr> </table> <center> </FORM> <INPUT TYPE="hidden" NAME="userid" VALUE="5929"> <INPUT TYPE="hidden" NAME="fno" VALUE="2"> <INPUT TYPE="hidden" NAME="wid" VALUE="5"> <INPUT TYPE="hidden" NAME="qno" VALUE="1"> </center> </form> </td> </tr></table> </td> <td width="1%" bgcolor="0033cc"> </td> </tr> <tr> <td width="1%" bgcolor="0033cc" bgcolor="0033cc" class="edge-bl" height="10"> </td> <td width="98%" bgcolor="0033cc"> </td> <td width="1%" bgcolor="0033cc" bgcolor="0033cc" class="edge-br" height="10"> </td> </tr> </table> </p> <p align="left"> </p> <p align="left"> </p> <p align="left"> </p> <p align="left"> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </th> </tr> <tr> <th width="61%" bgcolor="#3a4876" scope="row"> </th> <td width="39%" bgcolor="#3a4876"> </td></tr></table></th></tr> Hi There, I need some help creating a html cookie that collects information from a registration form I created in HTML. I then need to take that information and populate another form which is an invoice. So far I haven't been able to accomplish this on my own because I have the Regform.html, which already post info to a regform.php (this is what generates an email to me with the registration info). It is on that regform.php form they have the option to have a invoice created. Since I can't nest forms together I have to use this cookie method. The html cookies I have found online have not given me anything more then the generic cookie in which to place on someones pc. No knowledge of JS doesn't help. These are the fields below that need to link from the regform.html to the invoice.html form. I just realized that I have multiple lines on the invoice for multiple registrants but the same is not true on the regform. Even if I could get the first group of info to carry over, I could then edit the regform to add multiple registrants on the next lines. www.ahtcsonline.com/regform.html www.ahtcsonline.com/regform.php www.ahtcsonline.com/invoice.html Which Class: -drop down- Date of Class: # of Attendees: -drop down- Attendee Name: E-Mail: Company:* Address:* City:* State: -drop down- Zip:* Phone:* Hi, I am new to HTML coding and I would like to create a new search box which tells if that particular item can be found or not. Lets take an example of Cash on Delivery. Now there are close to 1500 pin codes where the option of cash on delivery is available. My question is how can I create a form which accepts a pin code and gives the result if the cash on delivery is available or not. Regards, Giridhar S Hi all, Basically, I'm an amatuer at this. I have created several websites, but most of them are through templates being edited on the likes of Dreamweaver. I have been creating my template, and I have finished the banner, then all the buttons directly underneith it. I have a background colour... and now I'm up to the the area the text is supposed to go into, directly under the buttons (home, contact, forums etc). I want this to be a different colour to the background colour, and for it to just be a box, 950pix wide, and go as high/low as I want it to depending on how much text is going on that particular page. I hope you all understand what I mean... I've got a feeling there is a possibility this might be a CSS issue, but I'm not 100% sure, so I didn't know which topic to put it under. Can anyone please help me? It would be much appreciated. I have been trying to figure this out on my own for hours now (I'm the type of person who doesn't like to ask for help ) Hi, I'm a beginner with HTML and am trying to generate stationary using HTML for Outlook2007. The below is what I have for my code and the look is actually very good. However, when I tab from the subject line to the body, the cursor ends up at the beginning of my centered image. From there, the image moves when I type. What I'm looking to have happen is for the image to be static (un-movable) and the cursor to actually start positioned below the image with a left justification. Does anyone have any ideas? Tiggy <html><head><title id="ridTitle">Citrus Punch</title> <style><!-- body { font-family: Arial, Helvetica; font-size: 12pt; font-style: bold; color: #ff6633; margin-top: 25px; margin-left: 25px; } --></style> </head> <body id="ridBody" background="background2.jpg"><center><img id="ridImg" src=KeaneLogo.jpg align=bottom></center> <p></p> <b><SPAN id="_AthCaret"></SPAN></b> <p></p> </body> </html> I've been trying to figure out how to create a drop down menu in place of the original navigation on my website. I found what I want to do I just need to know how to apply it. Here's the website with what I want to do: http://www.dynamicdrive.com/dynamici...roptabmenu.htm It's example 2. Code: <!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" xml:lang="en" lang="en"> <head> <title>|*|Doll Directory|*|</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <!-- Stylesheet --> <style type="text/css"> body { background: url(''); background-color: #FFFFFF; font-family: "Trebuchet MS"; font-size: 12px; line-height: 1.5em; color: #ffffff; letter-spacing: 1px; } #container { margin: 0 auto; border: 4px solid #FF0080; width: 722px; background-color: #FFFFFF; } #header { width: 722px; } #content { background-color: #FFFFFF; padding: 4px; width: 500px; text-align: left; margin-left: 0px; margin-top: -8px; } #sidebar { float: right; width: 212px; background-color: #FFFFFF; margin-right: 0px; margin-top: -8px; height: auto; padding: 4px; text-align: center; } #footer { clear: both; background-color: #FF0080; margin: 0px; width: 722px; height: 45px; text-align: center; } #bar { text-align: center; margin: 8px; padding: 12px; margin-left: 0px; background-color: #FF0080; margin-top: 0px; width: 700px; } a.nav:link, a.nav:visited, a.nav:active { text-decoration : none; font-family : Trebuchet MS; font-size : 10px; line-height : 12pt; text-align : center; color : #fa829a; font-weight : bold; background-color : #252525; cursor : default; text-transform : uppercase; padding : 5px; border-right : 5px solid #c15876; border-bottom : 1px dotted #7d7d7d; } a.nav:hover { color : #ffffff; background-color : #363636; border-right : 5px solid #d58fb4; border-bottom : 1px dotted #515151; } .site { font-family: Gabriola; font-size: 22px; font-weight: bold; color: #fa829a; } h1 { margin-top: 5px; text-align: left; color: #fa829a; font-family: Gabriola; font-size: 25px; font-weight: bold; padding: 5px; font-style: none; border-bottom: 1px dotted #535152; letter-spacing: 1px; } h1:first-letter { text-align: left; color: #fa829a; font-size: 25px; font-style: normal; font-weight: normal; } h2 { font-weight: bold; text-align: left; color: #fa829a; font-family: Gabriola; font-size: 18px; border-bottom: 1px dotted #8a8988; padding-bottom: 2px; margin-top: 7px; margin-bottom: 7px; } a:link,a:visited,a:active { text-decoration: none; font-family: Trebuchet MS; cursor: default; font-size: 11px; color: #fa829a; font-weight: normal; } a:hover { font-family: Trebuchet MS; font-size: 11px; text-decoration: none; color: #fa829a; background-color: white; padding: 1px; } b,strong { font-family: "Trebuchet MS"; font-size: 11px; font-weight: bold; color: #fa829a; } i,em { font-family: Gabriola; font-style: italic; font-size: 11px; color: #fa829a; } u { font-family: Gabriola; font-size: 11px; border-bottom: 1px dotted #add568; color: #fa829a; padding-bottom: 1px; text-decoration: none; } blockquote { width: 350px; margin: 8px; padding: 3px; background: #fff; border: 3px solid #413b31; cursor: default; color: #fa829a; } </style> </head> <body> <div id="container"> <!-- Header image --> <div id="header"> <img src="http://missdolldecade.awardspace.us/MDD_Banner.png" border="0" alt="" /> <div id="bar"> <div class="nav"><a href="http://missdolldecade.awardspace.us/index.html" class="nav"><font color="#FFFFFF">Home</font></a> <a href="http://missdolldecade.awardspace.us/rules.html" class="nav"><font color="#FFFFFF">Home</font></a> <a href="http://missdolldecade.awardspace.us/scores.html" class="nav"><font color="#FFFFFF">Home</font></a> <a href="http://missdolldecade.awardspace.us/round1.html" class="nav"><font color="#FFFFFF">Home</font></a> <a href="http://missdolldecade.awardspace.us/round2.html" class="nav"><font color="#FFFFFF">Home</font></a> <a href="http://missdolldecade.awardspace.us/round3.html" class="nav"><font color="#FFFFFF">Home</font></a> <a href="http://missdolldecade.awardspace.us/awards.html" class="nav"><font color="#FFFFFF">Home</font></a> <a href="http://missdolldecade.awardspace.us/judges.html" class="nav"><font color="#FFFFFF">Home</font></a> <a href="http://missdolldecade.awardspace.us/enter.html" class="nav"><font color="#FFFFFF">Home</font></a> <a href="http://missdolldecade.awardspace.us/links.html" class="nav"><font color="#FFFFFF">Home</font></a></div> </div> <!-- Sidebar --> <div id="sidebar"> <h2>Tagboard</h2> <!-- Begin ShoutMix - http://www.shoutmix.com --> <iframe title="missdolldecade" src="http://www6.shoutmix.com/?missdolldecade" width="207" height="400" frameborder="0" scrolling="auto"> <a href="http://www6.shoutmix.com/?missdolldecade">View shoutbox</a> </iframe> <br /><a href="http://www.shoutmix.com" title="Get your own free shoutbox chat widget at ShoutMix!">ShoutMix chat widget</a><br /> <!-- End ShoutMix --> </div> <!-- Main content --> <div id="content"> <h1>Updates</h1> </div> <!-- Footer --> <div id="footer"> <a href="http://missdolldecade.awardspace.us">Miss Doll Decade</a> (C) Amber Riley 2010<br> <a href="http://missdolldecade.awardspace.us/contact.html">Contact MDD</a> </div> <!-- Container End --> </div> </div> </body> </html> Hello everyone I need to create a html form that after completing will generate .doc file that will be saved on client's PC. I found this -> http://www.htmlforums.com/html-xhtml...oc-103591.html but seems because it's no one's paying attention so I decided to repost the question, i tried things in above thread but they don't seem to work for me at all and i tried different browsers even, i hit submit and form resets to default values and... that's it no .doc file is generated. Any help in my case would be very appreciated, also i don't know too much outside of HTML Hi, I am currently creating a HTML e-newsletter, and need the frame/template to essentially remain static. In other words, when the recepient alters the size of their preview/display panel in their email program (eg Outlook), the column widths/spacing and text size remains the same. Could anyone please advise as to how this is done? Thanks! Hi Team, I'm having problems formatting images in HTML. Here is my site: http://ledtvprices.org.uk/ I would like to "left align" the merchant logo buttons at the top so that they all sit above the H1 Tag and start from the left to the right, rather than the middle of the page. I'd also like to left align all the tv images and space them all out evenly. How do I achieve this in HTML? Thanks. Sunil. Reply With Quote Hello members of HTML forum. I'm having some troubles with some HTML. I want to remove the space between 2 images, but if I remove to <p> tag, the website will just become chaos. The area I want to remove: Source: Quote: <body bgcolor="black"> <center> <img alt="Diablo" src="image1.jpg"><a href="http://adscendmedia.com"><img src="image2.jpg" alt="Download" /></a><img alt="Diablo" src="image3.jpg"> <p> <img alt="Diablo" src="frame1.jpg"><iframe width="822" height="536" src="http://www.youtube.com/embed/f_k9vL18YCQ" frameborder="0" allowfullscreen></iframe><img alt="Diablo" src="frame2.jpg"> <img alt="Diablo" src="image4.jpg"> Does anyone know how to fix this problem? Thanks I'm trying to modify my template on my website - as I've found one I want to use as a base (It's open source, and we've got permission to edit it), but I don't understand a word of what is in the HTML as most of it is PHP, with maybe the odd div container thrown in. If you visit the site, he www.omgpcgames.com, all I want to do is stretch that header out across the top, instead of being a small image on the right hand side. I'm aware this will involve re-ordering modules, so I'm not overly sure about what I am doing. If anyone can make any sense out of this, please can you give me a pointer in the right direction? HTML Code: * You can use and modify this template any way you like, but it would be * kind to have a link back to www.gameon.be, doesn't matter how/where... */ defined( '_JEXEC' ) or die( 'Restricted access' ); ?> <!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="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>"> <head> <jdoc:include type="head" /> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" /> <!--[if IE 7]> <style type="text/css">.vertmenu li ul { float: left; position: relative; bottom: 15px; }</style> <![endif]--> <!-- IE 7 fix for vertical header menu; I think FF 2 also needs this, but since I don't use this and don't like hacks... --> <!--[if IE 6]> <style type="text/css">.popular { position: relative; bottom: 99px; }</style> <![endif]--> <!-- IE 6 fix for user4, which needs to be on same height as user3 --> </head> <body> <!-- header --> <div class="header"> <!-- user1 (fex: menu (enable 'always show submenu items')) --> <?php if ($this->countModules('user1')) : ?> <div class="<?php echo $this->params->get('gomenuType'); ?>"> <!-- horizontal of vertical (left/right) --> <jdoc:include type="modules" name="user1" style="xhtml" /> </div> <?php endif; ?> <!-- user2 (fex: banner) --> <?php if ($this->countModules('user2')) : ?> <div class="banner"> <jdoc:include type="modules" name="user2" style="xhtml" /> </div> <?php endif; ?> </div> <!-- content --> <div class="contentcontainer"> <!-- left column --> <?php if ($this->countModules('left')) : ?> <div class="containerleft"> <!-- title (set in template menu) --> <div class="titlecontainer"><?php echo $this->params->get('leftMenuTitle'); ?></div> <!-- show content set to left --> <div class="stylemenu"> <jdoc:include type="modules" name="left" style="xhtml" /> </div> </div> <?php endif; ?> <!-- right column --> <?php if ($this->countModules('right')) : ?> <div class="containerright"> <!-- title (set in template menu) --> <div class="titlecontainer"><?php echo $this->params->get('rightMenuTitle'); ?></div> <!-- show content set to right --> <div class="stylemenu"> <jdoc:include type="modules" name="right" style="xhtml" /> </div> </div> <?php endif; ?> <!-- middle column: size of middle column depends on the use of left/right columns --> <div class="containermiddle_<?php echo $this->countModules('left')>0; ?>_<?php echo $this->countModules('right')>0; ?>"> <!-- title (set in template menu) --> <div class="titlecontainer"> <?php if ($this->params->get('middleMenu')=='breadcrumbs') { ?> <jdoc:include type="modules" name="breadcrumbs" style="xhtml" /> <?php } else { echo $this->params->get('middleMenuTitle'); } ?> </div> <?php if ($this->countModules('user3 or user4')) : ?> <div class="containerlatestpopular"> <!-- user3 (fex: latest articles) --> <?php if ($this->countModules('user3')) : ?> <div class="latest"> <jdoc:include type="modules" name="user3" style="xhtml" /> </div> <?php endif; ?> <!-- user4 (fex: most read articles) --> <?php if ($this->countModules('user4')) : ?> <div class="popular"> <jdoc:include type="modules" name="user4" style="xhtml" /> </div> <?php endif; ?> </div> <?php endif; ?> <!-- user5 (fex: newsflash) --> <?php if ($this->countModules('user5')) : ?> <div class="newsflash"> <jdoc:include type="modules" name="user5" style="xhtml" /> </div> <?php endif; ?> <!-- show articles --> <jdoc:include type="component" style="xhtml" /> <!-- footer --> <div class="footer"> <span>template by<a href="http://www.gameon.be" target="_blank">www.gameon.be</a></span> <?php if ($this->countModules('footer')) : ?> <jdoc:include type="modules" name="footer" style="xhtml" /> <?php endif; ?> </div> </div> </div> </body> </html> ok i know i just made a thread very similiar to this one, and yet it isnt. i found this new code on a site and i want to use it. i have added my own banner, my own buttons and now i want the the button to link to the "Content goes here" place. which seems impossible for me! i can only make the links open up a new window, cant make it open up on same page in the spare fields of the design. any help is appreciated. the reason i change to this is that this should be better for more browsers than the other design i hade picked first. <html> <table cellspacing="1" cellpadding="0" border="0" bgcolor="black" id="shell" height="250" width="400"> <tr height="50"><td colspan="2" bgcolor="white"> <table title="Banner" id="banner" border="0"> <tr><td><img src="banner.gif" width="600" height="200"></td></tr> </table> </td></tr> <tr height="400"><td bgcolor="white"> <table id="navigation" title="Navigation" border="0"> <tr><td><a href="home.htm" target="content"><img border="0" src="homeknap.gif" width="80" height="21"></a></td></tr> <tr><td><a href="about.htm" target="content"><img border="0" src="joinusknap.gif" width="80" height="21"></a></td></tr> <tr><td><a href="join.htm" target="content"><img border="0" src="aboutknap.gif" width="80" height="21"></a></td></tr> </table> </td><td bgcolor="white"> <table title="Content" id="content" border="0"> <tr><td>Content goes here</td></tr> </table> </td></tr></table> </html> hi i got a problem on my website.. coz when i browse my site using mozilla firefox it all happens ok.. all the buttons were ok. it displayed sumthin on the iframe.. but when i uses the IE7 i found out that theres no display on the frame when i click the home button.. please help.. i check the source but i didnt find any problem. help me.. heres the site please check it.. http://www.radissonagro.com This is a table related issue. Is it possible to have one long row for your first row and then have 2 small columns on the 2nd row? I tried
Code: <table border="1" align=center cellspacing="1"> <tr><td background="./images/topbanner.gif" width="512" height="22"></td></tr> <tr><td bgcolor="#0099FF" width="22" height="22"></td><td> </td></tr> </table> And that didn't appear to work..it makes another column on the first row.. Hi! I'm pretty new to html, I'm trying to build my own fairly simple website using 123 reg Instant site and I want to make it from scratch with my own banners and buttons etc. I've been playing around putting some images up on the webpage, but I'm having problems getting the images to stay put, they move around when the browser window gets made smaller/bigger. heres the link to the website http://handbagshandbagshandbags.co.uk/ Any help would be really appreciated! |