Jump to content

Richard Principal

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by Richard Principal

  1. Thank you justsomeguyIt works, sorry I could not reply earlier
  2. hi it seems the variable filled out on the HTML ar not passed over to the PHP page <form method="post" action="processfeedback.php"><table><tr><td>Enter your name: <br /><input type="text" name="name" size="45" /><br /></td><td>Enter your email address:<br /><input type="text" name="email" size="45" /><br /></td></tr><tr><td colspan="2">Enter your feedback below:<br /><textarea name="feedback" rows="5" cols="80"></textarea><br /><br /><input type="submit" value="Click here to Email your comments." style="background-color:#ffff99" /></td></tr></table></form> then on the processfeedback.phpis <? $name=trim($name); $email=trim($email); $feedback=trim($feedback); $toaddress = "some@address.com"; // the default value $subject = "Feedback from web site"; $mailcontent = "Name: ".$name."\n" ."Email: ".$email."\n" ."Comments: \n".$feedback."\n"; mail($toaddress, $subject, $mailcontent); ?> I wonder if a updated PHP version at the web site stops it working
  3. The best I could think off is to print "yellow"so now "print.css" ish4.center-red2 {color:#ffff00; font-size:20%;font-weight:100}Well it will be next time I upload that file to the web site,When I printed page three now, you would not no it was there if you did not try and find it, otherwise it is a little bit obvious.--- more ------ Edit note ---Oh what to heck I have just uploaded it.
  4. At http://www.dubdubdub.net.nz/running/ there is a picture of a big Afghan biscuit.below is the words "Maybe a little smaller than normal size" However when I printed the page the first time all the text to the left of the picture took up a whole page or more in a great big long narrow column, it would of been better if the text could of wrapped around the picture (I think for some reason that did not work out)Both the text and picture is in a table, So what I did is put this in the head<link rel="stylesheet" type="text/css" href="../misc/site.css" media="screen" /><link rel="stylesheet" type="text/css" href="../misc/print.css" media="print" />and the needed part in "site.css" isimg.afghan {width:480px; height:350px}h4.center-red2 {color:red; text-align:center;font-weight:500}and the needed part in "print.css" isimg.afghan {width:240px; height:175px}h4.center-red2 {color:#ffffff; font-size:20%;font-weight:100}So on the printed version both pictures are printed ½ sizeBut I can not get rid of the text "Maybe a little smaller than normal size" maybe I don't need that line.There is no need to print the page for a example you can click on to file =>print preview
  5. First go to http://www.w3.org/Math/and see if the "test page" works If not, you have to go to http://www.mozilla.org/projects/mathml/fonts/ to download and install the MathsML fonts(HOW MANY PEOPLE (visitors) ARE GOING TO DO THAT WHEN YOU HAVE MATHSML AT YOUR WEB SITE)The test at http://www.w3.org/Math/ failed and I got the following window pop-upTo properly display the MathML on this page you need to install the following fonts:CMSY10, CMEX10, Math1, Math2, Math4.For further information see:http://www.mozilla.org/projects/mathsML/fontsWell I went to the web site and downloaded "mit-mathml-fonts-1.0-fc1.msi" it is about 2 meg in file size (for windows 98). Just for interest I did a file search on math*.* and found I now have lots of math*.ttf fonts in the windows\fonts folder. Now the test at http://www.w3.org/Math/ works I just need to write the file,
  6. I dont think MathML is complex,But it does seem to be a closely guarded secret,or is it I have not had time to do my homework yet I will try something and let you all know with my own brief tutorial (if it works)
  7. Good, good, that is doing it with cascade style sheets which I have already at the web site, and I should of been able to work that out myself,But if we go to your link you gave and go to "power" you see<apply> <power/> <ci> x </ci> <cn> 3 </cn></apply>all I can get is x3Hint:I have a feeling you can NOT do this on a HTML page!You have to put something in say a *.XML page and have say a XSL file
  8. Any one done mathsML I have been to http://www.w3.org/Math/it tells you a lot, but then nothing? :)like how to get started, not like w3schools that is a very good web site it gives you the works, step by step. What I would realy like is to put a bar above a letter, like a C with a bar on top so in electronics logic it reads as not C.Thanks
×
×
  • Create New...