HTML - Homework Related - Sub Nav
Hey, I would like some help please.
I need to add links to an image. The image is the highlighted silver bar in the screenshot. Everytime I make navigations i always put the text on template in photoshop but for this one i decided to put text over the top of the background image. How would i do this because everytime I set the <td> to have the background as the image so i can put text over the top, it just disapears. Also from previous experience html formats text so its single spaced, so how would i seperate the links out? I hope you undertstand me. The screemshot is attached below thanks. Similar TutorialsPart of my Dida(double i.t) course i have to make a eportfolio. It needs to be handed in this week and i am having trouble with coding my layout. I cant code layoutswith css so all im doing is pyling tables top of each other . The problem is that there gaps between each <tr>(row). How could i get rid of these gaps? The screen shot of my code and layout is attached thanks Hello, i am making a website for my computer class and i want some good nodpad table tags, file:///C:/Users/owner/Music/New%20Folder/page1.html Tell me if that site works if not then later today i will upload it here. I amlost done with the site. Look at this code: <b><br>ChildLink</br></b></address> <address>1443 Cortnic Drive</address> <address>Las Cruces NM 88001</address> <address>505-555-2371</address></h1> I am using this code, style="text-align:right"> but where do I place it because it is not working. I tried putting it before the <address> after what am i doing wrong? also the bold that i want the childlink to be is not working either please somebody help I have a quick question. I am taking a web programming class and I have my homework mostly done...EXCEPT...I can't get the labels on my checkboxes to show up...can anybody help me?? Here is the code I have written for the check boxes. Adoption:<input type="checkbox" name="Adoption" label="Required" value="Required"></input> <input type="checkbox" name="Adoption" label="Suggested"value="Suggested"></input> Any help?? Or can you at least point me in a direction so I can figure it out?? Thanks!! Mitch Ok, so I've been struggling trying to get this to validate successfully. Getting the following errors in this image - http://gyazo.com/54aa5ddb894be0204cc2b7a41c7d2176 Here is the code (linked to an external CSS): Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Chapter 3</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <!--embedded styles--> <style type="text/css"> h1{background-color:#eaeaea; color:#000033;} </style> <!--link style sheet--> <link rel="stylesheet" href="style.css" type="text/css" /> </head> <!--Alex Knipfer--> <body> <!--inline style--> <p style="background-color:red; color:white"> This is the paragraph which the background is configured as red and the text is white. (Number 1 Page 107) </p> <h1>Number 2: (Embedded Style)</h1> <p>This text if brown and Verdana Sans-Serif because of the external style sheet that this page is linked to.</p> </body> </html> Thanks, help much appreciated. Hello All It's been a long time I visited this forum. My question is regarding adding a sound clip and a video clip to my website. I would like either QuickTime (preferably) or Windows player to open up and play the clips. How do I go about coding HTML for this? I thank everyone in advance for your help. BJ I'm taking up HTML editing as a class elective in college and find it very louring in it's creative aspects. I'm messing around with Tables currently and for the life of me i cannot get the table to align directly to the top of the page. There's like a 10px space on the top. I've tried the valign=top or valign=texttop and nothing will make it touch the top of the page with out leaving a space. can some please tell me what i'm missing? Thanks for the help! here's my html code: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <title>Untitled 1</title> </head> <body bgcolor="880000"> <table bgcolor="yellow" border="0" cellpadding="0" cellspacing="0" valign="top" width="800"> <tr> <td style="height: 23px"></td> </tr> </table> </body> </html> I have created a page which consists of 2radio buttons(r1,r2). When user selects radio button1(r1) a table(t1) belong to r1 is displayed.This is by default I mean radio button(r1) is Checked and table(t1) is displayed when this page is runned. When user selects 2nd radio button(r2) a table(t2) is displayed in place of t1. Every thing is working fine.Problem is when user selects radio button2 and if he refreshes page table t1 is being displayed with r2 checked this is where I am Placing problem. Can anyone resolve this issue and give a suggestion how to display table belong to corresponding clicked radio button even after page refresh. deleted8910 Hello, This is my first post here, the site is great so far. Anyways, I have a proxy site and I submitted it to alot of top lists, which require you to put a piece of code to link back to them. Problem is, the little pictures take up alot of space and take a while to load, so I was wondering if there is a way to disable images for a part of the page, so that it will be lots of text instead of pics. (the image link has alternative text). Heres the site: http://www.redprox.com/ Thanks! Hello everyone. I'm in the middle of designing my new portfolio in ASP.NET and everything works fine in IE7 but once I opened the site up in FF, I was horrified by the outcome. I've been looking forever for a possible slip-up but I haven't been able to find anything that seems wrong. Firefox. Internet Explorer. CSS Code: html { font-family:tahoma; background-image:url(img/background.png); background-repeat:repeat-x; background-color:#b5b5b5; } #header { background-image:url(img/body_top.png); width:650px; height:140px; } #body_middle { background:url(img/body_middle.png); background-repeat:no-repeat; width:650px; } #body_fill { background-image:url(img/body_fill.png); width:650px; background-repeat:repeat-y; } #body_bottom { background-image:url(img/body_bottom.png); width:650px; height:19px; } #menuwrapper { width:130px; height:200px; position:relative; top:15px; left:18px; text-align:left; padding:0px 0px 0px 0px; float:left; } .menu { margin:5px 15px 0px 0px; } a { color:#c5c5c5; } .contentholderR { float:right; width:475px; margin:10px 20px 10px 20px; } .contentholderL { float:left; width:475px; margin:10px 20px 10px 20px; } .content_header { background-image:url(img/content_header.png); background-repeat:no-repeat; height:15px; width:475px; padding-left:15px; font-family:tahoma; font-size:15px; color:#FFFFFF; } .content_mid { background-repeat:no-repeat; border-left:solid 3px #c8c8c8; border-right:solid 3px #c8c8c8; width:459px; min-height:150px; font-family:Tahoma; font-size:12px; color:black; padding-left:10px; padding-top:10px; } .content_bottom { background-image:url(img/content_bottom.png); background-repeat:no-repeat; height:9px; width:475px; position:relative; } HTML Code: <%@ Master Language="C#" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %> <!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 runat="server"> <title>Untitled Page</title> <link rel="stylesheet" href="style.css" type="text/css" /> </head> <body> <form id="form1" runat="server"> <div id="wrapper"> <div id="header"></div> <div id="body_fill"> <div id="body_middle"> <div id="menuwrapper"> <asp:Menu ID="Menu" runat="server" CssClass="menu" DataSourceID="SiteMapDataSource1" StaticDisplayLevels="3" BackColor="White" DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#C8C8C8" StaticSubMenuIndent="10px" DynamicEnableDefaultPopOutImage="False" Width="124px"> <Items> <asp:MenuItem Text="dasdasf" Value="dasdasf"></asp:MenuItem> <asp:MenuItem Text="New Item" Value="New Item"></asp:MenuItem> <asp:MenuItem Text="New Item" Value="New Item"></asp:MenuItem> <asp:MenuItem Text="New Item" Value="New Item"></asp:MenuItem> <asp:MenuItem Text="New Item" Value="New Item"></asp:MenuItem> <asp:MenuItem Text="New Item" Value="New Item"></asp:MenuItem> </Items> <DynamicHoverStyle BackColor="#E5E5E5" ForeColor="#FAA019" /> <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" ForeColor="Black" /> <DynamicMenuStyle BackColor="#F7F6F3" /> <StaticSelectedStyle BackColor="#E5E5E5" Font-Bold="True" Font-Names="Verdana" Font-Overline="False" ForeColor="Black" /> <DynamicSelectedStyle BackColor="#E5E5E5" ForeColor="Black" /> <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" ItemSpacing="1px" BackColor="White" /> <StaticHoverStyle BackColor="WhiteSmoke" ForeColor="Black" /> </asp:Menu> <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" /> </div> <div id="contentwrapper"> <div class="contentholderR"> <div class="content_header"> <asp:ContentPlaceHolder ID="content_header_1" runat="server"> Lorem Ipsum</asp:ContentPlaceHolder> </div> <div class="content_mid"> <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"> </asp:ContentPlaceHolder> </div> <div class="content_bottom" style="font-size: 12pt; font-family: Times New Roman"></div> </div> <div class="contentholderL" style="font-size: 12pt; font-family: Times New Roman"> <div class="content_header"> <asp:ContentPlaceHolder ID="content_header_2" runat="server"> Lorem Ipsum</asp:ContentPlaceHolder> </div> <div class="content_mid"> <asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server"> </asp:ContentPlaceHolder> </div> <div class="content_bottom"></div> </div> <div class="contentholderR"> <div class="content_header"> <asp:ContentPlaceHolder ID="content_header_3" runat="server"> Lorem Ipsum</asp:ContentPlaceHolder> </div> <div class="content_mid"> <asp:ContentPlaceHolder ID="ContentPlaceHolder3" runat="server"> </asp:ContentPlaceHolder> </div> <div class="content_bottom" style="font-size: 12pt; font-family: Times New Roman"></div> </div> </div> </div> </div> </div> <div id="body_bottom"></div> </form> </body> </html> Can someone point out what I'm doing wrong? Question: 1 Which of the following is invalid value for the shape attribute of an area tag? a. circle b. tri c. rect d. poly Question: 2 A few lines in an HTML paragraph are to be formatted differently from the rest of the lines. Which tag will assist in this? a. div b. p c. span d. format Question: 3 Which of the following values for the scrolling attribute for the frame tag is not valid? a. yes b. default c. auto d. no Question: 4 You placed four radio buttons on a web form. You want the users to specify whether they are male or female and whether they are married or single. The code is as follows: Male: <input type="radio" checked name="chk" value="male"> Female: <input type="radio" name="chk" value="female"> Married: <input type="radio" checked="checked" name="chk" value="married"> Single: <input type="radio" name="chk" value="single"> What is wrong with the above code? a. It will allow the user to choose only the male and the married options. b. It will allow the user to choose only the female and single options. c. It will allow the user to choose only one option out of the four. d. It will allow the user to choose all the four options at the same time. Question: 5 Which of the following attributes comes in handy when borders have to be put between groups of columns instead of every column? a. col b. colgroup c. rowspan d. row Question: 6 What would you infer from the following code in an HTML 4.01 Web site? <body topmargin=2 leftmargin=2> a. The top margin and left margin of the webpage is 2 pixels. b. The bottom margin and right margin of the web page is 2 pixels. c. Both of the above. d. None of the above. The topmargin and leftmargin attributes are not valid HTML 4.01 body attributes. Question: 7 Where must the styles specified for a CSS internal style sheet be located? a. Inside a table tag b. Inside a div tag c. Inside the head tag d. Anywhere on the webpage Question: 8 Which of the following is/are a valid value for the type attribute of the input tag? a. text b. icon c. reset How to create explorer like menu in Html or java script? eg + Game(inside this Cricket and Football) when click on + sign it become like-- - Game -Cricket -Football Can anybody suggest me, by which command I can do it? Commercial Removals || Removals and Storage||Specialist Removals |