10,452 Topics
![]() | |
I just strated working with sprites and end up with a diffrent result My code css .icon a{ width:191px; height:151px; text-decoration:none; text-indent:-9990px; display:block; background-image:url(../images/socialsprite.png); background-position:0 0; } html <span class="icon"> <a href="#">f</a> <a href="#">t</a> <a href="#">g</a> </span> any help would be welomed Thank you | |
Hi, i've been looking around for help with this problem but google seems to just send a load of crap my way so its finally got to the point where i'm asking specifically for help. Here is the code; void CWebRobotDlg::OnBnClickedDologin() { void* pElem= ElemFromID(L"username", IID_IHTMLInputElement) ; IHTMLInputElement* pTextBoxUser= (IHTMLInputElement*)pElem; … | |
I am using the following form to take input and then set an action <form action="" method="post"> <select name="page_option"> <option value="go1">Go 1</option> <option value="go2">Go 2</option> </select> <input type="submit" value="Change home.php" /> </form> Instead of this I want to have two buttons side by side,one button has text GO1 while other … | |
I'm adding class through script to `<strong></strong>` ` background-color:transparent;` is OK in chrome and firefox but in IE adds black color around image **menu_bg.png** How to remove black background of image? **script** $("#navlist li a").hover(function() { $(this).parent().find('strong').addClass("hover"); }); **CSS** .hover{ display: inline-block; position:absolute; background: url(images/menu_bg.png) center no-repeat; background-color:transparent; } **HTML** … | |
Hello friend, I have a registration form and a admin panel for that, In admin panel we can see the list of registered users. I can filter user details by search but i cannot export searched results to .xls or .csv format. kindly help me...!!! Thank you. | |
Hi I am trying to validate a form with different type of message for different error, but you can see [Click Here](http://cbsecsnip.in/csnip/form.php) the problem. Please guide me in solving this problem... Partial Code of form.php- <!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 http-equiv="Content-Type" content="text/html; charset=UTF-8"> … | |
Hi all, I have a new form that is not responding in the Firefox browser and I can not figure out why. The code is: <form action="http://www.hostmonster.com/monstermail" enctype="multipart/form-data" method="post"> <fieldset id="contact"> <label for="fName">First name</label> <input name="fName" id="fName" required="required" /> <label for="lName">Last name</label> <input name="lName" id="lName" required="required" /> <label for="biz">Company name</label> … | |
Fatal error: Class 'XSLTProcessor' not found in C:\xampp\htdocs\easybasket\index.php on line 275 ` <?php /*########################################################################### Easybasket RESTful API Nigel Alderton 21st May 2011 www.easybasket.co.uk ############################################################################# This file exposes a RESTful HTTP interface to the client. It supports the following functionality; HTTP Method: GET Example Response ================= =============== ================================================================== / The Welcome … | |
Hello! Hoping someone here can help me with this problem. So the page I am working on has an image containing Facebook, Twitter and Youtube tabs.  All these tabs are clickable in every other browsers (Chrome/Safari/Firefox/Opera) except in Internet Explorer (7/8). I am not sure what I am … | |
<?php $first = $_POST['first']; $last = $_POST['last']; $email = $_POST['email']; $phone = $_POST['phone']; $Submit = $_POST['Submit']; $first = strtolower($first); $last = strtolower($last); $first=ucfirst($first); $last=ucfirst($last); $general = " <br> Please try again ! "; $no_first = " your first name, please... "; $no_last = " your last name, please..... "; $no_phone … | |
Hello There! I am building a dynamic CSS document through PHP and was wondering if it is a big problem (for browsers or SEO or something) for me to leave *blank values* for some CSS attributes. If it is problematic, is it so much so that it is worth adding … | |
hello i am working on a c,c++,java tutorial website, & i want to insert lots of source code example in it. I am doing this using <span> & CSS classes. I have seen some online code highlighter. i want to make one for my site. And is there any other … | |
Hello..! I just want to show an error message if user left text box blank. Here is my code on form.php, I really can find the problem... <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Your Valuable Suggestion</title> <link rel="stylesheet" type="text/css" href="view.css" media="all"> <script type="text/javascript" src="view.js"></script> <script type="text/javascript"> function notEmpty(elem, helperMsg){ alert("Out"); … | |
hello there please help me im having problem with my css specialy with these codes body {background: url(./images/bg-body.gif) repeat center; color: #80662b; font-family: 'AndikaRegular'; font-size: 14px; margin: 0; min-width: 950px; padding: 0; overflow:scroll;} if i put these code separate with my php file it wont work. all images i used … | |
this mail system is working in my local domain(S.K@ r.j.com).i want to send mail to S.K@ j.com. please help me to how to configure mail system . <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("users", $con); $sql="INSERT INTO entryform (Name,Department, Problem, Ext_no, Ip_Add, … | |
I want to create quick view for a shopping cart, Problem 1: When I Place my mouse over any of the boxes, quickview appears on all the box, how can I display it only in parent node. Problem 2: When I place my mouse on quickview link, it keeps on … | |
i am developing mobile web app for conducting survey in html5. i need to save user responses in file preferably in csv format. How can do it. i am stuck with storing part.......... please please help me. I cannot use activex for dat purpose coz app needs to work on … | |
I am trying to write current website url in a frame using javascript. Butt my methods does not working... What I want to do is to write the current url path into this code instead of "CURRENT+WEBSITE+URL+HERE" text. My current iframe code: `<iframe allowtransparency='true' frameborder='0' height='600px' id='web search' marginheight='0' marginwidth='0' … | |
So i need to write or modify javascript code i think, for what i want to do. The web page im developing displays a table with two arrows beneath, one to go show next and one to show previous. I need the show previous arrow to display an alert box … | |
I'm trying to create a treeview which is mostly populted by a database. I have two code snippets which on their own work fine but when I place them together it won't seem to work no matter what I try. Main Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html … | |
In datasource i have 5 columns and i want 3 columns data in particular dropdownlist having a distinct value... plz help | |
For below code I want scrollbar that can scroll content inside div **#inner_content**. I have tried lots of scrollbars, but, nothing works. I have purchased [this](http://codecanyon.net/item/rollbar-jquery-scrollbar-plugin/2113353) scrollbar which is also not working for my code. Suggest scrollbar which will work! Help me please... <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"</script> <script type="text/javascript" src="http://code.jquery.com/ui/1.8.22/jquery-ui.min.js"></script> <script … | |
I ran into a situation which suggests to me that there is a limit to the number of input text boxes you can have in an HTML form. I'm developing a registration system for a sports event and wanted a form which would allow the organizers to edit several items … | |
Hi peeps, I wonder if you can help me at all undertanding this code. Unfortunately I don't have it live anywhere, it is something I have seen somebody working on Here's the code and I will explain breifly what it does and what's not clear (which needless to say is … | |
I am having a bit of a problem with my divs overlaping when the browser window is minimized. I am displaying a map and a data table side by side when a button is clicked. The button clicked function is working so far displaying both div's side by side. But … | |
I am looking at using the 'Document Widget' in WXWidgets to create a report. It is apparrently an html document. Does this mean that I can format and position text using XML or HTML. I'm not entirely sure how this works. Can I also add objects to the html document … | |
Hi I have the following basic CSS only webpage layout [www.createtime4u.kaiproductionservices.com/index.html](www.createtime4u.kaiproductionservices.com/index.html) which looks in-line cross Safari/IE browsers on a PC, but out of line on the ipad. Before I give out a ton of code has anyone got a good checklist of things I should be looking out for on … | |
Inline Code Example HereI have this url http://lawnkinglandscapedesigns.com/ I edited the CSS inside wordpress to center the logo, and now .slide .banner { display: none; } is showing up on the website. This is what I put into the code: #logo { margin-left: 125px !important; } .slide .banner { display: … | |
I already know how to make a forum using php and mysql. I have a fully functional forum that I have written with the help of php login v2. I have modified the script to work with my needs. Everything else on the forum I have written. Now the only … | |
I've been developing software for over 25 years and have been doing web development for the past 10. I'm an entrepreneur with several web services, some commercial, some not. While putting together a new service this week, non-commerical, I reached my breaking point with Internet Explorer and made a conscious … | |
i have this code in main.jsp <html> <head> <link rel="stylesheet" href="/bipi/css/bp.css" type="text/css" media="screen"/> </head> <body> <div class="navigator"> <a id="currenttab" href="/WEB-INF/jsp/main.jsp">Add</a> <a href="/bipi/display.jsp">Delete</a> <a id="currenttab" href="/WEB-INF/jsp/main.jsp">Main</a> </div> <%--<% String fname = request.getParameter("f_name"); String fage = request.getParameter("f_age"); if (fname != null && fage != null ) { com.test.gerrard.Insert(fname, fage); } %>--%> <form … | |
Trying to apply some CSS to the select options in the drop down menu. The line-height or height variables are not kicking in on the <options> variables. I'm using this: <style> .styled-select select { background: #E4E6F5; width: 300px; padding: 8px; font-size: 16px; border: 1px solid #E4E6F5; height: 42px; } select.select{ … | |
how to use Different CSS Stylesheets For Different Browsers | |
Hi! I'm constructing a code for parsing results in an html form and I'm having problems with strcat. It's really weird 'cause I'm positive the syntax and all that are all correct. I can't seem to find where the problem is. Basically, I have this non-empty string "copy" and when … | |
how to make a text selectable whose bg is not blank or single color?? | |
Hi there, Can anyone explain what is wrong with my code? I get an error message saying null value from innerHTML. <script type="text/javascript"> var sub1 = document.getElementById("input1") ; var sub2 = document.getElementById("input2") ; var sub3 = document.getElementById("input3") ; var sub4 = document.getElementById("input4") ; var GPA = (sub1+sub2+sub3+sub4)/4; var para = … | |
Hi all, I want to create a login page modal window. Steps are as follows : 1. There will be a login icon(small image). 2. On clicking the icon , a modal window will open having three options (i) Distributor login (ii)Client login. (iii) Employee login .If Distributor login is … | |
Hi, I'm currently working on a site's HTML code and am wondering how can I achieve this: I need to make certain images change, in a form of a slideshow, randomly and with random intervals; this means I will need it to start with a certain image and to go … | |
Hi, Code below doesn't work for a file contains HTML content? How do we solve this issue? Result must be *<span* but it dispays blank screen. Thanks in advance **Content of index.txt** <span class="mw-headline" id="Zero"><a href="/wiki/Zero" title="Zero">Zero</a></span></h2> **PHP to read the file** <?php $handler = fopen('index.txt','r'); while ($line = fgets($handler)) … | |
Hello, I read an article on "how to prevent users from submitting a form twice." at the url http://www.4guysfromrolla.com/webtech/100406-1.shtml I was able to freeze the web page but was not able to unfreeze the web page. I am using PHP with javascript. Nothing happens when my code executes the "unfreeze" … | |
From this [article](http://www.daniweb.com/web-development/asp/threads/42314/exporting-asp-pages-to-excel) i found this code snippet that imports html data to excel: <% Response.ContentType = "application/vnd.ms-excel" Response.AddHeader "Content-Disposition", "filename=excelfile.xls" %> <table> <tr> <td>Category Name</td> <td>Category Description</td> </tr> <tr> <td>Software</td> <td>Holds data for software</td> </tr> <tr> <td>Hardware</td> <td>Hardware related data</td> </tr> </table> However, what i want to do is … | |
I am having kind of stupid problem:P <?php echo $url; // In my php files $url contain multiple values ?> This works fine The different values of url get displays properly For e.g http://www.google.com http://www.daniweb.com That's perfect Now when i tried to echo the variable in some html <?php $url … | |
Hey, I've been trying to generate a pdf file using html2pdf library (http://html2pdf.fr/en/example). What I need to do is to print a table with PHP in that pdf file, so I stored the table in a variable called $contain with all html tags. My code goes this way: 1) It … | |
Hi there, I am trying to come up with an instant price quote calculator in javascript. it would be a simple one with six fields: Quantity of mounts Outside Top = Free type box Outside Side = Free type box Window Top = Free type box Window Edge = Free … | |
Hello Friends. It has been a long time since i posted my codes in the DaniWeb Forum. I have a problem which is really preventing me from moving ahead in the Project. My project requires me to develop a small quiz application with a registration functionality. The registration functionality requires … | |
![]() | Hello, I'm trying to implement a grid from Ext Js 4. I have index.php, which is the main page that has the main html (<html><head></head><body></body></html>) and a div inside the body. everything on my application is displayed inside that 1 div. in other words I'm using OOP PHP and Ajax. … |
Okay so im a programmer. C#, VB.Net, Html, Css, Jscript, some Java. So I'm here because I think I'm finally ready to make a good project that people would use/play, not one of those test/practice projects that I made for 3 years. I have a few ideas in mind. Anyways, … | |
Today just do walking around looking for information on the search engines Google, Yahoo, Bing, ... to make some material support for the work and also improve their knowledge, this article is shared from the forum "Bing Center Webmaster" 45 step guide to SEO the most basic and easy to … | |
I have this rather large form that I need to process and have the results sent to my email. Note the data will only be sent to an email not save in a database. The problem I'm having is that in these form there are tables, not only html tables, … | |
Hello everyone! Guys I really need your help. I'm still a noob and a student. So I made a table for electoral officials and also I made a link where user can see the information of the certain candidates in mouseover box. But I'm still trying to figure out how … |
The End.