-
Posts
115 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Downloads
Gallery
Store
Everything posted by catfish
-
I have been using the matching columns method for a while now but have just used the facebook widget a couple of times. I have included a link to my webpage in question. the problem I have is that sometimes when I look at it the facebook box is overlapping the bottom/footer of the page and other times it is not. I don't know if I have specified my container div heights correct or not but something is not right. Or could it have something to do with my div classes/positions http://www.pen10.ca/index.php #container { margin:0 auto; padding:0px; background-color: #fded54; background-image: url(images/orange_grade.jpg); background-repeat:repeat-x; border:0px solid #000; border-top:none; border-bottom:none; width:900px; min-height:100%; } #rightCol .list_2{ position:absolute; font-weight: bold; text-transform:uppercase; text-align:center; font-size:12px; color:#003366; left: 0; bottom: 0px; padding-right:15px; } #leftCol { position:relative; border-right:0px solid #FFCC00; float:left; width:224px; padding:18px 0 0 6px; background-color: #a4020d; color:#fff; text-align:center; padding-bottom:22px; height:100% } #rightCol { position:relative; margin-left:250px; height:100%; padding-right:22px; padding-top:25px; line-height:140%; text-align: left; height:100%; }
-
I have a website in working stage and the client says that she can see some white lettering creeping out from behind the logo on all pages. I'm pretty sure she says she sees it on the computer but really well when viewing it on her phone. I wondered if someone would view it for me and let me know what you think. I cannot see it on mine. http://www.catfishwebcreations.com/CHAOS/index.php Thanks so much
-
Hello; I've embedded a small flash into my index page and would like it to to loop smoothly but I can't figure it out. It does actually loop but there is either a very long delay or it chops off my last image too quickly. Here is my link and below is my embed code. Thanks so much. http://www.markat.ca/index.php <script type="text/javascript" src="swfobject.js"></script> <script type="text/javascript"> var flashvars = {}; var params = {}; var attributes = {}; params.loop = "true"; swfobject.embedSWF("bottles.swf", "myAlternativeContent", "145", "456", "9.0.0", false, flashvars, params, attributes); </script>
-
menu mumbo jumbo with different operating systems?
catfish replied to catfish's topic in Beginners Web Design
Very good, thankyou. That was it I guess, I've heard it looks fine now. Thanks again. -
menu mumbo jumbo with different operating systems?
catfish replied to catfish's topic in Beginners Web Design
Oh, my. I just am doing a browser shot and is this how it really looks? I don't know how to fix this? -
I am just completing a website that I thought was looking just fine but have just had a comments from some viewers that the menu is messed up viewing with Windows 8. I don't have Windows 8 so I haven't seen this. Wondered if someone could help me out with this. The link is http://www.oliversgarden.com/ and the code below #navigation { height:36px; border-bottom:1px solid #ccc; border-top:1px solid #ccc; background-color:#999; background-image:url(images/menu_bg.jpg); background-repeat:repeat-x; } .menu {width:900px; height:31px; position:relative; z-index:100;border-right:0px solid #000; font-family:arial, sans-serif; margin: 0 auto;} /* hack to correct IE5.5 faulty box model */ * html .menu {width:900px; w\idth:900px;} /* remove all the bullets, borders and padding from the default list styling */ .menu ul {padding:0;margin:0;list-style-type:none;} .menu ul ul {width:148px;} /* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */ .menu li {float:left;width:150px;position:relative;} /* style the links for the top level */ .menu a, .menu a:visited {display:block;font-size:11px; text-align:center; text-decoration:none; color:#fff; width:148px; height:31px; border:1px solid #585752; border-width:0 0 0 1px; background:#999; background-image:url(images/menu_bg.jpg); background-repeat:repeat-x; padding-left:0px; padding-top:4px; line-height:31px; font-weight:bold;} /* a hack so that IE5.5 faulty box model is corrected */ * html .menu a, * html .menu a:visited {width:148px; w\idth:135px;} /* style the second level background */ .menu ul ul a.drop, .menu ul ul a.drop:visited {background:#ccc;} /* style the second level hover */ .menu ul ul a.drop:hover{background:#7cbab8;} .menu ul ul :hover > a.drop {background:#7cbab8;} /* style the third level background */ .menu ul ul ul a, .menu ul ul ul a:visited {background:#7cbab8;} /* style the third level hover */ .menu ul ul ul a:hover {background:#d8f6f5;} /* hide the sub levels and give them a positon absolute so that they take up no room */ .menu ul ul {visibility:hidden; position:absolute;height:0;top:31px;left:0; width:148px;border-top:1px solid #000;} /* another hack for IE5.5 */ * html .menu ul ul {top:30px;t\op:31px;} /* position the third level flyout menu */ .menu ul ul ul{left:150px; top:-1px; width:150px;} /* position the third level flyout menu for a left flyout */ .menu ul ul ul.left {left:-149px;} /* style the table so that it takes no ppart in the layout - required for IE to work */ .menu table {position:absolute; top:0; left:0; border-collapse:collapse;;} /* style the second level links */ .menu ul ul a, .menu ul ul a:visited {background: #fff; color:#000; height:auto; line-height:1em; padding:5px 14px; width:120px;border-width:0 1px 1px 1px;} /* yet another hack for IE5.5 */ * html .menu ul ul a, * html .menu ul ul a:visited {width:148px;w\idth:128px;} /* style the top level hover */ .menu a:hover, .menu ul ul a:hover{color:#000; background:red;} .menu :hover > a, .menu ul ul :hover > a {color:#000; background:#d8f6f5;} /* make the second level visible when hover on first level list OR link */ .menu ul li:hover ul, .menu ul a:hover ul{visibility:visible;} /* keep the third level hidden when you hover on first level list OR link */ .menu ul :hover ul ul{visibility:hidden;} /* make the third level visible when you hover over second level list OR link */ .menu ul :hover ul :hover ul{ visibility:visible;} <ul> <li><a href="index.php"> HOME<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]--></li> <li><a href="#nogo">BIRD TOYS<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]--> <ul> <li><a href="x-lg_toys.php">EXTRA LARGE TOYS</a></li> <li><a href="lg_toys.php">LARGE TOYS</a></li> <li><a href="med_toys.php">MEDIUM TOYS</a></li> <li><a href="small_toys.php">SMALL TOYS</a></li> <li><a href="foot_toys.php">FOOT TOYS</a></li> <li><a href="seasonal.php">SEASONAL TOYS</a></li> </ul> <!--[if lte IE 6]></td></tr></table></a><![endif]--> </li> <li><a href="#nogo">ROPE PRODUCTS<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]--> <ul> <li><a href="crawlers_nets.php">CRAWLERS, ETC </a></li> <li><a href="oddball.php">ODD BALLS </a></li> <li><a href="boings.php">BOINGS</a></li> <li><a href="swings.php">SWINGS</a></li> </ul> <!--[if lte IE 6]></td></tr></table></a><![endif]--> </li> <li><a href="#nogo">MISCELLANEOUS<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]--> <ul> <li><a href="sandy_perch.php">SANDY PERCH</a></li> <li><a href="cuckoo.php">CUCKOO’S CUISINE</a></li> </ul> <!--[if lte IE 6]></td></tr></table></a><![endif]--> </li> <li><a href="shop.php">SHOP IN PERSON<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]--></li> <li><a href="contact.php">CONTACT/ORDER<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]--></li> </ul>
-
That seems have worked well. Thanks once again for your expertise!
-
I have just started using the recaptcha on a website that the client says was getting spammed. It seems to work alright but I think something is not quite right. What happens is that if I don't fill in all the required fields of the form I get the error message correctly telling me to go back and fill in all required fields but if I fill the form in with all required fields and incorrectly fill in the recaptcha it says "thankyou ... blah blah and then "The reCAPTCHA wasn't entered correctly. Go back and try it again." ."(reCAPTCHA said: " . $resp->error . ")" But, I will still receive the email. Here is that bit of my code. Once again, I don't know too much about PHP <?php /* Functions ----------------------------------------- */ function cleanInput($input) { $search = array( '@<script[^>]*?>.*?</script>@si', // Strip out javascript '@<[\/\!]*?[^<>]*?>@si', // Strip out HTML tags '@<style[^>]*?>.*?</style>@siU', // Strip style tags properly '@<![\s\S]*?--[ \t\n\r]*>@' // Strip multi-line comments ); $output = preg_replace($search, '', $input); return $output; } function sanitize($input) { if (is_array($input)) { foreach($input as $var=>$val) { $output[$var]=sanitize($val); } } else { if (get_magic_quotes_gpc()) { $input=stripslashes($input); } $output=cleanInput($input); } return $output; } /* Code ---------------------------------------------- */ $name = sanitize($_POST['name']); $last = sanitize($_POST['last']); $phone = sanitize($_POST['phone']); $email = sanitize($_POST['email']); $address = sanitize($_POST['address']); $city = sanitize($_POST['city']); $type = sanitize($_POST['type']); $time = sanitize($_POST['time']); $month = sanitize($_POST['month']); $date = sanitize($_POST['date']); $howhear = sanitize($_POST['howhear']); $comments = sanitize($_POST['comments']); // Check any required fields here, and if they are blank, generate an error. // Otherwise, send the email message ("||" is an "or" character) if (empty($name) || empty($phone) || empty($address) || empty($city) ||empty($comments)) { echo 'please go back and fill in all required fields'; } else { $to="theemailaddress"; $message="$name $last is requesting to schedule an appointment.\n\nTheir phone number is:\n$phone\n\nTheir home address is:\n$address\n\nThe City is:\n$city\n\nWhat type of service are you requesting:\n$type\n\nDo you request and specific time of day:\n$time\n\nMonth requested is:\n$month\n\nDate requested is:\n$date\n\nI heard about company name:\n$howhear\n\nThey said:\n$comments\n\nTheir e-mail address was: $email"; if(mail($to,"Request to schedule appointment",$message,"From: $email\n")) { echo "Thank you, a specialist will call you soon."; } else { echo "There was a problem sending the mail. Please check that you filled in the form correctly."; } } require_once('recaptchalib.php'); $privatekey = "xxxxxxxxxxx"; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if (!$resp->is_valid) { die ("The reCAPTCHA wasn't entered correctly. Go back and try it again." . "(reCAPTCHA said: " . $resp->error . ")"); } ?>
-
Well, like I said. I have used cmsmadesimple and the album module many times and haven't had a problem.
-
I am working all day with content management system "cmsmadesimple" I've uninstalled and reinstalled 2 times JUST to get the album module working. I have used the album module many times with no problems and today I am at the end of my rope. I keep getting this error message but can't find any help. The error says; A query failed. Trying going to the "Options" tab and clicking the "Run Upgrade Script" link. If that does not fix the problem, then please file a bug. Any ideas
-
Man oh Man! I tried every which way possible and finally thought I would try a new include.php file from my other download and all is fine now. I appreciate all the time you have spent with me again. In the end I'm not sure what happened but maybe that missing cgi bin folder??? I am sorry
-
Hey, so I just talked to the host again and I had a cgi bin missing which we created then after a couple of attempts I got past that page and got this error message; Parse error: syntax error, unexpected '/', expecting ')' in /hermes/bosweb/web007/b78/ipg.leonidblue/include.php on line 31 using the path without the quotation marks so I thought I would try without the quotations and I got to the Thanks for installing CMS Made Simple but with the following error at the top of that page, any idea what that means? Warning: Division by zero in /hermes/bosweb/web007/b78/ipg.leonidblue/include.php on line 31 Warning: Division by zero in /hermes/bosweb/web007/b78/ipg.leonidblue/include.php on line 31
-
Ok, that gave me a The website cannot display the page HTTP 500 So, is that a good thing? Why am I looking for an error message? Sorry for being such a beginner........
-
I took the quotation marks out and this time I just got a blank page. When I added that path to the include.php page where you said to I tried it with and without quotation marks??
-
Ok, I just did the test and both times I got the word test on the page
-
Well, I'm not sure about anything but this is what I found and am using for the path session_save_path("/home/users/web/b78/ipg.leonidblue"/cgi-bin/tmp); session_start();
-
Well that doesn't work either, but thanks for your time
-
Question/Problem Configuring: Running PHP sessions On the iPage website there is a solution posted which I don't understand. I found my home directory path but I don't know where to put it. This is what it says... To run PHP sessions, include the following code at the top of any PHP script that uses sessions: session_save_path("your home directory path"/cgi-bin/tmp); session_start(); •To find "your home directory path": 1.Log into the PHP Scripting page for actual path to your home directory. 2.Replace "your home directory path" with the path shown. •Set session_save_path to a directory within your cgi-bin: either /cgi-bin/tmp as in the example above or another directory as long as the absolute path is correct.
-
Thankyou Ben for your reply. I have read every post in the cmsms forum and it's mostly greek to me. I'm sure it is the host but I can't explain myself well enough or their support people aren't knowledgeable enough to help. Not sure what I can do other than switch hosts. It seems to me that the host meets all the requirements though. Like I said, I just installed the same version just days ago on another host with no problems
-
I have been struggling to do a fresh installation of CMS made simple (any version on this iPage host) Each time I get the same error message on the second screen of the install. I have been working with CMSms for a couple of years now and was thinking how well it was going now, understanding more and more etc. etc... I have just installed the latest version for myself on one host without a hitch and for a client on another host (iPage)but get the following message each time. Have even tried later versions. I phoned the host and they can't seem to help me. I wondered if anyone can help me. Session not working, you have problem with some modules and functionality! Ask your provider, exiting!
-
For a while there I was checking my websites at browsershots.org then I sort of forgot about it. Now working on a new site I was informed that the menu is wonky. Here is a screenshot with IE 7 on XP. I did test it on IE 8, safari and opera. The problem is when something like this happens I really have no idea how to fix it other than to use a different menu. Code below. <style type="text/css"> #info {padding-bottom:150px;} .images {background:#c00; width:20px; height:20px; padding:1px;} #nav {margin-top:50px;} #nav ul {margin:0 auto 100px auto; padding:0; list-style:none; display:table; white-space:nowrap; font-family: arial, verdana, sans-serif; font-size:11px;} #nav li {display:table-cell; margin:0; padding:0;} #nav a {float:left; color:#fff; background: #040 url(left2.gif) no-repeat left bottom; margin:0 2px 0 0; padding:0 0 0 2px; text-decoration:none; letter-spacing:1px;} #nav a b {float:left; display:block; background:transparent url(right2.gif) no-repeat right bottom; padding:5px 16px 5px 12px;} #nav a:hover {background-color:#6f9c6f; cursor:pointer;} #nav #current a {background-color:#6f9c6f;} #nav {padding:1px 0 0 0; background:#fff; border-top:8px solid #040;} </style> <!--[if IE]> <style type="text/css"> #nav ul {display:inline-block;} #nav ul {display:inline;} #nav ul li {float:left;} #nav {text-align:center;} </style> <![endif]--> html code <div id="info"> <div id="nav"> <ul> <li id="current"><a href="centered_float_left.html?current=one"><b>HOME PAGE</b></a></li> <li><a href="centered_float_left.html?current=two"><b>FOOD 1</b></a></li> <li><a href="centered_float_left.html?current=three"><b>FOOD 2</b></a></li> <li><a href="centered_float_left.html?current=four"><b>SHIPPING/CONTACT</b></a></li> <li><a href="centered_float_left.html?current=five"><b>ABOUT US</b></a></li> <li><a href="centered_float_left.html?current=six"><b>FAQ'S</b></a></li> <li><a href="centered_float_left.html?current=seven"><b>CUSTOMER CORNER</b></a></li> <li><a href="centered_float_left.html?current=eight"><b>LINKS</b></a></li> </ul> </div> </div> And the website is... http://www.avianorganics.com/Newdesign/index.html?current=one Thanks, I appreciate any input
-
Ok, yes in fact the problem was with the host not supporting php. All that work for nothing. I guess, check first right? Thanks again for your help everyone.
-
Ok, thankyou both. I'll check with the host.