Jump to content
Stef's Coding Community

rsrwebs

Member
  • Content Count

    39
  • Joined

  • Last visited

Community Reputation

0 Neutral

About rsrwebs

  • Rank
    Member

Profile Information

  • Location
    US

Contact Methods

  • Website
    http://rsr-productions.deviantart.com/
  • AIM
    Ravenzarath
  • Yahoo
    rsrproductionsmail
  • Other
    rsrproductionsmail@yahoo.com
  1. Thanks for your guys' help, I knew it had to be something small.
  2. Oh, and here's the page I'm trying to get the image to work on: http://www.rsrwebs.com/index.htm The CSS is embedded fine, through a link rel code.
  3. So, weird thing happening, I have a background image here: http://www.rsrwebs.com/images/BG.jpg And I embed it using CSS, like I normally do: Body { background-image:url('images/BG.jpg'); background-repeat:no-repeat; background-attachment:fixed; background-position:center; } But for some really strange reason the image won't show up, and even weirder, when I right-click and select "view background image" I get a 404 message. What? The image is right there! The only thing I can guess is because the image is fairly large in dimension its not working for some reason. I've gotten other much smaller images to work in the code I'm using, and I even cropped the width down and it refused to work. Is there some sort of size limit? Thanks to anyone who can help.
  4. Yep, that was it, lol. Thank you, again.
  5. Hi, I have a mailing sign-up form that works when I try to use it, but I keep getting emails that list the fields (name, email, etc) but no info after them. I just found however, that one can click "send" without filling out the fields. I have a javascript that is supposed to stop it, but its not working. Here's the whole form page's code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <style type="text/css"> } Body {background:#000; overflow-y:hidden; } </style> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body text="#FFFFFF" link="#CCCCCC" vlink="#999999" alink="#FFFFFF"> <script language="JavaScript"> function formCheck(formobj){ // Enter name of mandatory fields var fieldRequired = Array("Name", "City", "State", "Email"); // Enter field description to appear in the dialog box var fieldDescription = Array("Name", "City", "State", "Email"); // dialog message var alertMsg = "Please complete the following fields:\n"; var l_Msg = alertMsg.length; for (var i = 0; i < fieldRequired.length; i++){ var obj = formobj.elements[fieldRequired[i]]; if (obj){ switch(obj.type){ case "select-one": if (obj.selectedIndex == -1 || obj.options[obj.selectedIndex].text == ""){ alertMsg += " - " + fieldDescription[i] + "\n"; } break; case "text": case "textarea": if (obj.value == "" || obj.value == null){ alertMsg += " - " + fieldDescription[i] + "\n"; } break; case "text": case "textarea": if (obj.value == "" || obj.value == null){ alertMsg += " - " + fieldDescription[i] + "\n"; } break; case "text": case "textarea": if (obj.value == "" || obj.value == null){ alertMsg += " - " + fieldDescription[i] + "\n"; } break; case "text": case "textarea": if (obj.value == "" || obj.value == null){ alertMsg += " - " + fieldDescription[i] + "\n"; } } } } if (alertMsg.length == l_Msg){ return true; }else{ alert(alertMsg); return false; } } // --> </script> <script type="text/javascript"> /*********************************************** * Email Validation script- © Dynamic Drive (www.dynamicdrive.com) * This notice must stay intact for legal use. * Visit http://www.dynamicdrive.com/ for full source code ***********************************************/ var emailfilter=/^\w+[\+\.\w-]*@([\w-]+\.)*\w+[\w-]*\.([a-z]{2,4}|\d+)$/i function checkmail(e){ var returnval=emailfilter.test(e.value) if (returnval==false){ alert("Please enter a valid email address.") e.select() } return returnval } </script> <?php $ipi = getenv("REMOTE_ADDR"); $httprefi = getenv ("HTTP_REFERER"); $httpagenti = getenv ("HTTP_USER_AGENT"); ?> <input type="hidden" name="ip" value="<?php echo $ipi ?>" /> <form method="POST" action="sendemail.PHP" name="mailinglist" id="mailinglist"> <div align="left"> <p align="center"> Name (First & Last):<br> <input type="text" name="Name"/> <br> <br> City:<br> <input type="text" name="City" /> <br> <br> State:<br> <input type="text" name="State"/> <br> <br> Email:<br> <input type="text" name="Email"/> <br> <br> <input type="submit" VALUE="Sign Me Up" onClick="alert('Thank you! Your form has been sent.')" /> </p> </div> </form> </form> </body> </html> Any help would be greatly appreciated. -Raven
  6. That's a common problem with IE; you need to add float: left; to the li tag (not the "a" tag):- ul#list-nav li{ float: left; display:inline; } float: left is the important style and should make a style into display: block so it will probably work without display: block. There are situations where IE6 needs display: inline so I've left that in there although you should check without it in IE6. Okay, it's not doing the staircase thing, but it's doing the other problem that I couldn't fix; the text is nowhere to be seen, yet there still is a 2 pixels tall area where the buttons light up as they usually would. Would you mind looking at it in IE too? I don't feel like I'm describing this very well. http://www.laurendragon.com/aware/index.htm
  7. Hello, I have a navigation bar that is almost exactly the same as one I've used (and had no problem with), just a different hover image, and an added text underline. Of course, it displays fine in FF, but when I open it in IE, it seemed like it was cut off, but as it turns out, it's just not displaying the text. I found that there is approx. 2px worth of space that will still react when hovered over. I tried changing it from display:inline; to display:block; and the text comes back! But it does this weird thing where the buttons are distanced properly, but are below each other by a line, kind of making a staircase shape. I'm at a loss, I have no idea what I did wrong, and I always am having some sort of problem with IE, it never ends... Here is the CSS for the navbar: ul#list-nav li{ display:inline; } ul#list-nav li a{ float: left; color: #993300; padding: 9px 7px; text-decoration: underline; border-right: none; } ul#list-nav li a:visited{ color: #993300; } ul#list-nav li a:hover, ul#list-nav li .current{ color: #003399; background: transparent url(../images/blockactive.gif) center center repeat-x; } ul#list-nav{ display:block; margin: 0; padding: 0; float:left; font: bold 15px Verdana; width: 100%; border: none; background: transparent; list-style: none; } This whole thing is apart of a header file, that displays in an iframe. The header and navbar are in containers: div#container { width:840 px; } div#navcontainer { margin-left:35px; margin-top:-50; } I really appreciate the help, and sorry that I haven't gotten around to giving back and answering some questions myself. I'll try doing that tonight. -Raven
  8. I really appreciate the help, thanks.
  9. If by "stuff" you're referring to PHP in general' date=' take heart, rswebs. Have you viewed the beginner PHP videos by [b']Stef Mischook (frog)[/b]? They're the most easy to understand tutorials on PHP I've ever come across. I have tried learning PHP before and quit because it just seemed too overwhelming at the time but after watching Stef's videos, I have resolved to learn as much as I can about it. Hey, thank you! Where can I find these tutorials?
  10. I know for a fact that my server is running PHP 5.0. I'm unsure why it won't load.
  11. I just tested it again, saving index.htm to .php. Still nothing. Perhaps I should say f-it and just use an iframe? I understand those at least!
  12. In order to use PHP includes, your main page needs to use the .php extension. In this case, you'll need to change index.htm to index.php. Okay, so in order for this set-up to function, everything has to be the PHP extension?
  13. Home Who We Are Hawk Mystery Training & Educational Programs A Rehabilitator's World Needs List
×
×
  • Create New...