HTML - Make Html Only Accessible From Link
Hi
Newbie question: I want my html file, when accessed directly from the browser, to open a different web-page (which is a php script that calls my html file when it's done). But if my html file was reffered to from that page, it's ok - open it. How can I achieve this? Thanks Joe Similar TutorialsI just added a forum on to my site (pblang) and it stores the users/pass's in alot of files in one of the folders in my host. So I was just wondering if i could make it accessible to read by tcp connection. (So you have to sign up for the site then use that user and pass to log in) Ive tried messing with some things so does anyone know if its the html files fault or if its a hosting thing or what. please help me guys!!! im trying to find a html code that allows people download a pdf files from the website that im trying to make..anyone out there help me.. I have several links on my site, all in the form of <a href="http://www.mywebsite.com">mywebsite</a> How do I need to change it such that a new instance of the browser is used in which the linked site is displayed. How do you make a link such that when it is clicked it goes nowhere? I have this link (that reads "Links") that reveals a hidden submenu below when clicked. The problem is, I don't want to take the user anywhere when "Links" is clicked, I just want it to reveal the submenu. I usually do a href="#", but I discovered that that actually brings you to the top of the current page, but I don't want that. I also tried removing the "href" all together, but then it doesn't look clickable any more. I want this link to have all the attributes of a link, it just can't go anywhere. Any help would be great, thanks!! HTML Code: <form method=post action="http://links.verotel.com/cgi-bin/addreseller.verotel" target=_blank> <input type=hidden name=verotel_website value=80145> <center><input type=submit value="Sign me up!"> </center> </form> there has to be a way to make this into a text link, i cannot seem to figure it out for the life of me Is it possible to make each row in a table a link to a website? (regardless of how many columns there are). Greetings I have this problem that i have menu in Iframe and from that iframe i have link to another page. Now when i click the link it opens the link in the iframe window and does not move me completely on the new page. How do i put link that will get me to new page, and does not open it in the iframe window? Also i have another page with PHP include, would love to know the same thing in PHP. So i have this link that opens in the IFrame window, but i dont want to open it in IFRAME, but i want to move completely to the page the link shows. Also i don't want to open it in new window, i want it open in same window. Thanks for help! Originally Posted by bud2 View Post Hi All I am making some new pages for my websites and want them all link together. They are all coded to reached the main page by <a href> tag but also want each of the new pages to link together. So I guess my question is Will I have to add a new <a href>tag such as <a href="htmlforums.html">How to make multiple links all connect</a> and so on on each new page.....that includes the first one, the next page will contain 2 a href, the next one 3 and so on.. Thanks for your help Will I have to add a new <a href>tag such as <a href="htmlforums.html">How to make multiple links all connect</a> and so on on each new page.....that includes the first one, the next page will contain 2 a href, the next one 3 and so on.. Hello all, i created a link & made it non underlined, & i need to make it underline after i clicked on it can anyone tell me how i can do this? the code for my link is <a href="frontpage.view.php" style=text-decoration>Home</a> Hi Guys i have this image and i wont to add a link to it so it will take the user back to the home page, Would some one be able to help me? im aware this is pre amateur for some... Heres the snippet..... HTML Code: <table width="850" border="0" cellpadding="0" cellspacing="0"> <tr style="height: 110px"> <td style="background-image: url(/images/logo.png); background-position: left top; background-repeat: no-repeat"> </td> <td style="background-image: url(/images/ssl.png); background-position: right top; background-repeat: no-repeat"> </td> </tr> </table> I wont to add the link to the image "Logo.png" any suggestions or examples? Thanks for looking.. Hi, Im new to this forum and i need some help, so what i have so far a drop down menu and in that drop down menu i have 20 e-mail accounts and what im looking for is how do i click one e-mail and it links to another page and displays if that e-mail is used or not. And how do i when they selcet a e-mail it shows pricing. how can i do this im using front page 2003, I would relay appreciate the help this is what i have in my code, oh and its HTML. Code: <html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>e-mail test</title> </head> <body> <p align="center"> </p> <p align="center">e-mail test</p> <form method="POST" action="--WEBBOT-SELF--"> <!--webbot bot="SaveResults" U-File="_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" --> <p align="center"><select size="1" name="D1"> <option>MyOwnHog.com</option> <option>MyOwnBug.com</option> <option>MyOwnRatRod.com</option> <option>MyOwnHotRod.com</option> <option>MyCustomBuild.com</option> <option>MyBig10Inch.com</option> <option>MyOwnCustomRod.com</option> <option>IMACoonAss.com</option> <option>MyCoonAss.com</option> <option>MyCustomBug.com</option> <option>TacklinMyLife.com</option> <option>StillProgramming.com</option> <option>StillBassFishing.com</option> <option>StillSalmonFishing.com</option> <option>StillSal****erFishing.com</option> <option>StillFlyFishing.com</option> <option>StillLakeFishing.com</option> <option>StillFreshWaterFishing.com</option> <option>Want2Hunt.com</option> <option>StillDuckHunting.com</option> <option>MyCustomRig.com</option> <option>StillDeerHunting.com</option> </select> <input type="submit" value="Submit" name="B1"> </p> </form> <p align="center"> </p> </body> </html> I've looked all over the web and can't find an effective way to do this. Can someone please help? I need to make text drop down menus when you mouseover my links. This is a perfect example: http://www.stpatrick.org/ Thanks a lot! I have this; You can download a <a href="hpswmtmreg.doc">Word Document</a> file, (click to open, right click to download). <br><br> You can download a <a href="hpswmtmreg.zip">Zip</a> file, (right click to download). I thought it was simple, straight forward, but I get server errors (from my host). Is there something special abpout .doc files or .zips for that matter. Am I doing something wrong? Thanks I want my link to open into a new window with no scrollbar or status bar and be 100% of the screen width and 66% of the screen height. Is there a way to do this? thanks in advance. Hi all, I'm having a little trouble here, I'm a newbie at coding but I'm learning. how would I achieve something like this? http://www.createblog.com/layouts/code.php?id=28757 and or like this? http://www.createblog.com/layouts/code.php?id=28038 should I be using divs...as you can see in my code I went div crazy...I kinda perfer divs anyway! how can I do this? HTML Code: <style type="text/css"> a:link {color: #66cdaa; font-family: verdana; font-size: 6pt; text-transform: uppercase; text-decoration: none;} a:visited {color: #cc6600; font-family: verdana; font-size: 6pt; background:#FFFFFF; text-transform: uppercase; text-decoration: none;} a:hover {color: #870708; font-family: verdana; font-size: 6pt; background:#FFFFFF; text-transform: lowercase; cursor:hand;} /*all links above*/ body {background-color: black;} color: #ffffff; font-weight:bold; font-family: arial; font-size: 12px; margin: 0px auto; padding: 0px; text-align: justify; scrollbar-face-color:#1ee849; scrollbar-shadow-color:#1ee849; scrollbar-3dlight-color:#1ee849; scrollbar-arrow-color:#000000; scrollbar-track-color:#1ee849; scrollbar-darkshadow-color:#1e scrollbar-highlight-color:#1ee849;} h1{color:#66cdaa; font-size: 20px; letter-spacing: -1px; text-align: left; font-family: arial; margin: 10px 0px 0px 0px; line-height: 15px;} h2{color:#66cdaa; font-size: 15px; letter-spacing: -1px; text-align: left; font-family: arial; margin: 10px 0px 0px 0px;} p { font-weight: bold; color:#66cdaa ; font-family:times ; font-size: 12px; } /*all divs here*/ div { font-weight: normal; color:#66cdaa ; font-family: times; font-size: 12px; } div#header { clear: both; height: 50%; width: 100%; background-color: ; padding: 1px; } div#master { float: center; width: 100%; background-color:white; } div#left { float: left; width: 150px; background-color: black; } div#right { float: right; width: 150px; background-color:black; } div#middle { padding: 0px 160px 5px 160px; margin: 0px; background-color:black; } div#footer { clear: both; background-color:grey; } </style> <title>I like my nails</title> </head> <!--who ha --> <body> <div id="Head"><img src="pic location" width="100%" height="50%" alt="pic name " /> </div> <br /> <br /> <div id="master"> <div id="left"> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque purus justo, luctus vel, pretium quis, semper id, metus. Duis quis turpis id sapien hendrerit aliquam. Duis nisl. Sed fermentum magna ac velit. Integer tincidunt arcu ac elit. Fusce urna pede, dapibus id, mollis eu, tempor eget, nunc. Integer eros quam, scelerisque sagittis, ultricies non, pellentesque id, elit. Nam accumsan fermentum massa. Suspendisse vehicula ultricies nisi. Curabitur tempus bibendum mi. Donec eu lectus vitae dolor accumsan auctor. Cras quis dolor sed ipsum tristique pulvinar. Nam id quam vitae lectus tempor faucibus. Aliquam id nisi ut nisl semper blandit. Morbi pellentesque congue lacus. Sed sed metus. Quisque libero mi, malesuada ut, tincidunt et, fringilla ut, erat. Sed accumsan gravida dui. Donec enim turpis, mattis eget, adipiscing dictum, </div> <div id= "right"> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque purus justo, luctus vel, pretium quis, semper id, metus. Duis quis turpis id sapien hendrerit aliquam. Duis nisl. Sed fermentum magna ac velit. Integer tincidunt arcu ac elit. Fusce urna pede, dapibus id, mollis eu, tempor eget, nunc. Integer eros quam, scelerisque sagittis, ultricies non, pellentesque id, elit. Nam accumsan fermentum massa. Suspendisse vehicula ultricies nisi. Curabitur tempus bibendum mi. Donec eu lectus vitae dolor accumsan auctor. Cras quis dolor sed ipsum tristique pulvinar. Nam id quam vitae lectus tempor faucibus. Aliquam id nisi ut nisl semper blandit. Morbi pellentesque congue lacus. Sed sed metus. Quisque libero mi, malesuada ut, tincidunt et, fringilla ut, erat. Sed accumsan gravida dui. Donec enim turpis, mattis eget, adipiscing dictum, </div> <div id="middle"> <h1>Your Header Here</h1> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque purus justo, luctus vel, pretium quis, semper id, metus. Duis quis turpis id sapien hendrerit aliquam. Duis nisl. Sed fermentum magna ac velit. Integer tincidunt arcu ac elit. Fusce urna pede, dapibus id, mollis eu, tempor eget, nunc. Integer eros quam, scelerisque sagittis, ultricies non, pellentesque id, elit. Nam accumsan fermentum massa. Suspendisse vehicula ultricies nisi. Curabitur tempus bibendum mi. Donec eu lectus vitae dolor accumsan auctor. Cras quis dolor sed ipsum tristique pulvinar. Nam id quam vitae lectus tempor faucibus. Aliquam id nisi ut nisl semper blandit. Morbi pellentesque congue lacus. Sed sed metus. Quisque libero mi, malesuada ut, tincidunt et, fringilla ut, erat. Sed accumsan gravida dui. Donec enim turpis, mattis eget, adipiscing dictum, vestibulum id, nulla. Etiam consectetuer. Duis varius sem eu nisi. Praesent congue aliquam elit. Sed nec sapien. Curabitur lacinia, augue et hendrerit pharetra, sem magna lobortis quam, ac volutpat magna nisl vel libero. Duis magna. Vestibulum suscipit dui id magna. Suspendisse potenti. Etiam ut purus. Praesent tincidunt, elit bibendum eleifend tincidunt, arcu lacus vestibulum magna, et pellentesque est justo fringilla dui. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Curabitur elit. Mauris dignissim gravida massa. Vivamus eu odio. Proin euismod aliquet erat. In sed justo. Nulla a dolor ac tortor placerat elementum. Donec nisi. Donec lobortis. Cras ut augue. Donec enim. Aenean ut ligula ac arcu suscipit consectetuer. Duis nibh dui, mollis et, elementum ac, luctus eu, diam. Quisque risus nunc, pharetra in, commodo vel, vestibulum in, tellus. Praesent blandit sagittis nisi. In hac habitasse platea dictumst. Morbi interdum. Nullam tincidunt enim eu mauris. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Ut pretium, justo at pharetra suscipit, lorem nulla sodales dui, at ultrices quam tellus sit amet metus. Pellentesque consequat vestibulum sem. Cras consectetuer ipsum non augue. Praesent tellus nulla, sodales at, pretium ut, consectetuer vel, massa. Aenean risus orci, suscipit eget, ornare eget, lacinia sit amet, sem. Ut vulputate, metus quis posuere gravida, massa nisi commodo tellus, viverra cursus massa leo at purus. Morbi feugiat fermentum lectus. Aliquam blandit placerat velit. Aliquam vestibulum porta elit. In erat. Etiam non augue. Aenean luctus. Fusce arcu mauris, vehicula quis, ultrices sed, porta nec, dolor. Donec eros tellus, posuere nec, vehicula ut, venenatis at, diam. Curabitur hendrerit. Nulla enim enim, sodales nec, imperdiet ac, gravida vel, dolor. Etiam hendrerit, leo a mollis semper, elit metus tincidunt pede, sit amet porta turpis quam at diam. Proin sagittis nulla luctus elit. Curabitur non sapien. Proin eget orci. Curabitur tortor mauris, faucibus a, euismod fermentum, congue eget, nisi. Sed et purus. Curabitur eget quam et massa dignissim tristique. Cras elit. </div> </div> <div id="footer"><strong>Copy right 2008 Syd</strong> | Design by <strong>Syd</strong></div> <!--end of the stuff--> </body> </html> Hi my html and css that i have coded is only valid in opera and does not run as it is meant to in firefox and safari. Can anyone help me fix it. The text input box is what is broken. here is the html: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <meta name="author" content="Husain Abdullah Al - Zabir" /> <title>WebSnips</title> <link rel="stylesheet" type="text/css" href="styles/main.css" media="all" /> <link rel="stylesheet" type="text/css" href="styles/rounded_corner.css" media="all" /> <link rel="stylesheet" type="text/css" href="styles/bottom_menu.css" media="all" /> </head> <body> <center> <div class="box"> <b class="tc"> <b class="L1"></b> <b class="L2"></b> <b class="L3"></b> </b> <div class="content"> <div class="box" style="width:100%;"> <b class="tc"> <b class="L1"></b> <b class="L2" style="background-color:#333333;"></b> <b class="L3" style="background-color:#333333;"></b> </b> <div class="content" style="background-color:#333333;"> <div style="width:630px; padding-top:10px;"> <div style="float:left; background-image:url(images/http.jpg); background-position:center; background-repeat:no-repeat; width:95px; height:40px;"> </div> <div style="float:left;"> <input style="height:28px; border:none; font-family:verdana; font-size:21px; color:#7d7d7d; padding-top:6px; padding-bottom:6px;" type="text" size="35" /> </div> <div style="float:left;"> <input type="image" value="submit" src="images/submit-button.jpg" /> </div> </div> <div style="clear:both; height:30px;"> </div> </div> <b class="bc"> <b class="L3"></b> <b class="L2"></b> <b class="L1"></b> </b> </div> </center> </body> </html> here is the css: Code: #logo { width: 317px; height: 40px; /*background-image: url(../images/logo.gif);*/ background-image: url(../images/logo.jpg); background-position: center; background-repeat: no-repeat; } #logo-holder { padding: 20px; } #footer-logo { width: 609px; height: 40px; /*background-image: url(../images/footer-logo.gif);*/ background-image: url(../images/footer-logo.jpg); background-position: center; background-repeat: no-repeat; } #footer-logo-holder { padding: 5px; } #instruction { border-left:solid 4px #98CB00; padding-left:5px; font-family:verdana; font-size:17px; font-weight: normal; color:white; text-align:left; width:623px; } #instruction-holder { padding-top: 20px; padding-bottom: 20px; } .separator { width:10px; background-image: url(../images/separator.jpg); background-position: bottom; background-repeat: no-repeat; float: left; height:180px; } .urls { font-family: verdana; font-size: 12px; color: #7d7d7d; height:180px; font-weight: bold; line-height: 20px; width:203px; clear:both; padding-top: 20px; } .snips_name { font-family: verdana; font-size: 21px; color: #FFFFFF; text-align: left; } #top_snips { width:31px; height:38px; background-image: url(../images/top_snips.jpg); background-position: top; background-repeat: no-repeat; margin-right: 5px; float: left; } #latest_snips { width:38px; height:38px; background-image: url(../images/latest_snips.jpg); background-position: center; background-repeat: no-repeat; margin-right: 5px; float: left; } #partners { width:53px; height:38px; background-image: url(../images/partners.jpg); background-position: top; background-repeat: no-repeat; margin-right: 5px; float: left; } Can anyone help fix this? Thanks sorry im really new at this stuff. so i have the code, and i need to make & view the page.. so how do i do that?? thanks is there a better way than this (below) to style Script and Code, to look like script and code when written/typed in html? For instance how does the [ HTML ] [ /HTML ] in this forum work? HTML Code: <style type="text/css"> .csslook { font-family: "Courier New", Courier, monospace; font-size: 12px;} .darkpink {color:#990099;} .green {color:#006600;} .pink {color:#FF00FF;} .darkblue {color:#000099;} .blue {color:#0000FF;} </style> <div class="csslook"> <span class="darkpink"><style type=<span class="green">"text/css"</span>></span><br> <span class="pink">#mainContent {</span><br> <span class="darkblue">padding</span><span class="pink">:<span class="blue">0px 1px 0px 1px</span>;</span><br> <span class="darkblue">border-width</span><span class="pink">:<span class="blue">1px 2px 2px 1px</span>;</span><br> <span class="darkblue">border-style</span><span class="pink">:<span class="blue">solid</span>;</span><br> <span class="darkblue">background</span><span class="pink">:<span class="blue">#faf6f6</span>;</span><br> <span class="darkblue">color</span><span class="pink">:<span class="blue">#000</span>;</span><br> <span class="darkblue">border-color</span><span class="pink">:<span class="blue">#edd #baa #baa #eed</span>;</span><br> <span class="darkblue">font-family</span><span class="pink">:<span class="blue">Arial, Helvetica, sans-serif</span>;</span><br> <span class="darkblue">size</span><span class="pink">:<span class="blue">12px</span>;}</span></span><br> <span class="darkblue"></div></span> </div> I need to have this text in html. I need only the text, no table. My problem was, that when i changed the fontsize, a new paragraph was created. But i want it on one line. Thanks for your help. |