Jump to content

rsrwebs

Member
  • Posts

    39
  • Joined

  • Last visited

Everything posted by rsrwebs

  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
  14. That was it, I completely didn't notice it because I was focusing on the 'target' property in the links, and not whatever missing property that may have been in the iframe itself. I actually recall now, when I first got a hold of the iframe code, I was confused why there was an id and a name, and now I see why. The 'name' had to be there,and you couldn't just use 'id' alone. Thanks a lot man, it means a lot.
  15. So, what you're saying is I should also define a "name" property?
  16. I have an ID defined for each of them, and the links are targeted to the frame's ID, but the link always opens in a new window.
  17. Hello again, I've been having a problem with my hyperlinks targeted to iframes that I have never had before. When it's supposed to load the linked page in the iframe, it instead opens the link in a new tab. What's strange is I have been able to get this to work before with no problems at all. I tried even putting the links into the source page that first loads in the iframe, it STILL opens in a new tab. The hyperlinks: Videos | Photos The iframes: All the formatting on these are being done with CSS, this is the code for them: div#subnav { position: relative; margin-left:auto; margin-top:auto; margin-right:auto; text-align:center; } iframe#view { text-align:center; width:600px; height:300px; } iframe#thumbnails { overflow-y:hidden; overflow-x:auto; width:600px; height:100px; } div#gallery { position: relative; margin-left:20%; margin-top:25%; margin-right:auto; text-align:center; } I really appreciate any help given. -Raven
  18. I copied over the inline block code, and after editing it a bit, it works!!! Thanks again! The bar looks great in BOTH both browsers now!
  19. I am using display:inline-block, and I don't see why I would need a hack for firefox since it views the navbar properly. I actually found this code last night (display: -moz-inline-box;) and now the padding around the buttons looks right in IE, where before it was cutting off the active BG on the top and bottom. Still, they're all shown as a list and they're not horizontal. My code now is: Thanks for the help.
  20. I tried the widthless float code, and so far I haven't figured out how to get it to work. Thanks though.
  21. I don't know what it means to have a page in a fixed width. But one thing I do know is whenever I make the float: left, it pushes all of the content (which is all in one table) off to the side, the entire width of the navbar, and the bar itself is not centered.
  22. As I said to AndaleTheGreat, I think I just want to stick to the code that I'm used to. It's worked before on other people's sites, I've seen it, but I can't figure out what I'm doing wrong.
  23. If I can help it, I'd like to stick to the usual CSS and HTML code that I know for this. I know what I'm trying to do isn't impossible, I've seen it done before. :/
×
×
  • Create New...