Jump to content

kralspace

Members
  • Posts

    10
  • Joined

  • Last visited

About kralspace

  • Birthday 10/27/1952

Contact Methods

  • MSN
    kralspace
  • Website URL
    http://no website, just Kathy

Profile Information

  • Gender
    Not Telling
  • Location
    central Texas

kralspace's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I hate to leave a question unresolved incase it can help someone else, I received a suggestion that worked from http://csscreator.com/node/30925#comment-132295 Wolfguy had me add a clear: both to my footer and it works great!
  2. ??? Hi gurus, I have a background image that is showing correctly in IE, but is cut off at the bottom in Firefox. I tried assigning a height, but it applied it to the container, not the image. I'd appreciate if someone could tell me what I'm doing wrong...as usual...lol. It's the part of the image beneath the menu on the left, it should fade out. here is the webpage: http://www.cordonline.net/worksite/ and here is the stylesheet code: <code> #container { margin: 0px auto; width: 800px; text-align: left; border: 2px solid #104D8C; background-color: #ffffff; background-image: url(../images/stem-banner.jpg); background-repeat: no-repeat; background-position: left top; z-index:1; } </code> thanks, as always, Kathy
  3. skunkbad, I did what you suggested and it's working now! I also used the margin-top to scoot the contentbox down below the masthead and all is well with the world now, Thank you so much. I've just started trying to use 'float' and it has been an experience I have to say. I'm very glad to have found this forum and appreciate your time and trouble! Kathy
  4. This has got to be a simple, dumb mistake on my part...but I'm pulling my hair out. I've stripped my code down to the bare necessities to try and find out why I can not get my footer to display on my page just below my content. It wants to display up and behind my content right now if you look at it in Firefox: http://cord.org/ncnet-new/post.php here is my style sheet: (post.css) body { font-weight:normal; font-size:10pt; font-family: arial, verdana, sans-serif; background-color: #F9E37B; text-align: center; } #container { margin: 0px auto; width: 800px; text-align: left; border: 2px solid #000000; background-color: #FDF3BE; background-image: url(../images/banner-swoopy.gif); background-repeat: no-repeat; background-position: left top; z-index:-1; } #contentbox { position: relative; top:185px; width: 625px; margin-left: 165px; padding-top:3px; text-align: left; background-image: url(../images/content-top.gif); background-repeat: no-repeat; background-position: left top; background-color: #ffffff; z-index:10; } #contentbox2 { height: 14px; background-image: url(../images/content-bottom.gif); background-repeat: no-repeat; background-position: left bottom; background-color: #ffffff; z-index:11; } #footer { position:relative; top: 0px; width: 400px; margin-left: 200px; margin-top: 10px; margin-bottom: 10px; padding: 1px 0 2px 75px; font-size: 10px; color: #6a6a6a; background-color: transparent; background-image: url(../images/NCCCS_logo_butter.gif); background-repeat: no-repeat; background-position: left top; } and here is my php page: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>NC-NET Sociology Resources</title> <link href="css/post.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="container"> <div id="contentbox"> <h1>Sociology Resources </h1> <p><strong>Sociological Research Online</strong> &#8212; Publishes high quality applied sociology, focusing on theoretical, empirical and methodological discussions which engage with current political and intellectual topics and debates. </p> <div id="contentbox2"> </div><!-- close contentbox2 div --> </div><!-- close content box div --> <div id="footer"> <p>Copyright 2007 North Carolina Community College System<BR> 200 West Jones Street, Raleigh, NC 27603</p> </div><!-- end of footer --> </div><!-- end of container --> </body> </html> I have changed this at least 50 ways (all wrong obviously..lol) and had that footer going everywhere except following under the contentbox div. I'd appreciate anyone who has a minute to take a look at it, thanks, Kathy
  5. that certainly makes sense, thanks, I'll try it.
  6. Hi all, I've been using various image rotating scripts that call the images in random order, but have you guys seen any that will let you call them in order, say, if you name them 001.jpg, 002.jpg, etc.? I need to construct a page that calls up a photo and the corresponding quote that goes with it. I have a good simple quotes files that will display them in order. I could create an image that has both the photo and text but I'd like to do live text if possible. thanks for any help, Kathy
  7. I filled out the form just to see if the security code was working (the jibberish I typed would certainly not match whatever the image should be and it simply let me on thru. If it's a captcha program, I know we had to make sure several php files, the jpg background and the font were all loaded in the correct spots. What's odd is that there's not an error message or broken link, just the blank white spot. If you don't have access to the scripts and files, there's not much you'll be able to check, good luck, let us know what you find out. (btw, I'm the Valued Customer entry you can delete)
  8. sorry for the previous coding, I used the wrong setting to insert the code, maybe this will read easier.....Kathy [code] <?php session_start(); if( isset($_POST['submit'])) {    if( $_SESSION['security_code'] == $_POST['security_code'] && !empty($_SESSION['security_code'] ) ) {                $editFormAction = $HTTP_SERVER_VARS['PHP_SELF']; if (isset($HTTP_SERVER_VARS['QUERY_STRING'])) {   $editFormAction .= "?" . $HTTP_SERVER_VARS['QUERY_STRING']; } if ((isset($HTTP_POST_VARS["send_mail"])) && ($HTTP_POST_VARS["send_mail"] == "form")) { $message = "Thank you.\n"; $message .= "Your entries were as follows -\n"; $message .= " Name: $name Email: $email Comments: $comment";    $to = "kkral@cord.org";       $subject = "Comments on materials: $name";      mail($to, $subject, $message, "From: OP-TEC <kkral@cord.org>\r\n"); header("Location: http://www.op-tec.org/comment2.php"); }            echo 'Thank you. Your message said "'.$_POST['message'].'"';    } else {       // Insert your code for showing an error message here      echo 'Sorry, you have provided an invalid security code';    } } else { ?>    <form action="form.php" method="post">       <label for="name">Name: </label><input type="text" name="name" id="name" />       <label for="email">Email: </label><input type="text" name="email" id="email" />       <label for="comment">Message: </label><textarea rows="5" cols="30" name="message" id="message"></textarea>       <img src="CaptchaSecurityImages.php?width=100&height=40&characters=5" />       <label for="security_code">Security Code: </label><input id="security_code" name="security_code" type="text" />       <input type="submit" name="submit" value="Submit" />    </form> <?php    } ?> [/code] the url for the form is: http://www.op-tec.org/kathy/formtest.php -onward thru the fog!
  9. Hi all, I've been trying to add a captcha script to a form, having it check the security image first of course, then email the contents of the form. It checks the image,  goes on and says "thank you, your message is......etc", but I can't get it to send the email.....if anyone can look thru it and see what I'm doing wrong. I'd really, really appreciate it, Thanks, Kathy <?php session_start(); if( isset($_POST['submit'])) {    if( $_SESSION['security_code'] == $_POST['security_code'] && !empty($_SESSION['security_code'] ) ) {         $editFormAction = $HTTP_SERVER_VARS['PHP_SELF']; if (isset($HTTP_SERVER_VARS['QUERY_STRING'])) {   $editFormAction .= "?" . $HTTP_SERVER_VARS['QUERY_STRING']; } if ((isset($HTTP_POST_VARS["send_mail"])) && ($HTTP_POST_VARS["send_mail"] == "form")) { $message = "Thank you.\n"; $message .= "Your entries were as follows -\n"; $message .= " Name: $name Email: $email Comments: $comment"; $to = "kkral@cord.org";     $subject = "Comments on materials: $name";              mail($to, $subject, $message, "From: OP-TEC <kkral@cord.org>\r\n"); header("Location: http://www.op-tec.org/comment2.php"); }       echo 'Thank you. Your message said "'.$_POST['message'].'"';    } else {         echo 'Sorry, you have provided an invalid security code';    } } else { ?> <form action="form.php" method="post"> <label for="name">Name: </label><input type="text" name="name" id="name" /><br /> <label for="email">Email: </label><input type="text" name="email" id="email" /><br /> <label for="comment">Message: </label><textarea rows="5" cols="30" name="message" id="message"></textarea><br /> <img src="CaptchaSecurityImages.php?width=100&height=40&characters=5" /><br /> <label for="security_code">Security Code: </label><input id="security_code" name="security_code" type="text" /><br /> <input type="submit" name="submit" value="Submit" /> </form> <?php } ?>
  10. FRONTPAGE ===EVIL! After having to redo a dozen websites that people created in frontpage, I went around the company and confiscated ALL the disks and ALL the books! and it got me a new nickname too, da 'b
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.