Jump to content

xhtmlchamps1

Members
  • Posts

    40
  • Joined

  • Last visited

Posts posted by xhtmlchamps1

  1. $sql="INSERT INTO discussions (name, desc, maker)VALUES('".$_POST[name]."', '".$_POST[desc]."', '$id')"; This is the right way to write you can also write in this manner $sql="INSERT INTO discussions (name, desc, maker)VALUES('".$_POST['name']."', '".$_POST['desc']."', '$id')"; ('".$_POST['name']."' this particular key word can accepts the values perfectly.

  2. <p>Here is the code</p><p> </p><div><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></div><div><html></div><div><title>new project</title></div><div><head></div><div></head></div><div><body onload="loop()"></div><div> </div><div> </div><div><script type="text/javascript"></div><div>function loop(){</div><div>var names = ['john','gail','julie','jason','zoe'];</div><div>var allnames = names.length;</div><div> </div><div>for (var i = 0; i < names.length; i++) {</div><div> </div><div> </div><div> document.write(names+"<br>");</div><div> </div><div>}</div><div> </div><div>}</div><div></script></div><div></body></div><div> </div><div> </div><div> </div><div> </div><div></html></div><div> </div>

  3. Hello everyone.I need your help people. Here I have a code: in html <div class="word-box"> <table><tr><td colspan="2"><h1>title</h1></td></tr> <tr><td style="width:150px";><p>some text </p></td> <td><p>some text </p></td></tr></table></div> in css .word-box{margin-top:-255px;margin-left:0px;width:300px;height:350px; border-width:2px;border-style: solid;border-color: #5492D9;background-image:url('images/61.jpg');} .word-box img{opacity:0.4;} BUt image doesn't display transparent.What is wrong in my code? Thanks :)
    try this code. for sure it will help you. opacity:0.4;filter:alpha(opacity=40) mention clearly how much size you want for your image in opacity.
    • Like 1
  4. <p>

    Hello everyone. I need your help people. Here I have a code: in html <div class="word-box"> <table> <tr> <td colspan="2"> <h1>title</h1> </td> </tr> <tr> <td style="width:150px";> <p>some text </p> </td> <td> <p>some text </p> </td> </tr> </table> </div> in css .word-box { margin-top:-255px; margin-left:0px; width:300px; height:350px; border-width:2px; border-style: solid; border-color: #5492D9; background-image:url('images/61.jpg'); } .word-box img { opacity:0.4; } BUt image doesn't display transparent. What is wrong in my code? Thanks :)
    Hello everyone. I need your help people. Here I have a code: in html <div class="word-box"> <table> <tr> <td colspan="2"> <h1>title</h1> </td> </tr> <tr> <td style="width:150px";> <p>some text </p> </td> <td> <p>some text </p> </td> </tr> </table> </div> in css .word-box { margin-top:-255px; margin-left:0px; width:300px; height:350px; border-width:2px; border-style: solid; border-color: #5492D9; background-image:url('images/61.jpg'); } .word-box img { opacity:0.4; } BUt image doesn't display transparent. What is wrong in my code? Thanks :)
    Hello everyone. I need your help people. Here I have a code: in html <div class="word-box"> <table> <tr> <td colspan="2"> <h1>title</h1> </td> </tr> <tr> <td style="width:150px";> <p>some text </p> </td> <td> <p>some text </p> </td> </tr> </table> </div> in css .word-box { margin-top:-255px; margin-left:0px; width:300px; height:350px; border-width:2px; border-style: solid; border-color: #5492D9; background-image:url('images/61.jpg'); } .word-box img { opacity:0.4; } BUt image doesn't display transparent. What is wrong in my code? Thanks :)
    </p><p> </p><p> </p><p> </p><p> </p><p> </p><p>use this code for sure you get an image as transparency as you required.</p><p> </p><p> </p><div class="msg Nth">opacity:0.4;<br />filter:alpha(opacity=40)</div><div class="msg Nth"> </div><div class="msg Nth">in word-box mention size of opacity clearly how much percentage you require?</div>
  5. Hello, I'm new to JavaScript and I'm trying to use JavaScript for my website. I want to have a sample sentence, where you can select the font family it is in and then you can also click on a size option to change the display size for the font. I've tried to get this to work for a while but just can seem to do it! If anyone can help it will be greatly appreciated!
    document.getElementById("id").style.property="value"in the place of property replace with "font-family or font-size"by using jquery your requirement can be possible more easily.
  6. Hello, I need help.I wrote the css and the html like on the photo but I don't know how to aling every movie to be under the one before. Is there any chance to do it without touching the html file only the css :) Thanks for every help :)
    basic info must be replaced and paste it same in HTML part of body,i.e paste it downNo need of cssmain block user details is required
  7. I feel rather stupid for even asking about this, since I feel like I show know the fix, but it's just not coming to me and I'm not sure where else to look for answers. I have been trying to position a .gif on my site's global header, but whenever I change the zoom setting on my browser, the image moves with it (as opposed to staying where I positioned it). Since I was just complaining about a site's header having an image like this today, I would like fix it if I can. Any help would be greatly appreciated!! Here's the CSS for the .gif so far:
    img#alert {width: 30px;border-radius: 3em;}

    you have mentioned a class and i.dit comes from where?just display all the css regarding the output to be displayed
  8. window.open() function working properly on chrome but do not work on IE and Firefox, Is there any alternate to this function. Please help...
    lower version of ie will not work it should be more the ie8ie8 or else more for firefox it should be more than 3.8what ever the latest version is?
  9. First step remove IF EXISTS and here is the actual code (SELECT * FROM information_table.COLUMNS WHERE TABLE_NAME='db_name' AND TABLE_NAME='communityCustomFeatures' AND COLUMN_NAME='ccf_id');BEGIN;ALTER TABLE `communityCustomFeatures` ADD `ccf_id` ) FIRST;ELSE;ALTER TABLE `communityCustomFeatures` MODIFY `ccf_id` ) FIRST;

  10. Hello friend, Sessions names must be same for all websites, then all of the websites must be opened in the same browser.then you can get succeeded in the above task.

  11. Hello friend,In the 4th version of PHP just we have basics and introduction.In the 5.x version of PHP we have java level oops concepts mixed up with PHP coding.

  12. Hello friend,this code may helps you to run your applet application in browsers like IE, netscape and safari.getJREs: function() { var list = new Array(); if (deployJava.isPluginInstalled()) { var plugin = deployJava.getPlugin(); var VMs = plugin.jvms; for (var i = 0; i < VMs.getLength(); i++) { list = VMs.get(i).version; } } else { var browser = deployJava.getBrowser(); if (browser == 'MSIE') { if (deployJava.testUsingActiveX('1.7.0')) { list[0] = '1.7.0'; } else if (deployJava.testUsingActiveX('1.6.0')) { list[0] = '1.6.0'; } else if (deployJava.testUsingActiveX('1.5.0')) { list[0] = '1.5.0'; } else if (deployJava.testUsingActiveX('1.4.2')) { list[0] = '1.4.2'; } else if (deployJava.testForMSVM()) { list[0] = '1.1'; } } else if (browser == 'Netscape Family') { deployJava.getJPIVersionUsingMimeType(); if (deployJava.firefoxJavaVersion != null) { list[0] = deployJava.firefoxJavaVersion; } else if (deployJava.testUsingMimeTypes('1.7')) { list[0] = '1.7.0'; } else if (deployJava.testUsingMimeTypes('1.6')) { list[0] = '1.6.0'; } else if (deployJava.testUsingMimeTypes('1.5')) { list[0] = '1.5.0'; } else if (deployJava.testUsingMimeTypes('1.4.2')) { list[0] = '1.4.2'; } else if (deployJava.browserName2 == 'Safari') { if (deployJava.testUsingPluginsArray('1.7.0')) { list[0] = '1.7.0'; } else if (deployJava.testUsingPluginsArray('1.6')) { list[0] = '1.6.0'; } else if (deployJava.testUsingPluginsArray('1.5')) { list[0] = '1.5.0'; } else if (deployJava.testUsingPluginsArray('1.4.2')) { list[0] = '1.4.2'; } } }}

  13. Do not create any child table, you can create a separate table and it should have common 'ID' in both of the tables. Then use join queries For example; inner join, left join, right join etc. Thank you

  14. I created this website https://www.readingm.../submission.php and I have menu on the right with images but in IE it shows blue border around the images. In the other browsers it does not show. Is there a CSS code I can use to get rid of the border in IE. I have this css file attached. this is the code I use the code below. Any help is appreciated.
    #rightnav .image1{height:auto;width:160px;float:center;border:0px;padding-bottom:5px;padding:5px 0px 3px 6px;border-bottom:2px #B00047 dotted;margin-top: 5px;margin-right: 0px;margin-bottom: 5px;margin-left: 5px;

×
×
  • Create New...