HTML - Easy Coding Help For Newbie
Basically this is the code (in bold, below) I have right now, and it's in a PHP file. What happens is that you click the link "Click here to print your answers" it opens a second window that allows you to print your answers.
What I would like to know how to do is to have the link both open the second windows and print answers, like it does already, and to then have the original window navigate to http://www.mypage.com I thought there was something to do with onclick, but I don't know squat about how to make it work... Thanks in advance! if ($thissurvey['printanswers']=='Y') { $completed .= "<br /><br />" ."<a class='printlink' href='printanswers.php' target='_blank'>" .$clang->gT("Click here to print your answers.") ."</a><br />\n"; } Similar TutorialsI just need to write an html page (or asp) or whatever, that takes a varialble from a form and opens/makes an http call to another page using the variable the user input. For example, the user enters there name (Bob)on a page and hit submit. I need Bob at the end of the call. I then need the following opened/called or whatever. http://www.somesite.com/script/Bob I am very new to programming and just need this for a quick work project. Hey Guys, I am a graphic designer and don't know much about HTML (but am taking a class and about to start a few books). I am using tumblr right now and I am try to replace the automated header ("black atom studio") with a jpg banner. Anyone know where in the HTML I would do this and what code I would need to swap in? (the website I am working at is www.blackatomstudio.com ) (not a plug, just incase you guys need to see what I am talking about) Here is the code I need help on. http://snipplr.com/view/8582/blackatoms-tumblr/ I've designed a web page using WebEasy and I'm going to have to insert the meta tags manually. I've figured out where the code has to go and I know the code has to be something like this: <meta name="keywords" content="keyword, keyword, keyword"> Anyway, my question is what if the keywords don't all fit on one line? Do I let it wrap around like this: <meta name="keywords" content="keyword, keyword, keyword, keyword, keyword, keyword, keyword, keyword, keyword, keyword, keyword, keyword, keyword, keyword, keyword, keyword, keyword, keyword, keyword, keyword"> Or do I start a new line, like this: <meta name="keywords" content="keyword, keyword, keyword"> <meta name="keywords" content="keyword, keyword, keyword"> Thanks Oh, and if I change the meta tags do I have to resubmit my site to google? Thanks I am struggling with a very basic problem. I cant get a link to work on my website. I have a index.html site with the main code which links to a page called faq.html. The relevant HTML code is as follows (i also include the stuff at the top of the html page in case its relevant). I also include the CSS script (on a separate file) which may or may not be relevant. Can anyone help? <html> <head> <title>THREE-COLUMN FIXED LAYOUT WITH FIXED BOXES</title> <Link rel=stylesheet href="styles.css" type="text/css"> <! DOCTYPE html PUBLIC " - //W3C//DTD XHTML 1.1//EN" "http://w3.org/TR/xhtml11/DTD/xhtml11.dtd"><LINK rel=stylesheet type=text/css </head> <BODY> <BODY BACKGROUND="topbackground.gif"> <DIV id=header> <DIV id=logo> <a>giftcardgo.com</A> </DIV> <DIV id=topnav> <UL> <LI><A href="faq.html">FAQ</A> <LI><A href="#">About us</A> <LI><A href="#">Contact us</A> </LI></UL></DIV> </DIV> </div> The CSS script relevant to the top navigation (which is where the FAQ tab and link is) is as follows: #topnav { clear:left; position: absolute; left: 400px; top: 75px; margin:0; padding:0; text-align:center; } #topnav ul { margin: 0px; padding: 0px; font-family: Arial, Helvetica, sans-serif; font-size: small; color: #FFF; line-height: 80%; float: right; } #topnav li { display: inline; list-style-type: none; font-size: 80%; } #topnav a { padding: 5px 0; width: 65px; background: 3399ff; color:black; text-decoration: none; } #topnav a:hover { border-top: 1px solid #FFFFFF; border-left: 1px solid #FFFFFF; border-bottom: 1px solid #FFFFFF; border-right: 1px solid #FFFFFF; background: 3366ff; } This is my main page: http://www.bestsellersworld.com I want to get rid of the extra space on the right hand side where everything will fit on the page. I don't know much about tables. Can someone help me? Hi there, I haven't coded in HTML for ages and now I'm just trying to put a little site together - but I've forgotten how to do one particular simple thing, and I can't find info anywhere! Basically, I want to have all my text spread out on one main page, and use those special links that you can do to certain parts of the page. I know that it involves something to do with hashes! So you have one hash tag at a certain part of the page, and you can click on a link to take you directly there. Sorry this is so basic!! Many thanks! I was trying to link a video I uploaded to my ISP on myspace, but I can't get it to happen. I have looked around on Google and everywhere else and whatever is recommended looks like it will work, but doesn't play anything. (I try previewing it through FrontPage) Any ideas? HTML Code: <p align="center"> <object width="500" height="375" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" hspace="0" border="1"> <param name="Filename" value="http://members.cox.net/sleazypeas/iremember.avi" /> <param name="AutoStart" value="True" /> <param name="ShowControls" value="False" /> <param name="ShowStatusBar" value="True" /> <param name="ShowDiplay" value="False" /> <param name="AutoRewind" value="True" /> <embed width="500" height="375" hspace="320" filename= "http://members.cox.net/sleazypeas/iremember.avi" autostart="True" showcontrols="True" showstatusbar="True" showdiplay="True" autorewind="True" border="1" src= "http://members.cox.net/sleazypeas/iremember.avi"></embed></object> </p> Hey guys, I'm new to the forums. My name is Joe. I am a network admin of a decent size company and just recently picked up the job title of web site support, of which I know almost nothing about. The only html experience I have had is doing ebay listings. Ok enough of that, heres my problem. On the main page of our company website we have a weird symbol showing up that doesnt appear to be in the code. What shows is: "Queen City Reprographics is a leading supplier of digital imaging services, supplies and equipment. Since 1908 we have been providing our clients innovative solutions for their imaging needs. Although founded as a blueprint company in 1908, we have evolved into a national supplier of state of the art imaging solutions. Now almost 100 years later, we are recognized as an industry leader with the highest level of commitment to our clients, employees, and vendors. Find out why we are "Not Just A Source, but a Resource�". The symbol in question is the little square after the last word "resource" some of us see it as a blank square and others see it as a small square with a question mark in it. I have a very basic knowledge of this kind of stuff and I dont seem to see it in the code so could someone tell me what im doing wrong? You can go to www.qcrepro.com to see it for yourself. Here is the code as I see it. Thanks: <table width="840" border="0"> <tr> <td width="524" height="150"><div align="justify"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Queen City Reprographics is a leading supplier of digital imaging services, supplies and equipment. Since 1908 we have been providing our clients innovative solutions for their imaging needs. Although founded as a blueprint company in 1908, we have evolved into a national supplier of state of the art imaging solutions.<br > <br > Now almost 100 years later, we are recognized as an industry leader with the highest level of commitment to our clients, employees, and vendors. Find out why we are "Not Just A Source, but a Resource".</font></div></td> my page has gaps where it shouldn't... at least in IE it does... it looks ok in Firefox... any suggestions?????? http://kalcotter.com/flourish/prostasense/ Hey, I need to set up a ****ty little page like this one so that our vendors can download our delivery items from one place. http://www.shorelineent.com/del/index.html Obviously, setting up the links on the page is no problem, but what I can't figure out is how to get it to prompt them for a password before they can download the file like it does there. Can anyone give me any ideas? I feel like I should know this... Ok ive made a 100% custom html website and it looks pretty good for my first one but i just added new pages and ive added them with a code the this Code: <li><a href="MYLINKHEREMYLIKEHERE">Order</a></li> and i have it leading to the second page but when it takes me to the second page it has no background and it only shows the red font but if you highlight the page you can see everything else take a look! The home page looks fine its just the Prices and the Order page that dont work. http://www.rsessmines.tk Thanks for the help!! Ok ive made a 100% custom html website and it looks pretty good for my first one but i just added new pages and ive added them with a code the this Code: <li><a href="MYLINKHEREMYLIKEHERE">Order</a></li> and i have it leading to the second page but when it takes me to the second page it has no background and it only shows the red font but if you highlight the page you can see everything else take a look! The home page looks fine its just the Prices and the Order page that dont work. http://www.rsessmines.tk Thanks for the help!! 1 ) After a lot of trial and error trying to work out why one of my form buttons was slighty out of place to where it should be i traced it to the fact i didin't have this at the top of the html, HTML Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> can anyone enlighten me here, all other elements seemed to be aligned up, but one button wasn't until i added this? 2) If you are linking to 2 different external css files, so HTML Code: <link rel="stylesheet" type="text/css" href="styleXXX.css" /> <link rel="stylesheet" type="text/css" href="styleYYY.css" /> etc... and have say a same class in both but each class with different properties then what happens, for ex, you could have a body class in styleXXX.css as, HTML Code: body { background-color red; } and in styleYYY.css which also has a body class but different background color, such as, HTML Code: body { background-color green; } which one takes precedence ? <html> <img src="http://salesmarketinginfo.googlepages.com/eye-world.jpg" width="695" height="120"> <hr> <bgcolour="white"> <br></br> <body> <form action="MAILTO:adamz14@hotmail.com" id="thisform" method="post" enctype="text/plain"> Name:<br> <input type="text" name="name"> <br> Mail:<br> <input type="text" name="mail"> <br> Comment:<br> <input type="text" name="comment"> <br><br> <input type="submit" value="Send"> <input type="reset" value="Reset"> </form> </body> </html> How do I change height of "comment" input ? Hi-- I have a button: <input type="submit" value="Submit" name="submit"> and I'd like to give its attributes to an existing text link: <a href="#" id="submit" class="link1">submit</a> so the text link will do the same job as the button (submit a contact form). Is it possible to do this? Any help would be greatly appreciated! Many thanks! i came across this website: http://www.dhtmlx.com/ I downloaded some of their scripts. But i find it almost impossible to follow their instructions, is it meant to be easy or hard? Ok, this should be an easy question.... You are at website A. A is the homepage. Website A has 3 pages within it: 1 2 3 You are in Website A, scroll down the page 3/4 the way, and click/go to page 1. You click the back button. It jumps you back down 3/4 the way. The question: what's the code that brings you back 3/4 the way down the page? Is that in the html or a built in feature in the browser? Thanks! I just need a little help installing adbrite full page ads on my wordpress site. Which file do I insert the code on? it says it needs it between the body tags...ive tried going through various files in the theme and pasting the code in with no luck. Can anybody help me please? Much appreciated. www.ozconspiracyhouse.org Howdy, Got a really easy (I think) question. ------ [ ] <- total viewable window space [1][2][3] <- now with 3 divs in it 1 & 3 = divs that take up all available space (fluid, stretch to fit window size). 2 = div with a set width. 1, 2 & 3 all have a height of 100%. ------- So basically instead of the "holy grail" 3 column layout with a fluid center and fixed sides - I want a fixed center with fluid sides. Also, I can achieve the same look by taking out divs 1 and 3 and just having div number 2 centered. But I don't want that, I want the whole page covered in divs! Any help would be greatly appreciated! Thanks, Morphy. Take a look at my site. Just in the making. www.ringgoldhs.com I want my navigation bar to be horizantal. It is made of individual "image links" Quick help please? |