HTML - Anchor Tag Link Not Working Correctly
Okay so I am working on a website and on the services page I used anchor tags to jump to places on the page. They all work great except for one. The page validates and I dont see anything any different from that markup to all the other markups I have done. It is up on a test server at www.vsncom.com/melkay/services.html The link thats not working is underneath the Electrical maintenance block and it is the link to go back to the top. Also on the entire site. The map page, contact, and services all shift slightly to the left. The pages all use the same css...any ideas? or is it just an optical illusion?
Thank You, Matt Similar TutorialsHow do I make an H1 heading (example: <h1>Business to Business</h1>) into a link that will jump to an anchor lower on the page? What is the code for this? HELP! Any help would be much appreciated Karen I am having a problem with my anchor links disappearing when I click on one. I don't know what is causing this to happen. Here is the link to the problem. When you click any of the links, it takes you to the right place. But scroll back up and you will see that 2 of them disappear. http://www.white-candle.net/Our-Other-Products.html Relevant Code: HTML Code: <CENTER><p> <a href="#bathnbody">Natural Bath And Body Products</a><br> <a href="#cosmetics">Natural Cosmetics</a><br> <a href="#skincare">Natural Skin Care</a></p></CENTER> and the anchor names: HTML Code: <a name="bathnbody"><hr></a> <a name="cosmetics"><hr></a> <a name="skincare"><hr></a> I am wanting to link to a certain option in a select list via an anchor link on another page. Each option displays different info below it using javascript. Example: I have a date on a php based calendar linking to a events page. On the events page is the select list with different events that will show below the list when selected. How can I link that specific date to that event so that it is displayed? Is this possible? Hello Guys, I use Named Anchor to navigate within my webpage. Is there any way how one can navigate back to the clicked link from the destination? Normally the backspace works. But I would like to add a link at the destination and clicking this link would take me back to the clicked-link. Is this possible? I hope I made myself clear. If any of you can give me some advise about this issue, it would be much appreciated. Thanks in advance, Chuma P.S - I read in a site that using the <li> tag can do this. I am unsure how that works either. If any of you have any idea about this, please let me know. Thanks. Using below script after clicking the button it will reload the page and starting the application I want people go to anchor link location after clicking the submit button, for example go to the bottom of the page because the program is in the bottom of the page how to do that guys please help Code: echo '<form action="" id="frm_chat" method="post"><fieldset id="fieldset_chat"><legend>Chat</legend><div>'; echo $err_msg; echo "<label>Nick: </label>".$txt_nick->getHtml()."<br />"; echo "<label>Server: </label>".$ddl_server->getHtml()." or ".$txt_server->getHtml()."<br />"; echo "<label>Channel: </label>".$ddl_channel->getHtml()." or ".$txt_channel->getHtml()."<br />"; echo ' <input type="submit" class="btn" name="btn_chat" value="Chat Now"/></div></fieldset></form>'; Well, this is the first CSS layout i've made, the site right now is EXACTLY how I want it to look, but I think somethings not right... if I fill up where it says "How about some links? " too far, the footer goes to the top of the page, and the "Welcome" ends up in the navigation menu Here is the link I want to know why the following code doesn't work correctly: Code: <table> <tr> <td rowspan="2">Square</td> <th colspan="2">Title</th> </tr> <tr> <td colspan="2">Information</td> </tr> <tr> <td colspan="3">Long description fits in here.</td> </tr> <tr> <td colspan="2">Why, oh why?</td> <td>pt</td> </tr> </table> It should make a table with three columns, the third column is only really used in the bottom line. Is this just a problem with the way html is read or what. I presume this isn't just a browser issue, but in any case I'm using Firefox 2. Cheers. For the life of me I can't seem to figure out why this page jump isn't working. http://www.thegoheens.com/resources/test.html Any help is greatly appreciated. Thanks! I've just started changing my Tumblr page around to make it look more fancy! I put a nice background and such on it, then finally, after looking for hours, figured out how to make my posts container opaque, so that you could actually see the background. Well, when I made it opaque, it also made my posts opaque. So, now some of the photos I'm using on there are not extremely visible. I was just wondering if there's a way to make the post container opaque without making the post content opaque as well? Here's the link to my tumblr page, so you can get an idea of what I'm talking about. http://late-summers-thoughts.tumblr.com/ And I'm not totally sure that this is what you need, but this is the part of my coding where I made the whole thing opaque. div#content{filter: alpha(opacity=75); -moz-opacity:.75; opacity:.75; float:right; width:500px; padding:10px; padding-top: 0px; margin-right: 170px; background: #000000; } div#entry{ background-color:; margin-top:px; padding-top:10px; padding-bottom:10px; } It works correctly, but did I do it correctly to add color? I want the show/hide to be blue and the text to be red. <html> <head> <style type="text/css"> a.showandhide{ color: rgb(0,0,255); } body{ color: rgb(255,0,0); } </style> <title>Test hide thing from TIF T&C</title> </head> <body> <script type="text/javascript"> function showhide(id) { if(document.getElementById(id).style.display == 'none') { document.getElementById(id).style.display = 'block'; } else { document.getElementById(id).style.display = 'none' } } </script> <a href="javascript:void(0)" onclick="showhide('box')" class="showandhide">Show / Hide</a> <div id="box" style="display:none;"> Blah blah blah blah blah blah </div> </body> </html> Hi, I am creating a site in HTML using Dreamweaver. I use rollover buttons to navigate the site which are normally grey but white when rolled over. I have found that when I press the BACK button the button I had previously clicked is white and not grey. Try it out for yourself: http://www.RandAM.org/RichardAsh/ Once the problematic button is rolled over it works normally. Is there a way to stop this from happening? thanks, R Hello, I have put together an internal Server and making a internet website service. Now everything is working just fine and i want to link to dvd files but dreamweaver can't link these files. these files are dvd files which we have after a result of copying the dvd in parts on the harddrive. u can watch these dvd actl with WINDVD and they play just fine but when i try to link to link to these files via the drap and rop in dreamweaver a msg is telling me that the file is not recognized. i have put these files on the server as a test and mapped a network drive and i can get to these files, open them and watch the dvd. I can'tlink or link via the path to it. what could be the problem? i only found out that the server by its self can't play the dvd. a msg is telling me to lower the screen resolution or the colorbit. since i only have a 4MB graphic card in, that would be the problem. I just don't get why i can't link to it. Even when i go via windwos explorer to the file located on the server, i see them i can click them but then it says can not located file. it does work with a link to a notepad or application ... need some help Hi There I'm new to this forum and thanking anyone who helps in advance. I have designed a website for my company which owns and operates bars and hotels in the North East of England. The site looks quite good, and I'm trying to finish it off. One problem I am stuck on is the drop down bar menu of bars and hotels. I want people to be able to choose the venue from the drop down list and then have it take them to the pubs website. However, at the moment it just links to an error page in the website. I designed it in frontpage 2003 and am only really familiar with this programme. I have tried editing the links etc but having no luck. Is anyone able to help? Again, thanks in advance John Gray Hi Guys, I have an image with link tags around it but it doesnt work in IE6. See code: <a href="http://www.site.com"><img src="images/support_button.png" class="supportbutton"/></a> .supportbutton { float : right; margin-top : -0.4em; padding : 0; border : none; } Hi, I've been working on a site which I'm going to launch soon, but I added an image link although for some reason I can't get it to become a link while I have it in the Nav Div. If i take it outside the nav div it will work normal but for some reason not where it is at. The site is http://shokzguide.com If you take a look at the blue download button to the right of the page you will notice that you cannot click on it even though it is a link, if anyone could help I would greatly appreciate it as I can't for the life of me figure out why it isn't working while I have it in the nav. I have a webpage that appears to work with IE6 but not IE7, Firefox 3 or Chrome. I have this tag (among others) embedded in the HTML page: <a href="file:%5C%5Cmspfs01%5Cshared.gsc%5CHR%20GSC%5CSea%5Cindex.html" target="_blank">Internal Documentation</a> When clicked, the following edit is given: Cannot find 'file://mspfs01/shared.gsc/hrpage/hrgsc/%5C%5Cmspfs01%5Cshared.gsc%5CHR%20GSC%5CSea%5Cindex.html'. Make sure the path or Internet address is correct. It appears that the browser is appending the path to the file in the tag to current location path. The path in the tag is the absolute path to the index.html file on that box. And like I said, it does work with IE6. Thank you. Kevin Hello. I'm having this rather frustrating problem. I'm using GoLive to build a really simple site. For some reason, I've been having problems with random text links not working. In checking the code, everything looks okay to me. It works in IE, but I won't even get any indication (when it's moused over or clicked on) that a link exists when it's open in Firefox. The problem is evident in preview, and live. here's the code for the body of the part of the page it's in (I bolded it for the purposes of finding the broken link): < body leftmargin="0" marginheight="0" marginwidth="0" topmargin="0" > < div id="menu" class="menu" > < img src="image-files/darkbox.jpg" alt="" height="360" width="134" border="0" / >< /div > < div id="content" class="content" > < table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#cab388" > < tr > < td width="295" >< img src="image-files/tlcorner.gif" alt="" height="28" width="28" / >< /td > < td >< span style="float:right" >< img src="image-files/trcorner.gif" alt="" height="28" width="28" align="right" / ></span >< /td > < /tr > < tr height="41" > < td colspan="3" height="41" > < h2 align="left" >< font size="+1">Contact Us< /font >< br / > < img src="image-files/divider.jpg" alt="" height="15" width="341" align="top" border="0" / >< /h2 > < p align="left" >If you would like to get in touch with us, please use one of the following options:< /p > < dl > < dd > < p >< strong >Email us: < /strong >contact@anomalydog.com< br / > < strong >Reach us via snail-mail: < /strong >Anomaly Dog, 1644 Lake Road, Youngstown, NY 14174< /p > < /dd > < /dl > < p >< img src="image-files/divider.jpg" alt="" height="15" width="341" align="right" border="0" / >< /p > < br / > < br / > < p > If you would like information about applying as an artist, please look < a href="http://www.anomalydog.com/join/artistinfo.html" >here.< /a >< /p > < /body > The hyperlink to the page is http://www.anomalydog.com/join/artistinfo.html Hi there, I'm experiencing a strange problem in IE with the show-hide layers behavior. I have 4 layers, each with images inside them which are meant to link to other pages. This works fine in Firefox but not so in IE. The odd thing is that when you hover over the images in IE the link appears in the status bar and if you right click and choose "open link" it does work. The site is here www.patons.org/v2/ and its the images at the top that I'm talking about. Any help would be much appreciated. Thanks, Alex |