14,212 Topics
Hi I have the folowing problem: The css wont apply to html although everything is corectly <link href="../../../../default.css" rel="stylesheet" type="text/css" media="all" /> ... <h4><?php echo $gamename[2]; ?></h4> and in the css i have the following h4 { color: #FFF; font-size: large; font-family: "Courier New", Courier, monospace; }
Hello There, I have a website where i have a small block to show new arrivals in products. The Products are marked in Database as they are New: Yes / No. I am fetching these products in a datalist on my client side page. The display area is for two …
Hi, I have a form that has two controls; a textarea and an upload, one of which is hidden depending upon the selection of a dropdown. What I'm trying to do is alter the action of the form depending on which control is hidden. so if the textarea is visible …
Collision Detection using Bounding Rectangle method [Collision Detection using Bounding Box method with KineticJS and HTML5](http://www.gamingthinktank.com/2013/07/11/collision-detection-using-bounding-rectangle-method-kineticjs-and-html5-canvas-tutorial/)
This piece of Java works perfectly so that onmouseover of the text an image is placed above the text, my problem is I can't come up with a piece of code for onmouseout to remove the image and restore the site to the way it was before the onmouseover. Right …
Hi, When i leave my text boxes empty , there will be errors that will be displayed beside my text boxes.Example: type is required. I have a file name trade form result.php which defines all my validations and price.php which inserts in to database.It is going into the first if …
<!DOCTYPE HTML> <html> <head> </head> <body> <form action="2.php" method="post"> <table width="400" border="0"> <tr> <td>Ders sayisi :</td> <td><input type="text" name="sayi" /></td> </tr> <tr> <td><input type="submit" name="gonder" value="Gonder" /></td> </tr> </table> </form> <?php if(isset($_POST['gonder'])) { for($i=1;$i<=$_POST['sayi'];$i++) { echo "$i.ders"." "."<input type='text' **name='e$i'** />"." - "." <select name='dersler'><option **value='a1'**>A1</option> <option **value='a2'**>A2</option><option **value='b1'**>B1</option> <option …
Hello I wonder how to create a new screen like in: [Salesforce](http://www.salesforce.com/)](null) Cek the contact us button: If you click it a big form screen appears. How to create such a thing ? Also, if you ever fill in a form, they know your name etc., do they save visitors …
<?php $system_date = Date(m/d/Y); <input type = "Date" value = <? echo $system_date; ?> ?> I want to set system date to above date box.But this will not work.If I change type to text then it will work as I want.What is the problem here.How can I set system date …
I have a page to add products. On this page is a 'categorey' dropdown and a 'subcategory' dropdown. The subcategory dropdown should fill with the options based on the category dropdown selection. The code I have so far does not fill the subcat dropdown, can anyone see a problem? code …
<head> <script type="text/javascript"> function playPause(x) { var myAudio=document.getElementById(x); if (myAudio.paused) myAudio.play(); else myAudio.pause(); } </script> <head> <body> <audio id="Soundx1" src="../audio/2.mp3"></audio> <button style="background-image:url(../images/audio1.jpg); width:45px; height:45px; border:transparent; margin:0px 0px 0px 0px;background-repeat: no-repeat;background-color:white;" onclick="playPause('Soundx1');" ></button> <audio id="Soundx2" src="../audio/2.mp3"></audio> <button style="background-image:url(../images/audio2.jpg);background-color:white; width:45px; height:45px; border:transparent; margin:0px 0px 0px 0px;background-repeat: no-repeat;" onclick="playPause('Soundx2');" ></button> <body> <Article moved …
Please i need a sm1 to tel me how to correctly format my codes if i want to post them on daniweb
This should change the images and image maps then highlight them. But image maps don't seem to be working and higlighting doesn't work either, after clicking on the "go right" link at the bottm. How to make them work? http://www74.zippyshare.com/v/54618428/file.html
Hello. I have a little complex code for a navigation menu. I want to add a dropdown to a <li> tag but it doesn't work. Heres the code <div id="topbar" class="fadeInOnLoad"> <div class="inner-topbar"> <ul> <?php if(currentPageName() == 'index.php'){ echo '<li class="">Home</li>'; }else { echo '<li><a href="index.php">Home</a></li>'; } if(currentPageName() == '../about.php'){ …
Hi, i want to crop an image that i upload, then the image appears behind a div where i drag and choose what i want and crop it. Here's what i want after the upload: the black background is the background-color of the body, the image inside the red border …
<!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"> <!-- DW6 --> <head> <!-- Copyright 2005 Macromedia, Inc. All rights reserved. --> <link rel="shortcut icon" href="/favicon.ico" > <title>LADOKE AKINTOLA UNIVERSITY OF TECHNOLOGY|INFORMATION TECHNOLOGY AND COMMUNICATION(LICT) - Registration</title> <meta name="Author" content="Address for the School of Nursing Ogbomoso Oyo State" /> …
Good Day Everone Just wanna ask for a suggestion if it is possible to Save data in DB and at the same time Print the form when the submit button is clicked? and if possible how can i obtain it? Here's what ive tried form.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML …
I learned a new technique (from Chris Coyier), and I thought it may be helpful for you guys. Some of you guys may find this helpful if your creating a preview/demo page and you want to go back to original page. This could help you guys. <?php $return = htmlspecialchars($_SERVER['HTTP_REFERER']); …
HELP !! THis is driving me insane, I already spent 2 hours on this and can't seem to resolve it. Here is the problem: I have a backgroundimage for my listview in vb.net I programmatically (see below) add items to the list. All items have a white or other solid …
Hello I have a webpage here: http://turningheadssalons.com/newabout.htm And as you can see, the H1 tag that says: "Who We Are" floats underneath it's parent container. The strange thing about this is, is that the inner container is embedded inside of the parent container, which by default, the parent container should …
I have a php application for a cookbook site. To make this application responsive for all devices, I need to convert the listing of ingredients from a table format to div's but I am having a challenge with how to set-up the div structure and css. To better explain what …
<video controls="controls" width="500" autostart="False"> <source src="vid/Chantel.webm" type="video/webm" > <source src="vid/Chantel.mp4" type="video/mp4" > <source src="vid/Chantel_libtheora.ogv" type="video/ogg"> <object data="vid/Chantel.mp4" width="500"> <embed src="vid/Chantel.swf" width="320" height="240"> </embed> </object> </video>
How is the handshake code of CSS generated.
Hi I'm trying to complete this assignment and I don't understand how this PHP thing works. I can't get the value of the check box to populate and I can't get the sales tax to calculate either. He is what I have so far: <!DOCTYPE html> <!-- testproblem.html --> <html …
Is w3schools.com best to learn HTML Or any other programming language? If so then how?
How to set an input box that will only accept numeric values?
Greetings everyone, I'm having an issue with the wrapper just ending. The only thing that seems to somewhat solve it is putting a min-height on the wrapper div...even still, it's sloppy and if you're on a smartphone, when you scroll down it still just ends. Can you please have a …
Hello, I have try lot's of thing for used border radius in ie8 browser, but I didn't get any solution. So please let me know if someone have any trick. I hope for immediate response! Thanks & Regards, Dharmendra,
hi i need some help. Suppose i have 4 different xhtml pages(page1,page2,page3,page4), and all the 4 contain one <h1> tag. Now i have an external css file and it contains(showing only h1 tag): h1{font-size:16px;font-weight:bold;} But now i want to add margin-top:10px(only for <h1> tag) for page1,page3 and page 4.if i …
<a class="topLink" href="input_image.php"><input type="submit" name="productbaru" value="Product Baru"/></a> If I press Product Baru why they do not take me to input_image.php ?
/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, …
Hello, How to create a body background like : [website](http://id.gateway.com/gw/en/ID/content/home) See the background seems to adapt to it's size, 1366 x 768 or 1024 x 768 or some other size the only scroll down that appears is vertical scroll. What image size picture do I have to create ? and …
I've a working code and display well. Now I want to integrate into html code but I don't know how to add a custom div into it. Here's my php function hasChild($parent_id) { $sql = "SELECT COUNT(*) as count FROM w_category WHERE ParentID = '" . $parent_id . "'"; $qry …
Hey guys, I just started learning HTML/Javascript yesterday and I just wanted to mess around a bit. I'm working on a few things dealing with user input but I've come accross a little snag. I want it to take in 3 inputs, do an operation, and then output the answer. …
Hi, I just popped in on a website named http://n-frames.com/. I would like to know what kind of jquery or css effects they are using in-order to achieve the layering effect on the images while scrolling the page as I would like to use this effect in one of my …
Hey guys, I just started learning HTML/Javascript yesterday and I just wanted to mess around a bit. I'm working on a few things dealing with user input but I've come accross a little snag. I want it to take in 3 inputs, do an operation, and then output the answer. …
Hi am working on jsf, am changing the css file, but when i view it in browser, it does not apply the change. Can i know why am having this issue and how can i resolve it?
Hi all, I have this script sending an really simple html email. It works fine, but I cant seem to preserve the line breaks when sending the email to the client. Any idea how I can preserve line breaks? Thought nl2br would do the trick.. // Data der skal emailes …
Currently I've a database table call category: Table attribute: id,parent_id,name How can I make it display in the following structure? <li class="dropdown level-0"><a href="#">electronics<img src="images/dropdown-arrow.png" alt="" /></a> <ul> <li class="level-1"><a href="#">Televisions</a> <div class="level-1-div clearfix"> <ul> <li class="level-2"><a href="catalog.html">Projectors</a></li> <li class="level-2 last-level-2"><a href="catalog.html">DVD Players</a></li> </ul> <div class="productImageDiv"> <a href="catalog.html"><img src="images/product-image2.png" alt="" …
Dears, how to get div or content informations text and pictures from another website and show in my webpage? Please help!
Hi I am working on this page as an exercise. Until now I have always been able to nest div elements to obtain a better layout. With html 5 I cannot do it and I have to use a table. Can somebody tell me what is wrong with this code? …
hie there, is there any way i can use input button as submit button for a form ? I know about Submit button but wanted to make input button work like submit button. Thanx
How to show on my website ,content from this web page (cdkeyshere.com) i try with simple DOM code but show oonly text of liks of image i need image and text and links?How to do that please help?
Hi, I am trying to get the top navigation of zurb foundation to work but for some reason it is not working for me. Here's my code. What seems to be issue? <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width" /> <link rel="stylesheet" href="css/normalize.css" /> <link rel="stylesheet" href="css/foundation.css" …
I'm currently working on a chat system. I want to keep a div message box in the center of the screen then a disconnect button and send message button on each side of it. [disconnect] [message box] [send] but when I tried <div align="center" style="float: left;"> the message box and …
Hello! I have a question regarding web hosting, I am interested in launching a personal blog and I would like to have a personal .com domain for it, so I decided I will buy that and a hosting package from 1&1 since they support 'newbies' with [their site-building features](http://website.1and1.com/make-your-own-website). However, …
Hi, I am trying to use an image sprite for icon in my button. Following is my css class for the same. The problem I am facing is that it seems to be pulling even the neighbouring image (which might be due to bigger text on the button) Is there …
Hello there, I'm not sure whether to post this problem in this forum or in Javascript forum. I have a frameset.It has two frames.Left frame and Right frame. The left frame has drop downbox and has a lot of selection conditions. The right frame has a datagrid which takes the …
#RewriteEngine On #RewriteBase /csnew/ I commented out those two lines in my HTACCESS file, whenever I type in my domain address with a directory and/or file added on that doesn't exist, it keeps loading my web site because it's constantly searching within the directory /CSNEW/ but commenting it out, isn't …
The End.