HTML - 2 Easy Questions
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 ? Similar Tutorialscould you guys help me answer these questions ... i am just a begginer and dont know a lot of answers...cheers guys and thanks for advance just give your best shot at these questions thank you in advanced 1. Someone wants to load some interview videos on the webpage for the customers to view and download What should he include when linking to them a) type of video b) size of video c)tips for viewing d) all of the above 2. f that is a direct child of an element e a) e-f b) e < f c) e + f d) e>f 3. to accent the division between snowboard types ..use which of the following a) whitespace b)horizontal line c) two sided align d)style 4. to position an element at a specific spot while the rest of the page scrools you use _________ positioning a)relative b) fixed c)static d) absolute 5. what happens when the co-ords of your <ara> tag in an image overlap a) the last tag is used b)the tag used is selected arbitrarily c)the first tag is used d)overlaping tags are ignored 6.by convention if the path and file name are left off the url the browser searches for the file named "index.htm" or "index.html" in the root folder of the web server this file is often the __________page for the Web site a)catalog b)home c)main d)link 7. which style can be used to define a rectangular region througgh which the elements content can be viewed a)region b) clip c)overflow d) rect 8. _______ browsers were incapable of displaying images. a) markup b)text-based c) pda d) graphical 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> 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? 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; } <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 ? 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!! Hey guys.. im sure this is an easy one for you. I am trying to put an img tag into my html code... it's actually an xml file.. here's the code snippet Code: <greeting> <![CDATA[<IMG SRC="superdopetitle.png" ALT="SuperDopeTitle">]]> </greeting> but it just posts the "img src="super...." as text.. not the picture. Please help .. what am I missing? 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? 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! Hi Guys/Girls I've been asked by my employee to design a html background desktop for the pupils and staff for the school. The last time I used my wed delvelop skills was when i was in School. (Ages ago) What am after is a HTML page (semi Transparent) so you can still see the remaining desktop throught it. I'll also need to have a Sub Divides according to Subject and Department. Please go Easy on me as this is going to be my 1st attempt? is this Achievable? 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> 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... 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 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! 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/ 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. 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? I have the need to have the user input her full name on the first html page and display it on the second html page. I understand that i can use the method POST to pass the name from the first page to second page but I dont know how to get the data in the second html page. The problem is that I am told not to use Javascript or cookies Any help will be appeciated Best, DD |