HTML - Problem With Form Code
hi, problem with my code. it does not post to the save.php, the only thing that gets posted to the php file is a ":"
can someone help Code: <form method="POST" action="save.php"> <div align="center"> Username: <input type="text" name="username" size="15" /><br /> <div align="center"> Gender: <input type="gender" name="gender" size="15" /><br /> <div align="center"> E-mail: <input type="email" name="email" size="15" /><br /> <div align="center"> <p><input type="submit" value="Sign Up" /></p> </div> </form> Similar TutorialsHow do I make a blank text field where people can type in their e-mail and press submit and then that gets emailed to me? I have this code: <FORM method="post" name="newsletter" action="http://formmail.dreamhost.com/cgi-bin/formmail.cgi" enctype="multipart/form-data"> <INPUT type=text name="email" value="Type Here" size=15 AUTOCOMPLETE=ON> <INPUT TYPE="image" src="http://www.averytrips.com/submit.jpg" alt="Submit"> </FORM> It's supposed to be e-mailed to newsletter@averytickets.com. I put in the CGI action that dreamhost gave to me, but I don't know how to point it towards newsletter@averytickets.com. Any help is much appreciated, thanks! Help please I have a form and am entering in some html code into it, but it's not posting. I guess it's a parsing error. In PHP I would addslashes or something like that, but i don't know what to do for a form... I'm sure this is really simple and i've got it wrong. I have been trying different things and searching the web for hours now... Thank you, Jo Can anyone help me come up with code that will submit form results to an e-mail and then redirect to another page? However, I need all validation to go through before it re-directs. Thanks, Brandon How would I make a search-type form that would insert what the user typed in a text box into a web address and go to that address? (for example, if they type 'help' and click the submit button, it would go to the page "http://www.websitename.com/help.html") I know the general form code, but I can't figure out if I would use a tag in the 'onSubmit' portion, or use javascript, or something else altogether. Is it possible to add some form code to this javascript HTML Code: <!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Contact</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="imagetoolbar" content="no"> <meta http-equiv="imagetoolbar" content="false"> <meta name="generator" content="LMSOFT Web Creator Pro, Version:4.0.0.4"> <META NAME="KEYWORDS" CONTENT="Cleaning Contractor Cleaner Coronet Macquarie Park North Ryde Nth Ryde Epping Beecroft Carlingford Parramatta Silverwater Rose Hill"> <META NAME="DESCRIPTION" CONTENT="Coronet Cleaning Services provide a professional cleaning service for Offices, Real Estate, Clubs and Office Buildings in and around Sydney.Areas North Ryde,Maquarie Park,Epping,Beecroft,Carlingford,Parramatta,Silverwater,Rose Hill"> <META NAME="AUTHOR" CONTENT=""> <META NAME="CREATION_DATE" CONTENT=""> <META HTTP-EQUIV="CONTENT-LANGAGE" CONTENT=""> </head> <script type="text/javascript" src="./lmpres70.js"></script><noscript><br></noscript> <script type="text/javascript" src="./menumodel002.js"></script><noscript><br></noscript> <body onresize=PosPage(2,5,1.000000,1.000000); bgcolor="#ffffff" > <DIV STYLE="position:absolute; visibility:hidden; left:0; top:0; width:0; height:0;"> [<a href='./index.html'>./index.html</a>]<br> [<a href='./company.html'>./company.html</a>]<br> [<a href='./about_us.html'>./about_us.html</a>]<br> [<a href='./contact.html'>./contact.html</a>]<br> [<a href='http://www.lmsoft.com/'>Web Creator</a>] [<a href='http://www.lmsoft.com/'>LMSOFT</a>] </DIV> <DIV id=lmwcbackpanel style="visibility:visible;position:absolute;left:0;top:0;width:1280;height:800;clip:rect(0,1280,800,0);"> <DIV id=Page style="visibility:visible;overflow:hidden;position:absolute;z-index:1;left:0;top:0;"> <a name=#anchor_Page></a><IMG id=LMImagePage src="./lmimginv.gif" style="width:1280;height:800;border:0;"> </DIV> <DIV id=Img7 style="visibility:visible;overflow:hidden;position:absolute;z-index:2;left:0;top:-1;"> <a name=#anchor_Img7></a> <IMG id=LMImageImg7 src="./images/~gen_img7_10.jpg" style="width:1280;height:600;border:0;"></DIV> <DIV id=Img2 style="visibility:visible;overflow:hidden;position:absolute;z-index:3;left:71;top:90;"> <a name=#anchor_Img2></a> <IMG id=LMImageImg2 src="./images/~gen_img2_00.jpg" style="width:820;height:620;border:0;"></DIV> <DIV id=GBackground style="visibility:visible;overflow:hidden;position:absolute;z-index:4;left:0;top:0;width:0;height:0;"> <a name=#anchor_GBackground></a> </DIV> <DIV id=GLeft style="visibility:visible;overflow:hidden;position:absolute;z-index:5;left:0;top:0;width:0;height:0;"> <a name=#anchor_GLeft></a> </DIV> <DIV id=Img6 style="visibility:visible;overflow:hidden;position:absolute;z-index:6;left:86;top:118;"> <a name=#anchor_Img6></a> <IMG id=LMImageImg6 src="./images/~gen_img2_20.jpg" style="width:780;height:30;border:0;"></DIV> <DIV id=Img9 style="visibility:visible;overflow:hidden;position:absolute;z-index:8;left:524;top:118;"> <a name=#anchor_Img9></a> <IMG id=LMImageImg9 src="./images/~gen_img9_00.jpg" style="width:1;height:30;border:0;"></DIV> <DIV id=Img5 style="visibility:visible;overflow:hidden;position:absolute;z-index:9;left:306;top:118;"> <a name=#anchor_Img5></a> <IMG id=LMImageImg5 src="./images/~gen_img9_00.jpg" style="width:1;height:30;border:0;"></DIV> <DIV id=Img21 style="visibility:visible;overflow:hidden;position:absolute;z-index:10;left:195;top:118;"> <a name=#anchor_Img21></a> <IMG id=LMImageImg21 src="./images/~gen_img9_00.jpg" style="width:1;height:30;border:0;"></DIV> <DIV id=Img22 style="visibility:visible;overflow:hidden;position:absolute;z-index:11;left:415;top:118;"> <a name=#anchor_Img22></a> <IMG id=LMImageImg22 src="./images/~gen_img9_00.jpg" style="width:1;height:30;border:0;"></DIV> <DIV id=GMenu style="visibility:visible;overflow:hidden;position:absolute;z-index:12;left:0;top:0;width:0;height:0;"> <a name=#anchor_GMenu></a> </DIV> <DIV id=Text17 style="visibility:hidden;position:absolute;z-index:13;left:495;top:175;"> <a name=#anchor_Text17></a> <DIV id=LMTxtText17 style="visibility:inherit;position:relative;left:5;top:5;width:186;height:57;"> <font face='Arial'> <div align="left"><font face="Times New Roman" color="#ffffff" size="4"><span style=" font-size:14pt"><b><br /> </b></span></font></div> <div align="left"><font face="Arial" color="#ffffff" size="5"><span style=" font-size:20pt"><b> </b></span></font><font face="Arial" color="#808080" size="5"><span style=" font-size:20pt"><b>Contact</b></span></font></div> </font> </DIV> </DIV> <DIV id=Img4 style="visibility:visible;overflow:hidden;position:absolute;z-index:14;left:454;top:234;"> <a name=#anchor_Img4></a> <IMG id=LMImageImg4 src="./images/~gen_img3_00.jpg" style="width:400;height:1;border:0;"></DIV> <DIV id=GCenter style="visibility:visible;overflow:hidden;position:absolute;z-index:15;left:0;top:0;width:0;height:0;"> <a name=#anchor_GCenter></a> </DIV> <DIV id=GForm style="visibility:visible;overflow:hidden;position:absolute;z-index:16;left:0;top:0;width:0;height:0;"> <a name=#anchor_GForm></a> </DIV> <DIV id=Text1 style="visibility:hidden;position:absolute;z-index:17;left:527;top:92;"> <a name=#anchor_Text1></a> <DIV id=LMTxtText1 style="visibility:inherit;position:relative;left:15;top:15;width:349;height:53;"> <font face='Arial'> <p style="margin-left:0mm; margin-right:0mm; text-indent:0mm; margin-top:1.76mm; margin-bottom:1.76mm;"><font face="Verdana" color="#ffffff"><span style=" font-size:12pt">Call</span></font><font face="Verdana"><span style=" font-size:12pt"> </span></font><font face="Verdana" size="5"><span style=" font-size:20pt"> </span></font><font face="Arial" size="2"><span style=" font-size:10pt"> </span></font><font face="Times New Roman" color="#ffffff" size="4"><span style=" font-size:14pt">0411 590 735 or 0421 641 653</span></font></p> <div align="left"> </div> </font> </DIV> </DIV> <DIV id=Img8 style="visibility:visible;overflow:hidden;position:absolute;z-index:18;left:86;top:166;"> <a name=#anchor_Img8></a> <IMG id=LMImageImg8 src="./images/cc4.jpg" style="width:352;height:71;border:0;"></DIV> <DIV id=Img10 style="visibility:visible;overflow:hidden;position:absolute;z-index:19;left:471;top:208;"> <a name=#anchor_Img10></a> <IMG id=LMImageImg10 src="./images/cc1.jpg" style="width:31;height:17;border:0;"></DIV> <script type="text/javascript"> //LMSOFT Web Creator Pro, Version:4.0.0.4 //LMSOFT Kernel 70 var LMObjects = new Array(); var pub_home = "./index.html" var objindex=0; var Stretch=2; var Position=5; var ScaleW=1.000000; var ScaleH=1.000000; var fontbase=96.; var isdisplay=false; //--------------------------------------------------------------------------------------------- try { if(isValideBrowser(7.00,5.00)) { InitResources(); //--------------------------------------------------------------------------------------------- LMObjects[objindex++] = LMPage("Page",null,null,null,0); LMObjects[objindex++] = LMImage("Img7",1,0,null,0,null,null,null,null,0); LMObjects[objindex++] = LMImage("Img2",1,0,null,0,null,null,null,null,0); objlist = new Array(); objlist[0] = "Img7"; objlist[1] = "Img2"; LMObjects[objindex++] = LMGroup("GBackground",1,objlist); objlist = new Array(); LMObjects[objindex++] = LMGroup("GLeft",1,objlist); LMObjects[objindex++] = LMImage("Img6",1,0,null,0,null,null,null,null,0); menumodel002Show(86, 118, "GMenu2"); LMObjects[objindex++] = LMImage("Img9",1,0,null,0,null,null,null,null,0); LMObjects[objindex++] = LMImage("Img5",1,0,null,0,null,null,null,null,0); LMObjects[objindex++] = LMImage("Img21",1,0,null,0,null,null,null,null,0); LMObjects[objindex++] = LMImage("Img22",1,0,null,0,null,null,null,null,0); objlist = new Array(); objlist[0] = "Img6"; objlist[1] = "GMenu2"; objlist[2] = "Img9"; objlist[3] = "Img5"; objlist[4] = "Img21"; objlist[5] = "Img22"; LMObjects[objindex++] = LMGroup("GMenu",1,objlist); branchlist = new Array(); LMObjects[objindex++] = LMText("Text17",1,0,null,0,null,branchlist,null,null,5,5,5,5); LMObjects[objindex++] = LMImage("Img4",1,0,null,0,null,null,null,null,0); objlist = new Array(); objlist[0] = "Text17"; objlist[1] = "Img4"; LMObjects[objindex++] = LMGroup("GCenter",1,objlist); objlist = new Array(); LMObjects[objindex++] = LMGroup("GForm",1,objlist); branchlist = new Array(); LMObjects[objindex++] = LMText("Text1",1,0,null,0,null,branchlist,null,null,15,15,15,15); LMObjects[objindex++] = LMImage("Img8",1,0,null,0,null,null,null,null,0); LMObjects[objindex++] = LMImage("Img10",1,0,null,0,null,null,null,null,0); //--------------------------------------------------------------------------------------------- } }catch(e) { alert(e.message); } SetBaseColor(0x3f0,0x3f0,0x7a); if(isdisplay==true) GetDisplayInfo("","",0,"","./"); else LMObjectAnimate(Stretch,Position,ScaleW,ScaleH); </script><noscript><br></noscript> </DIV> </body> </html> Great forum. Hello everyone! A question about html. I have a simple html webpage where i have a list of lines 1.2.3... which when clicking one, it takes you further down the page to the apropriate box - using <A href>. So clicking on "2. Hello" takes you further down the page to the relevant box with <A name=Hello> So everytime I add something to the list, I edit the .html in notepad. Now I would like to have a form in my page which when typing in the details and clicking submit, it would add a new line at the end of the list, as well as a description below. Does anyone know a way to do this? Thanks so much! Chris Hello I've searched the web for a simple form code that has a "submit" button, so that when a user clicks it I will receive an email with the submitted data - but - I want the user to click "submit" without being transferred to his default email program. I want him only to enter the data and when he presses the button, the data will be sent to my email. I want to put this code in a blog that supports HTML. What code can I use for it? I hope I made my question clear. I will really be happy to receive your help. Thank you very much. I have been trying to remove it for the next 2 hours, removing, adding and all kinds of stuff. I don't know where I am going wrong could any of you point me in the right direction please. The image below shows what I want to do. Here is the uploaded template. If you do not wish to download this I can always copy paste the html and post in a comment or PM. http://www.box.net/shared/hiixy2o64r Thanks in advance. I didn't make this on frontpage. I made this through notepad. my teacher asked me to make a web page for an organization on our school's website. the whole thing is basically a form. so far i've just made the basic page without any designing yet. i'm sure i did everything correctly except for the submit button. what i want is when you click the submit button, for the browser to automatically send some sort of email to the provided address. instead, it opens up outlook. i don't want that to happen. what should i do to fix this? i will copy and paste my source code here but i will hide the email address with "*'s" just for privacy. Code: <html> <head> <title>Academy of Finance</title> </head> <body> <h1 align="center">Academy of Finance</h1> <h3 align="center">All Academy of Finance Alumni are invited to attend a reunion during the Thanksgiving weekend of 2009!</h3> <hr> <form action="mailto:********@gmail.com" method="post" enctype="text/plain"> <p> <b>Would you be interested in attending an Academy of Finance reunion Thanksgiving Weekend 2009?</b> <p> <input type="radio" name="yes" value="yes"> Yes <br> <input type="radio" name="no" value="no"> No <p> <b>Even if you answered no to this question, please fill out the following information so that we can verify that you will be unable to attend the reunion. Thank you!</b> <p> <fieldset> <legend> <b>Name:</b> </legend> <p> First Name: <input type="text" name="name" size="30"> <p> Last Name: <input type="text" name="name" size="30"> </fieldset> <p> <fieldset> <legend> <b>Address:</b> </legend> <p> City: <input type="text" name="city" size="30"> <p> State: <input type="text" name="state" size="30"> <p> Zip Code: <input type="text" name="zipcode" size="30"> </fieldset> <p> <fieldset> <legend> <b>Phone:</b> </legend> <p> Home Phone: <input type="text" name="state" size="30"> <p> Cell Phone: <input type="text" name="state" size="30"> </fieldset> <p> <fieldset> <legend> <b>Graduation Year</b> </legend> <p> Year of Graduation: <select name="year of graduation"> <option value="Select">Select</option> <option value="1990">1990</option> <option value="1991">1991</option> <option value="1992">1992</option> <option value="1993">1993</option> <option value="1994">1993</option> <option value="1995">1993</option> <option value="1996">1993</option> <option value="1997">1993</option> <option value="1998">1993</option> <option value="1999">1993</option> <option value="2000">2000</option> <option value="2001">2001</option> <option value="2002">2002</option> <option value="2003">2003</option> <option value="2004">2004</option> <option value="2005">2005</option> <option value="2006">2006</option> <option value="2007">2007</option> <option value="2008">2008</option> <option value="2009">2009</option> </select> </fieldset> <p> <fieldset> <legend> <b>Current Status</b> </legend> Current Organization: <input type="text" name="current organization" size="30"> <p> Current Occupation: <input type="text" name="current occupation" size="30"> </fieldset> <p> <fieldset> <legend> <b>College</b> </legend> College Attended: <input type="text" name="college attended" size="30"> <p> Degree Attained: <input type="text" name="degree attained" size="30"> </fieldset> <p> <fieldset> <legend> <b>Additional Comments</b> </legend> <blockquote> Additional Comments: <p> <textarea name="comments" id="comments"> </textarea> </blockquote> </fieldset> <p> <input type="submit" value="Submit"> <input type="reset" value="Clear All"> </body> </html> i really don't know what i did incorrectly. i'm not sure how i can get the submit button to send everything to my email directly without the use of any email manager. please help me out. thanks. Hi, ive been trying for ever, but i just cant make a code that forwards all the emails from my contact form thing to my email adress. if you want me to be more spacific, just ask. ---------------- Thanks, zigga Hello, I have produced a form which can be viewed at http://www.magicalwonders.com/Freestufftest5.html and have a couple of questions I hope someone can advise me on. Firstly, I'm not sure why the "autofill" option available on the google tool bar is not being made available for the "Name" and "Country" input. The code I am using is as follows: Code: <form method='POST' action='http://www.magicalwonders.com/cgi-bin/arp3/arp3-formcapture.pl'> <div align='center'> <p>First name<br><input type='text' name='first_name' size='20'></p> </center></div> <div align='center'> <p>Country<br> <select name="country" input type='text' size='1'> <option value="Afghanistan">Afghanistan</option> <option value="Albania">Albania</option> </select></p> </center></div> <div align='center'> <p>E-mail address<br><input type='text' name='email' size='20'></p> </center></div> <input type='hidden' name='subscription_type' value='E'><div align='center'> <p><input type='submit' value='Submit'></p></div> <input type='hidden' name='id' value='2'> <input type='hidden' name='extra_ar' value=''> <input type='hidden' name='first_name_man' value='1'> <input type='hidden' name='country_man' value='1'> <input type='hidden' name='notify_email' value='MWsubscription@hey-presto.demon.co.uk'> <input type='hidden' name='notify_subject' value='Magical Wonders Opt In'> </form> The autofill highlights the email input box in yellow, but not the first two boxes. I have no idea why. I have only included two countries in the above code, to make it easier to read. Secondly, is there any way I can center the list of Countries in the drop down box, instead of them showing hard left in the box? Hope someone can advise. Myles I am trying to get this page: http://www.stevemedleyphotography.com/bwg/index.html working in both IE and Firefox. After many trials and errors I found the problem to be the W3C DTD Code. Now as an example I'll show you this: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> I say example because I have tried every possible DTD code from http://www.w3.org/QA/2002/04/valid-dtd-list.html and always get the same result. The result is if I put it in like above then the site works in IE 7. But in Firefox (At least on my Mac, can't get Firefox to download on the PC oddly), the webpage loads with the flash getting pushed up really high and into the header, also the entire flash part is significantly smaller. In order to get it working properly in Firefox I have to have the code like this: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> Notice the lack of the final link. This then works in FireFox but in IE it ONLY shows my header and a blank page, no part of the flash loads, or if it is loading then it's so far off screen that I can't see it. Any suggestions? im busy creating a code for a page on a website but i cant get the column's to align properly also i can't find a way to get my links in the column ( the text continious but the columns end so does the text), also i want to get the links to appear yellow (i can't find a code for that either xs ) can some one help me or shuv me in the right direction , in addition heres the code so you can watch it and tell me what to adjust regards, Mr momo code: <body bgcolor="#40FF00"> <font color="#808080"> <br /> <html> <body> <div id="container" style="width:500px"> <div id="header" style="background-color:#40FF00;"> <h1 style="margin-bottom:0;">H@cker's den of</h1></div> <div id="menu" style="background-color:#800080;height:800px;width:100px;float:left;"> <b><a href="http://www.hellboundhackers.org/index.php">HellboundH@cker's</a></b><br /> HTML<br /> CSS<br /> JavaScript</div> <div id="content" style="background-color:#40FF00;height:250px;width:400px;float:left;"> <center> <pre> ooo. .oo. .oo. oooo d8b `888P"Y88bP"Y88b `888""8P 888 888 888 888 888 888 888 888 .o. o888o o888o o888o d888b Y8P ooo. .oo. .oo. .ooooo. ooo. .oo. .oo. .ooooo. '888P"Y88bP"Y88b d88' `88b `888P"Y88bP"Y88b d88' `88b 888 888 888 888 888 888 888 888 888 888 888 888 888 888 888 888 888 888 888 888 o888o o888o o888o `Y8bod8P' o888o o888o o888o `Y8bod8P' </pre> -------------------------------------------------------- </font> <marquee behavior="slide" direction="right" loop="3" slideamount="999" stop="center" ><h1>On the run</h1></marquee> <marquee behaviour="scroll" direction="down">0110100101100 1100010000001 1110010110111 1011101010010 0000011101110 1100001011011 1001110100001 0000001110100 0110111100100 0000111001001 1001010110000 1011000110110 1000001000000 1101101011001 0100100000011 0011001101001 0110111001100 1000010000001 1011010110010 1001000000110 1111011011100 0100000011010 0001100101011 0110001101100 0110001001101 1110111010101 1011100110010 0011010000110 0001011000110 1101011011001 0101110010011 1001100101110 0110001101101 1110110110100 1000000110100 1011011100010 0000011101000 1101000011001 0100100000011 1001101100001 0110110101100 1010010000001 1000010110110 0011011000110 1001011000010 1110011001000 0001100001011 1001100100000 0110110101111 0010010000001 1100110110100 1011101000110 0101001001110 1110011001000 0001101011011 0010101100101 0111000000100 0000111100101 1011110111010 1011100100010 0000011010000 1100101011000 0101100100011 1001100100000 0110010001101 1110111011101 1011100010000 0011000010110 1110011001000 0100000011110 0101101111011 1010101110010 0010000001100 0110110100001 1010010110111 0001000000111 010101110000. <center> From the law!!!!!</center></marquee> ---------------------------------------------------------- <table border="1" bordercolor="0000000" style="background-color:#40FF00" width="10" cellpadding="" cellspacing=""> <tr> <td>S</td> <td>A</td> <td>T</td> <td>O</td> <td>R</td> </tr> <tr> <td>A</td> <td>R</td> <td>E</td> <td>P</td> <td>O</td> </tr> <tr> <td>T</td> <td>E</td> <td>R</td> <td>E</td> <td>T</td> </tr> <tr> <td>O</td> <td>P</td> <td>E</td> <td>R</td> <td>A</td> </tr> <tr> <td>R</td> <td>O</td> <td>T</td> <td>A</td> <td>S</td> </tr> </table> <p style="font-family:verdana,arial,sans-serif;font-size:10px;"> Leave your username , if intrested in co-op with me on some project's <form name="input" action="SubmittedUsername's.asp" method="get"> Username: <input type="text" name="user" /> <input type="submit" value="Submit" /> </form> </center></div> <div id="footer" style="background-color:#C0C0C0;clear:both;text-align:center;"> @hellboundhackers.org</div> </div> HI I have try this code in the ie , it was working good but i try ir in the opera/firefox and both of them was not get the effects . how can solve it ? code: <table border='0' ' bordercolor='#FFFFFF' style='border:dotted;border:1px;;border-color:#FF0000> TNX I'm looking to write a form with input fields which, upon submitting, would post to a specific forum. Now, I'm not sure if this is some kind of javascript trickery or something (I am far from familiar with JS). Here's an example of this page: http://www.violentrevolution.net/e10...y/survey.php?2 Now, what happens upon submitting that forum, the information is posted to a forum where clan members can discuss the application. I'm looking to replicate that function, but I've gone over the code and I can't seem to see the modularity of it (i.e. changing the forum to which it posts). Thanks for any help in advance. ok I tride other fourms but they did not help me at all so i asking here. this table is not working and I am having trouble with it. I have this code for the table: <TABLE border=1 backround="file:///C:/Documents%20and%20Settings/crocker%20bob/My%20Documents/My%20Pictures/content%20box.bmp"> <TR> <TD>I rock</TD> <img width="1" height="100" align="left" src="invisible.gif"> </TD> </TR> </TABLE> but when I try to add the width for the table the backround for the table dissapears. my question is why when I try to add a width for the table the backround for the table dissapers? and how can i fix this? Hi, Been having a few problems with my code and need to seek help! I have pasted the code below of what i currently have, which works but the code it's self is invaild and will not pass xhtml checker. This is because i have the link arround other tags so the idea is when you hover over it the background image will change. If i put the link on its own in front of the code it will then just show the hover backgrounds but the text will be pushed below. I cant see how you get around this issue and help or pointers would be great! Thanks This is what i have: Code: div class ="features"> <a href="design.htm"> <h2>Starter</h2> <ul> <li>item 1</li> <li>item 2</li> <li>item 3</li> <li>item 4</li> </ul> <div class="more">More</div></a> </div> The Css: Code: .features { display:block; width: 202px; height: 202px; float:left; margin-left: 25px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin-top: 25px; color: #0066FF; } .features a{ display: block; height: 202px; width: 202px; background: url(images/button.gif) top left; background-repeat: no-repeat; } .features a:hover { background-position: bottom left; display:block; width: 202px; height: 202px; background-repeat: no-repeat; } A site I work for is using a habbo fansite forum. There using a rare values system by Bobboid. (Project Rare Value) But the page that the forum users are meant to see (with the values on) is completely blank. The system has a CP. Ive been given admin so i can fix it. But the source code is giving me no clues as to whats wrong! Heres the code for the CP. (when you add a value) 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=iso-8859-1" /> <title>Bobboid Rare Values</title> <link rel="stylesheet" HREF="style.css" TYPE="text/css" media="screen"></head> <body> <div id="main"> <p><img src="banner.png" width="500" height="175" /></p> <div id="navigator"> <p><strong>Navigator</strong></p> <p><br /> <a href="admin_home.php">Home</a><br /> <a href="admin_password.php">Change Password</a><br /> <a href="admin_logout.php">Logout</a><br /> <a href="admin_editrarevalues.php"><br /> Edit Rare Values</a><br /> <a href="admin_editseasonalvalues.php">Edit Seasonal Values</a><br /> <a href="admin_editsupervalues.php">Edit Super Rare Values</a><br /> <a href="admin_editbankvalues.php">Edit Bank Item Values</a> </a><br /> <a href="admin_editseasonalvalues.php">Edit Other Rare Values</a><br /> <br /> <br /> <a href="admin_addrare.php">Add Rare</a><br /> <a href="admin_editrare.php">Edit/Delete Rare</a><br /> <a href="admin_viewhistory.php">View History </a><br /> <br /> <br /> <br /> <a href="admin_adduser.php">Add User</a><br /> <a href="admin_removeuser.php">Remove User</a><br /> <a href="admin_edituser.php">Edit User</a><br /> <br /> <br /> <br /></p> <p> </p> </div> <div id="content"> <p><strong>Add a Rare </strong></p> <form id="form1" name="form1" method="post" action=""> <label><em><strong>Details</strong></em><br /> <br /> Rare Name <input name="name" type="text" id="name" /> </label> <br /> <label>Rare Type <select name="type" id="type"> <option value="rare">Rare</option> <option value="seasonal">Seasonal</option> <option value="super">Super Rare</option> <option value="bank">Bank</option> <option value="other">Other</option> </select> And heres the code for the page that the forum users are meant to see the values and that on: PHP Code: Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"></HEAD> <BODY></BODY> <META content=ORTNQESHAF name=SKYPE_FRAMEID></HTML> Are there any clues as to how i can rebuild the code for that page? Because someone has deleted it! Please help il find some way to thank you! |