10,325 Topics
![]() | |
Hi everyone, please I want to know if I can add a stylesheet link in my php mail : [CODE] $subject="Subject"; $header="From: \"$email\" <contact@sssss.com>\r\n"; $header.= "Reply-To: contact@sssss.com \r\n"; $header.= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $message= "<html> <link href='style.css' rel='stylesheet' type='text/css' /> <body> <p>lorem lipsum ...</p> </body> </html>"; mail($mail,$subject,$message,$header);[/CODE] Thanks. | |
this the code in which i am getting a lot of errors... 1.Expanding Box problem 2.Guillotine bug 3.three pixel text jog 4.Float drop problem 5.floating non float problem I got these errors when i ran browser compatibility I am unable to understand the meaning of these... index.html <!DOCTYPE html PUBLIC … | |
Hi, I'm working on a page that GETs a value that is passed in the URL. This variable echos correctly up until I try echoing it inside an if statment where it needs to be. The variable is called $siteid. Inside my if statement I have a query that runs … | |
Losing hair -- everything I have read tells me to center a block level element use left and right margins set to "auto" but I have tried that every place I can think of and the horizontal menu inside the header of this page will not budge. Started with DW … | |
First of all hello to everyone, this is my first thread!! Second, i face a problem with a website i am trying to create! I wanna use a font i downloaded by myself but noone gonna have it! So what should i inlude in my Css or Html code in … | |
Hello DaniWeb kings and queens - Here is a simple jquery .animate block here's the code: [CODE] <!DOCTYPE html> <html> <head> <title>TestingJ</title> <meta name="description" content="Mseed Web Design" /> <meta name="keywords" content="web design, programming, scripting" /> <meta name="author" content="Eric Karen" /> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <link rel="stylesheet" type="text/css" href="/css/global.css" /> <script … | |
Hi Im trying to make a script which when I click on the list element... it will replace a big image with anotehr picture. The list element is a thumbnail... and I want to swop the big image with the big version of the thumbnail. Each <li> has a rel … | |
I got the HTMl code to work behind a flash file for an iphone to browser. But ever time we check it on firefox it breaks but works everywhere else! Is my code correct? [CODE=html]<body> <p align="center"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-4… width="650" height="80" id="FlashID"> [B]<param name="wmode" value="transparent" /[/B]> <param name="movie" value="home.swf" /> … | |
Hi, I am writing code for a webserver and am trying to send a html file called index.html over a TCP socket. How would I do this? At the moment I am trying to read the contents of the file and then send them over the connection. However, the page … | |
On a pretty basic page (starting from a Dreamweaver one column elastic template), I am trying to put a CSS driven menu, based on one of the tutorials on Lynda.com. When I preview in browsers, the menu jumps up when rolled over, which is very distracting. you can take a … | |
$select_query2 = "SELECT * FROM EmployeeBirthdayDetails Order By E_ID"; $employeedetails = mysql_query($select_query2); $emp_details = array(); $j =0; while($row2 = mysql_fetch_array($employeedetails)) { $emp_details[$j] = $row2; $j++; } echo "<table border='1' width='100%'> <tr> <th>Employee ID</th> <th>Employee Name</th> <th>Date Of Birth</th> <th>Edit</th> <th>Delete</th> </tr>"; for($i=0;$i<sizeof($emp_details);$i++) { $empId=$emp_details[$i]['E_ID']; echo "<tr>"; echo "<td>" . $empId … | |
Well, I just got finished spending a couple hours looking for a solution to an issue concerning the background image. Originally, I was not able to get it even close to the manner I wanted it to work. However I have made it to a decent point. The original idea … | |
Hello, i struggle to get start time and end time from selected day in fullcalendar...pls let me know..its urgent.. below sample code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <base href="http://arshaw.com/js/fullcalendar/examples/" /> <link rel='stylesheet' type='text/css' href='../fullcalendar.css' /> <script type='text/javascript' src='../jquery/jquery.js'></script> <script type='text/javascript' src='../jquery/jquery-ui-custom.js'></script> <script type='text/javascript' src='../fullcalendar.min.js'></script> <script type='text/javascript'> … | |
Hi all, My problem is i've got this form that submits fine but when i try to redirect it i keep getting an error. I want to redirect to another page so the user can't refresh the page and submit the form multiple of times. I've been using 'header' to … | |
HI, I am currently working on a project to develop a webpage using jsp. I need to include some css properties in the jsp file. But it doesnt work even though I am not getting any errors. My jsp code is [CODE] <% String captcha = (String) session.getAttribute("captcha"); String code … | |
Hi, I have read that strict xhtml is better than transitional xhtml for viewing the web for the visually impaired but can anyone tell me what the difference is? How is strict xhtml better than transitional xhtml. Thanks inadvance. | |
I am using @font-face tag in my website. Everything works fine in Mac, Vista and Win 7, but fonts are incredibly ugly in XP. This is because font anti-aliasing is kept at very primitive level by default. In my opinion, the best way through this problem is to make a … | |
I am having trouble with the ads that T35's Free Hosting places on their member's pages. They insert the ads via Javascript just before the closing <body> tag. My problem is that they're floating off to the right of my web layout. I tried shrinking my layout and they went … | |
i have to make a major project this year and i want to make the project on my own if you guys coud help me by suggesting some ideas on which i should make a website my lecturer said that they dont like websites as major project unless they are … | |
hey, I have two pages index1.html and index2.html. In index1.html i have 54 links and in index2.html i have a iframe. "When i click on a link on index1.html ........... i want index2.html to load.... and the iframe in index2.html to have The link I clicked" | |
Hey Guys, I have a thin image that I would like to repeat-x for my footer. So far I have had no luck....not sure what the problem is. I am using wordpress so the footer is in a "footer.php". I am using the wordpress get footer to retrieve the footer, … | |
Hi guys, i'm working on a newsletter that i will be sending out to clients, it works like a charm if i preview it in the website, however it doesn't look good in the email. to make it clearer, i attached 2 jpg files, good and bad please take a … | |
Hi all, I need a big help..I was struggling about 3 /more days with this code..It is not giving me the result I want.It is not that difficult thing.What I want is to display the values in database(name,description,image) according to the id selected. And then it can be edited if … | |
Hi all I have made a small mailer that I would like to send out to our clients. Previously we have sent images in a mail, but that, I think, is not the way it should be done :P So now I have made this mailer, and it displays in … | |
hi all, i am planning to keep live support for my website for that i had some code..it works fine but the problem is the chat is not confidential.. means if i am admin and if some one is chatting with me and if another person clicks on live help … | |
Although calender is displaying properly, when I comment mycal.hide(). But it is not working on button click. [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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>YUI Calender</title> <link rel="stylesheet" type="text/css" href="build/calendar/assets/skins/sam/calendar-skin.css" /> <script type="text/javascript" src="build/yahoo-dom-event/yahoo-dom-event.js"></script> <script type="text/javascript" src="build/calendar/calendar-min.js"></script> <script type="text/javascript"> YAHOO.namespace("yuibook.calendar"); … | |
Hello, I'm a newer web developer and I was working on a small project for myself. I defined a class called "garnish" and made a div that class. Then I placed a table in the div that contains my text. When I place text in the div, it is properly … | |
how to right a text inside an image please.what is the tags? thanks... | |
This is what I want my outcome to look like [url]http://teh-shepherd.webege.com/[/url] Tried changing to css, but i cant get positioning done right [CODE] <div id="nofade" align="center"> <b>block 1</b> </div> <div id="fade80"> </div> <div id="nofade" align="center"> <b>block 2</b> </div> <div id="fade40"> </div> [/CODE] [CODE]#nofade { position:static; background-color:transparent; position:absolute; z-index:3; } #fade40 … | |
I made this page and keep on getting error on the same page and webconfig file..... Errors Error 1 'Culture' is not a member of 'ASP.emergency_plan_error_aspx'. Error 2 'UICulture' is not a member of 'ASP.emergency_plan_error_aspx'. Error 3 'InitializeCulture'is not a member of 'ASP.emergency_plan_error_aspx'. Error 4 'CreateResourceBasedLiteralControl'is nt a member of'ASP.emergency_plan_error_aspx'. … | |
Hello everyone, I hoping you can help me. I've got a table that I want to be able to show/hide rows based on what check box is checked. By default, I don't want anything displayed, then if you check a or some of the check boxes you'll see the data. … | |
Hello!!! Wow this seems to be a very welcoming, inviting, warm and friendly community. Daniweb has certainly helped me lots of times in the past, and is always popping up in Google for my queries ... since it's been such a help, I thought I might as well join! I'm … | |
I am trying to convert a rtf file to html file in php. The below code is not working, not giving any error also. <?php $handle = popen("/usr/bin/abiword --plugin AbiCommand 2>&1", "w"); fputs($handle, "server"); fputs($handle, "load /var/www/abiword/test.rtf"); fputs($handle, "save /var/www/abiword/test.html"); ?> when i do this conversion through terminal with the … | |
Hi there, I'm completely new to styling in wordpress, so any help is greatly appreciated. Basically, I'm working on the following website: [URL="http://www.rjt-online.com/home.php"]www.rjt-online.com/home.php[/URL] And for it's Blog page I wanted to style Wordpress to look and function the same as the site. Is it possible to incorporate all the functionality … | |
Ok, So I found a pagination class fro ma tutorial and decided to try and impliment it into my mysql search query I use here at work to search past Parts Ordered records. I got it working to the point that it only shows 10 results on a page, and … | |
Hi all, Sorry if this is a common thread. I did a search but couldn't find a solution I was looking for... You know the popup that appears if you're not logged in about joining Daniweb, I need to put together one very similar for a forum I'm working on. … | |
Hi everyone! My first post on daniweb, although I've often been helped by reading. :) I have a CGI script that is driving me batty. CGI is in python. If I put any python code ABOVE the HTML printout of the script except for import statements & varable assignments, Firefox … | |
I'm a AJAX newbie, I was wondering if I can use the .responseText method, to load the text from other website? For example, how can I download the data from "[URL="http://www.weather.com/weather/today/Hong+Kong+China+CHXX0049"]http://www.weather.com/weather/today/Hong+Kong+China+CHXX0049[/URL]" and display the data in my own way? It seems that the .responseText/.responseXML does not work here...:-/ thanks for … | |
Hi all, Can someone tell me how we can dd External style sheet to our HTML document??? | |
I need a search function, but the problem is the website is a huge, HUGE static site with thousands of products. I originally designed a parallel site with Coldfusion and incorporated a database, but now he wants a similar search function that a user can type a word and find … | |
good day! when i click a button, this codes will be executed (tested, its working) var cart=document.getElementById('cart'); cart.innerHTML=cart.innerHTML + document.getElementById('name'+cartNum).innerHTML + "(" + qty + ")" + "<br>"; this is the style of my cart } #cart { overflow:auto; border:solid; height:500; margin-left:10px; margin-right:10px; margin-top:20px; margin-bottom:0; font-size: 12px; text-align: left; font-family: … | |
Hi there: The code below lays out 3 divs, the 1st. div contains a slideshow, the 2nd. div is a container for the 3rd div which contains buttons to override the slideshow and replace it with a new image in the slidshow div. All the above scenario works perfectly. Where … | |
I have implemented a feature that works in firefox and opera, but doesn't work in IE -- it is the css opacity setting. I am overlaying translucent divs over a jpg image. Do I need to use javascript to fix this for IE ? [URL]http://listenlight.net/05[/URL] is the page I'm working … | |
Hai I am trying scrolling of images as like ([url]http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm[/url]). I do want to set border for the images with border property as "2px solid #000" and i do want gap between the images so that the horizontal gap value is 20px. I tried even with image border propoerty and … | |
I want to provide sitemap with scrolling of images. I'm handling the method for scrolling image as in "Text and Image Crawler" of Dynamicdrive.com ([url]http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm[/url]). I've just changed the images and added a click event for images. The crawler.js is the same as in the "Text and Image Crawler" of … | |
Hi, I have following Css where i have used back-ground image. Then i am generating Anchor and assigning css class which has image. It works fine with IE but does not work with Safari,Firefox and Chrome. Can anyone help me on how to fix it. I have given details below. … | |
Hi, I have a hidden DIV, which is going to cover all of the screen as part of a lightbox. I wrote my code based on what I found at docs.jquery.com/Tutorials:Basic_Show_and_Hid . When I click on the link to run the lightbox, the div isn't showing even through the z-index … | |
I've been having trouble with a seemingly simple function...I have a form where 3 of 5 field values are generated by a script tied in with Google Search (like a business address). The user is prompted to enter their business license #, and as soon as the input field has … | |
Hello Im doing a website and the i end up with like this [url]http://img638.imageshack.us/img638/5472/30369592.jpg[/url] how od i get it so that the footers at the bottom and its all blue heres my code [code] <html> <head> <title>About Us</title> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body> <div id="page_wrap"> <div id="header"></div> <div id="nav"> … | |
Wracking my brain! I've got a fixed footer nav bar and want it to be tucked behind a small logo image on each end. I've edited the CSS so many times that I can't remember what I started with, but the problem seems to be z-index related. If container is … |
The End.