HTML - Problems With Links Into My Site
I have two similar links into my site that act very differently. One is mydomain.com/link1 and the other is mydomain.com/link2. There is a link1.htm file in my root and a link2.htm file in my root. When I enter "mydomain.com/link1" in my browser, I see the page. When I enter "mydomain.com/link2" in my browser, I get a 404. I do see link2 if I enter "mydomain.com/link2.htm" Is there a secret to making this type of link work? I don't remember doing anything special for link1. Maybe b/c it's Friday I can't get my brain around this one. Any help would be greatly appreciated.
Similar TutorialsOk I need a code that would stop links to a specific site, such as photobucket.com. They put links into the slide shows and I need a code that would block these links so that it doesn't not redirect from my page to there's. I'm just now starting to learn html and css so any help would be so welcome. Hi everyone, I have a problem, Im in the process of designing a new ebay listing template for my company and want to add this new template to my listings gradually as i edit them. i cant add it to them all in one big lump as i have over 2000 listings and this would take stupd amoutns of time which quite simply i dont have if i was adding it all at once i would add the "shop categories" bar on the side of the screen which shows the categories of your ebay shop in clickable inks. but i cant do this because when i do it messes up the listings i havent changed yet anyway, ebays not the problem. what i need to know is, is it possible to make a links section much like the shop categories section that i can put on my listing design now youre probably thinking "what! is this guy retarded you just gotta put a few links in a table" but heres the thing, im making everything on the listing template updateable from externally so that i can edit things on it without having to go trhrough each template, for example i am making all my payment information sections and returns policy sections .GIF files so i can link them all to the same image and change them all at once just by changing that image. so what i ideally need is a links section that i can have on another site or something (was hoping youd all be able to explain this to me) that i can have also on my listing templates so i only need to change it on this site to change it on all of them. as im not a vastly experienced web designer the only option i have thought of is embeddign a flash file that uses actionscript to make the links.. but obviously browsers hate flash and not everyone has it installled, also it takes a while to load just for a few links, so this is not a good option if anyone can help i would be very appreciative! Hey guys, I have 2 separate problems, I'll be dealing with both in this thread. If possible, please answer asap, since I'm doing a website for my aunt's company, and I'm sort of running on a deadline. Any answers for either of the questions are welcome 1) Links - CSS Basically my stylesheet is supposed to set all my links to a black colour, even if visited, hovered over, etc, etc. The only problem is, the unvisited links are showing up in that awful default blue colour (I'm sure you all know what I mean). This is what my CSS looks like: A:link { text-decoration: underline; color:#000000; font-weight: bold; } A:visited { text-decoration: underline; color:#000000; font-weight: bold; } A:active { text-decoration: underline; color:#000000; font-weight: bold; } A:hover { text-decoration: underline; color:#000000; font-weight: bold; } Can anyone help me with this? 2) HTML/php contact form So I have a contact form on my website, and it seems to work fine. The only problem is that when my e-mail receives it, only the LAST field shows up (in this example, the 'message' field). The others just don't appear - it's as if the form only has that one field. I have two sets of code for my contact form - this is the one on the contact page: <form action="/contactform.php" method="post"> <b>Name:</b> <input type="text" name="cf_name"><br> <b>E-mail:</b> <input type="text" name="cf_email"><br> <b>Message:</b><br> <TEXTAREA NAME="cf_message" ROWS=4 COLS=30> </TEXTAREA><br><br> <center><input height="4px" type="submit" value="SEND"> <input type="reset" value="CLEAR"></center> </form> And this is the contactform.php file: <?php $field_name = $_POST['cf_name']; $field_email = $_POST['cf_email']; $field_message = $_POST['cf_message']; $mail_to = 'ggmdolly@gmail.com'; $subject = 'Message from a site visitor - '.$field_name; $body_message = 'Name: '.$field_name."\n"; $body_message = 'E-mail: '.$field_email."\n"; $body_message = 'Message: '.$field_message."\n"; $headers = 'From: '.$cf_email."\r\n"; $headers .= 'Reply-To: '.$cf_email."\r\n"; $mail_status = mail($mail_to, $subject, $body_message, $headers); if ($mail_status) { ?> <script language="javascript" type="text/javascript"> alert('Thank you for your message. We will get back to you shortly.'); window.location = 'contact.php'; </script> <?php } else { ?> <script language="javascript" type="text/javascript"> alert('Message failed. Please retry or send us an email directly.'); window.location = 'contact.php'; </script> <?php } ?> Thanks to anyone who can help! This is so frustrating! I have a set of image links on the home page of my website, just like this: <a href="t-store.aspx"><img border="0" alt="Online Store" src="site/include/cssstore.gif"></a> For some reason, they don't work at all on Safari (on a Mac, no idea about Windows Safari). I don't really see what could possibly be causing that. There doesn't seem to be anything in the CSS that could cause this either, the div is just: text-align: center; float: right; width:200px; Worst comes to worst, I could make them into text (which might have been the right thing to do from the beginning), but now I just want to figure this out! Any ideas? EDIT: Text links didn't work either, but other links on the page do. Is there something that would make links not work in one div on a page? H'i, I am a new member but have several years' experience writing my own straightforward websites in HTML. About a year ago, I changed my old tower computer operating on XP for an HP Compaq 610 operating on Windows 7 and since then my problems have started. I have one web site on Freeservers (apparently unaffected by this problem), and three on Bravehost - these are now giving me serious problems after functioning well for 6 years in one case and 3-4 years in the remaining two sites. 1. When I open my website I find a string of unrelated coded script across the top of one of the pages and in many places where <p> exists normally in the HTML script, I have a "/p" appearing ON THE WEB PAGE! There is no evidence of either of these anomalies in the HTML script itself. 2. When I try to edit an error and go back on line to view my change, I find that in place of - perhaps - a one-letter corrected spelling, I have a string of totally unrelated letters and symbols. I have not checked every page of every site but it does seem to be a general problem. Are there known issues with Windows 7 in this area? I usually edit using Notepad and my preferred FTP is Leapware. I can offer a URL if required for viewing. Can anyone help? Thank you, Selwyn. Ok. Im starting a site for the games/apps that iv'e been making. Here is what I have: Code: <HTML> <head> <title>Lithium Games Home</title> </head> <body> <body bgcolor="Silver"> </body> <p style="text-align: center;"> <img src="http://img337.imageshack.us/img337/3710/lglogoxf4.gif" border="0" alt="Lithium Games Logo"/> <br /> <img src= http://img209.imageshack.us/img209/703/linesmy2.gif /> <br /> <a href="http://imageshack.us"><img src="http://img291.imageshack.us/img291/7977/homebuttonun3.gif" border="0" alt="Lithium Games Home"/></a> <a href="http://imageshack.us"><img src="http://img146.imageshack.us/img146/1559/gamesbuttondp4.gif" border="0" alt="Download Games"/></a> <a href="http://imageshack.us"><img src="http://img209.imageshack.us/img209/8550/appsbuttones9.gif" border="0" alt="Download Applications"/></a> <br /> <img src= http://img209.imageshack.us/img209/703/linesmy2.gif /> </p> </body> </HTML> Yaa. Heres what it makes: ... Questions: 1.How do I make the secont line image scoot up closer to the link/images? 2.Is there any way to make a line of text that automaticly jumps tp the botem center of the page? ... Thanks. Hi all! This is my first post at the html forums, and I'm quite new with coding in general, so please don't scream at me for being such a noob. I've been planning this site for quite a long while, and only just got into creating it within the last 2 months. It's called star-files.net. In case it's what your thinking, no, this is not a site about celebrities. The "star" is just a catchy phrase to go along with the rest of the domain name. Thus far, I've been creating it using a mixture of notepad (for the html coding that I actually have the knowledge to accomplish), and dreamweaver v8 (for the stuff I need help with or just don't have a clue about, like CSS and java). The forum won't let me include the html in this post, so I'll stick it in the next one. Just look at the source for now. If you have any suggestions for the source code, please let me know. I want to have this improved as much as possible. Anyway, the reason I'm posting this thread in the first place is that IE is giving me problems. Both v6 and v7, and I can easily guess that users with IE v5, 4, 3, 2, and probably 1 are not going to be happy with the way it looks. Straight and simple, the file "BGfade.png" (BG stands for backround) is stretching too far in width. I have it set to stretch to 100% width of the available space between the main table and and the side of the window. Instead, It stretches farther, causing a horizontal scroll bar to appear. Anyone know why this happens, and better, how to fix it? Lastly, I have another problem, but I know that fixing it will probably require CSS or java... It's the "transparent-pngs-in-ie" problem. BGfade.png is supposed to be transparent, to show the image being it, SFgrid.(jpg or png, but I can't remember which.). IE has difficulties with this, I know, so I'm trying to find a solution. If anyone has an idea, I'll be most grateful. Thanks! I have read various post all over the net about site problems in IE but ok in Firefox, Safari etc. Well, I have that problem too and have failed to identify the problem within my site. I am a novice websiter - relying on DW to do most of it for me! So any help would be appreciated. see www.nailseachoral.org.uk the navigation bar should not have a box around the words (present, future, gallery etc) and the home button should not have a purple box around it! Looks ok in Firefox and Safari. I am suspecting the image sizing code could be a factor? Any suggestions would be appreciated and thanks, Hi: I'm having problems with IE viewing my site. Unfortunately a lot of my viewers still use IE, but the way the design was made (Open Source design), the right side is in the first part of the file (<div id="content">) and the left side is afterwards (<div id="left">). It was working fine in IE for a while but then just suddenly stopped working after I was editing. Not sure what I did. Site demo: www.neptuneware.com Username: gametest Password: penguins When prompted. Could anyone please look at it in IE and tell me why it's not working. All HTML is in the source code (nothing's hidden), but here is the CSS file: Code: /* ** BLUE:SKY - main stylesheet ** This CSS file makes the webpage look pretty ;-) ** ** March 5, 2006 - (version 1.0) ** ** this is a part of the open source layout by ** Jonas John (www.jonasjohn.de) ~ made for gameindicator.com ** GAMEINDICATOR.COM using OPEN SOURCE WEB DESIGN (OSWD.ORG) ** GameIndicator thanks OSWD and Jonas John for our website design. */ /* page overall: bg used to be a5ddf8 */ html * { margin: 0; padding: 0; border: 0; } body { margin: 0.5em 0em 2em 0em; font-size: 100%; font-family: "Lucida Grande", Verdana, Arial, sans-serif; line-height: 1.1em; text-align: center; background-color: #fff; background-image: url(../images/background.png); background-repeat: repeat-x; } #page { width: 1000px; text-align: left; margin-left: auto; margin-right: auto; } /* header: */ #header { position: relative; width: 100%; height: 2.8em; color: #fff; vertical-align: middle; text-align: left; } #header a:link, #header a:visited { color: #FFFFFF; text-decoration: none; font-family: "Trebuchet MS", Arial, Tahoma, sans-serif; font-weight: bold; font-size: 1.9em; letter-spacing: -0.1em !important; letter-spacing: -0.2em; line-height: 1.2em; } /* left column: */ #left { width: 24%; float: left; position: relative; font-size: 0.8em; } /* DIV NAV EXTRA ** border-right: 0.18em solid #4284B5; ** border-bottom: 0.16em solid #4284B5; */ div#nav { background-color: #fff; width: 90%; border: 1px solid #555555; } #nav ul { list-style-type: none; padding: 0.5em 0em 0.9em 0em; } #nav ul li { padding: 0.03em 0em 0.03em 0.9em; margin-right: 0.3em; } #nav a:link, #nav a:visited { color: #2E668B; } #nav a:hover, #nav a:active { color: #000; } /* LEFT BOX EXTRA ** border-right: 0.18em solid #4284B5; ** border-bottom: 0.16em solid #4284B5; */ div.left_box { background-color: #fff; width: 90%; margin-top: 1em; border: 1px solid #555555; } /* LEFT BOX AND NAV H3 EXTRA ** border-top: 0.1em solid #65B6E3; ** border-left: 0.1em solid #65B6E3; */ div.left_box h3, div#nav h3 { margin: 0em; padding: 0.2em 0em 0.2em 1em; font-size: 0.8em; color: #fff; background-color: #4284B5; text-transform: uppercase; font-family: Verdana, Arial, sans-serif; border-bottom: 1px solid #555555; } div.left_box p { margin: 0em; padding: 1em 1em 1em 1em; } div.left_box a:link { color: #2E668B; } div.left_box a:visited { color: #254A65; } div.left_box a:hover, div.left_box a:active { color: #000; } /* innerbox ** border-right: 0.15em solid #7BA5C6; ** border-bottom: 0.15em solid #7BA5C6; */ div.inner_box { } /* content column: */ /* CONTENT EXTRA ** border-right: 0.2em solid #4284B5; ** border-bottom: 0.2em solid #4284B5; */ #content { float: right; display: inline; position: relative; width: 75%; font-size: 0.75em; border: 1px solid #555555; background-color: #fff; } #content h1 { clear: both; margin: 0em 0em 0em 0em; padding: 0.5em 0em 0em 0.1em; font-size: 1.7em; font-family: "Trebuchet MS", Arial, sans-serif; color: #FF6300; border-bottom: 0.05em solid #FF9853; line-height: 1em; } #content p { margin: 0em 0em 0.5em 0em; padding: 0.35em; } /* PATH EXTRA | border-right: 0.23em solid #7BA5C6; */ #path { font-family: Verdana, Arial, sans-serif; margin: 0em 0em 0em 0em; padding: 0.4em 0.6em 0.4em 0.6em; font-size: 0.9em; color: #2F5E80; background-color: #D0E7F4; border-bottom: 1px solid #555555; } #content a:link { color: #2E668B; } #content a:visited { color: #255270; } #content a:hover, #content a:active { color: #000; } #content acronym { border-bottom: 1px dotted #4284B5; cursor: help; margin: 0; padding: 0; } /* MAIN EXTRA ** border-bottom: 0.2em solid #7BA5C6; ** border-right: 0.2em solid #7BA5C6; */ #main { padding: 0.5em 1.5em 1.5em 0.7em; } div.img_left, div.img_right { border-bottom: 0.09em solid #4284B5; border-right: 0.1em solid #4284B5; } div.img_left { float: left; margin: 0.5em 0.8em 0em 0em; } div.img_right { float: right; margin: 0.5em 0em 0em 0.8em; } div.img_left img, div.img_right img { display: block; border: 0.35em solid #7BA5C6; margin: 0; padding: 0; } /* this clears floating (e.g images) */ br.clear { clear: both; display: none; } /* footer: Margin (no spec side) used to be 0em, EXTRA padding: 0em; */ #footer { font-size: 0.6em; clear: both; color: #027BC1; text-align: right; } #footer p { margin: 0em; padding: 0.1em; } #footer a:link, #footer a:visited { color: #027BC1; } #footer a:hover, #footer a:active { color: #000000; } http://goldenworldgoods.awardspace.com/ Hello again, I did this site in Dreamweaver, looked fine in my dreamweaver editor, uploaded it and voila everything goes nuts. List of Problems: The Links are not positioned properly, not big enough plus the drop downs to the bottom and not to the right. That was properly my fault since I just copied a suckerfish method... But can someone help with this. If you study the News Header in the CSS, it says it has a background image, how ever it doesn't show when I uploaded it. I know the url and the pic is correct cause it worked in Dreamweaver... The background for "welcome" is all the way up there which isn't supposed to happen, it supposed to be right on top of the Hello text but that isn't happening either. The hello and welcome are supposed to be aligned to the left of the right header. Thats about it, please can someone help me. I've changed the format of this like 3 times just to get it correctly done, but nothings working. Thank you And don't worry I got it all validated and what not Hello. I have problem with creating a website for my Counter-Strike team. When I trying to write match info, and insert there a little flag, it always goes below map picture. It goes there everyway... with FrontPage, with PageBreeze, even with a WordPad, then i tried to edit HTML code manualy. Here is a screenshot: I realy need this problem to be solved. Sorry for my english. Hey everyone, Working on a site for this church. The site is www.graceheritagechurch.com . I have a few problems that I want to touch up: 1)First, I have it on the home and about us pages where the td extends 100% so if there is scrolling, it is using the right scrollbar and not a scrollbar inside the i-frame. If you look at the Our Beliefs section, I can't say the same for that. What code do I need so the only scrolling is on the right side and it just extends until all the text is done? 2)Lastly, If you go to the home page and make the text size a good bit bigger, the horizontal scroll will appear in the iframe. I don't want this, and I know most people don't use font size that big, but the preacher I'm making this site for does and it's important that I can get it off there. Any help with these two basic questions is greatly appreciated. Help ASAP! Thanks, Kyle I dont know what the solution is but almost everry site that I create doesnt work in internet explorer! the links are wax-bar.ca and imagearts.ryerson.ca/nsahota It just shows a blank screen! I would really appreciate any help with this. Thanks in advance! Hey guys, Im workign with a new client and she had a previous designer do her site. Problem is it was done in Frontpage has a referenced .dwt file and Im trying to edit this. I generally work with puremarkup but have dreamweaver to get an instant visual change as I do this. My problem is as i'm trying to change stuff its not allowing me to do this. Also in the directory there are tons of _vti directories. There is a form on her site which was done in ASP so in general I'm slightly confused as to the best way to edit her site. I even just copied the code and pasted it into a new window and its giving me hangups about this. I think the way Frontpage generated the code is wonky. The site URL is alongcamemary.biz Can you guys make some suggestions on the best way to approach this. Thanks, Richard Hi everyone, I hope I have posted this in the right area. This is my first time posting here. I currently have my main pages listed at the top of my site as graphics (see fussybaby.ca). I would like to potentially remove these graphics and use text links instead - I had the graphics designed for me, so I can't just go in and make new ones, however I'd like to change/rearrange the links and add some new ones. So my question is: How hard is this to do? Is this something I need to hire someone to do for me? Thanks in advance for any advice! I am wondering if it is possible to create an INDEX.HTML to redirect to another website? I would like it to display the redirected site, but if possible keep to the original address.. e.g. A site named www.mysite.com, with an INDEX.HTML to redirect to www.othersite.com, which displays OTHERSITE with www.mysite.com in the address bar. Hope I explained ok, any responce would be much appricated! Thanks! this is my page http://web.vtc.edu/users/cjb06271/CI...nal/order.html there are several things I would like to happen. 1. the right collumn background to be where the right collumn should be(so other links in navbar) 2.The test between the roach pictures to be alligned with the top rather than bottom of pictures (so smaller windows can see) 3. When you size the window smaller than the text, a scroll bar appears, and when you scroll the background no longer exists. If I put it on auto the background will only go as far as the text does. 4. (nice but not required)The cocroachs to be alligned to the left and right of the top bar respectively, and the text in the middle. 5. (nice but not required) the right column background image is being cut in half (as does the top one if you size small enough). any way to make the images ignore the collumns? don't worry about the colors I will be changing them soon does anyone know how to have a link within XSL files? I tried to use <link>, but it doesn't work. here is a sample of my tempalte. I want to be able to have "you have already registered" to be clickable to a link. Is this possible? I've even tried html a href, but no luck. Quote: <xsl:template match="already_reg"> <h2>Submission Sucessful</h2> <p>You have already registered.</p> </xsl:template> Hi, I want to insert a link to hyperlink "consolidating a loan" to the following web address www.debtconsolidationcare.com on my website. My website is http://www.intelligentstudentfinance.com/ and need the link on the orange section where it says Sponsored Links in blue. I have uploaded the files zipped so they can be opened in dreamweaver. The file that you need is index.html. Thanks for the help |