Jump to content

monty 187

Members
  • Posts

    46
  • Joined

  • Last visited

Posts posted by monty 187

  1. thanks, that worked great!!
    Sorry, it worked in firefox but not in IE. Their are a few items which are in different formats in both, is this an issue with css? I usually use tables to structure data but decided I need to start using css for more control.Thanks
  2. Thanks a million
    sorry guys but I cant get each element on the same line, my css reads
    #menubar ul{	display:inline;	text-align:right;	list-style-type: none;	margin: 0px;}#menubar li a{	display:inline;	width: auto;	height: 20px; 	text-decoration: none;	text-align: centre;	margin-right: 10px;	margin-bottom: 2px;	margin-top: 2px;	padding: 0px;	padding-left: 10px;	vertical-align: middle;	font-size: 14px;	font-weight: bold;	background-color: #FF0000;	color: white;}#menubar li a:hover{	background-color: #FFFFFF;	color: black;}

    but the elements are on different lines?Any ideas?Michael

  3. If you don't need bullets to appear, the easiest way is:
    li {display:inline;}

    If you do need them... hm... for FF and Opera is easy, but DAMN, this IE. For FF and Opera it's something like:

    li:before {content: •}

    Thanks a million
  4. Be careful of web based "free" bulk engine submitting tools. They can create ALOT of spam. I've always preferred doing the 5 or 6 major search engines my self and then find other industry related ones and manually submitting there as well. But I think he is more after what he can physically do to his site/pages, etc. Submitting to search engines is almost irrelevant if all the other stuff is done correctly.and monty 187, I hope you didn't take my reply as a mere advertisement for a service I could provide. The link I mentioned has the majority of things you can find after an exhaustive search on SEO Secrets. In your research you will find a wide variety of perspectives and you have to keep your business and its target audience in mind all the time. Its too easy to read all the stuff on SEO and end up implementing a global strategy when your business is only able to service a much smaller territory.Given the first glance at your site, it doesn't seem that you are a global property management provider. So it may only be worth making subtle modifications to your code and focus more on integrating local conventional marketing with your online pressence. On the other hand, you may know or learn that a majority of your clients or prospects spend alot of time online searching for the services you provide - then your approach is going to focus more on getting your code and content to be more search engine friendly.In any respect, you'll consistent advise that explains the importance of <title>, <h1>, <h2>, <img>, and <a> tags. You need to stay away from javascript navigation unless its backed-up in the footer of a page like this (http://www.abercrombiekent.com). Avoid hidden text or divs that are controlled by javascript unless the content is not something you are worried about search engines finding. Those are the basics, but (as I've mentioned) there is so much more involved if you care to dive in that deep.Hope this helps, but let me know if you have any questions.
    Thanks a million for taking the time to explain that stuff! It very much appreciated Skemcin!! :)
  5. There are so many factors that affect your placement in search engines. Just last night, I finished a SEO Strategy (almost 2 pages) for a client. If you would like one done for your site, send me a PM and I'll give you a quote. Google, actually, doesn't place as much emphasis on <meta> tags like yahoo, msn or overture partners. But there are several other things internal to your site and external to your site that could be done - its a matter of how much time you are willing to put into it.I'll even throw in an old Irish discount for ya since I have in-laws a little ways north of ya(Kildare).re: http://w3schools.invisionzone.com/index.ph...ost&p=42834
    Thanks man, I will get back to you. I am the developer of the page so I may try to learn it myself but once again cheers :)
  6. Guys,Just wondering if their is any trick to putting an applet in a php page? I have tried it in a php page and in a normal html page, it works in the html but not in the php. Just wondering if im doing something wrong.ThanksM

  7. Guys,I am wondering how i get my page to appear on search engines like google. I have included a meta tag with keywords etc and went to google addurl and tried to add it their but it says Googlebot last successfully accessed your home page on Jan 18, 2007.which is before I updated the site, it is www.pps.ie and it is not showing up in google at all.Also what is a sitemap, google is asking 4 it so it may help.Cheers for the help guys!!MM

  8. function showmenu(elmnt){document.getElementById(elmnt).style.visibility="visible"}function hidemenu(elmnt){document.getElementById(elmnt).style.visibility="hidden"}

    That's a Java Script file, not CSS. You would either need to place it in the <script typ="text/javascript"> and </sctipt> and put it in the <head> section of your file, or make it external, by saving it as a .js file, then putting this in the <head>

    <script type="text/javascript" src="linktofile.js"></script>Cool i have put that in the header of the doc now!! It is still displaying the entire menu from the word go!!Cheers for the pointer tho, i should have known that but at the mo im using so much stuff i keep making simple mistakes:)
  9. Right, sorry about this people but i still cant do it, and i can see why, ill post the alterations i have mad so far,

    <td onmouseover="showmenu('tutorials')" onmouseout="hidemenu('tutorials')">				<td  width="170" id="topmenu" class="menu"><a href="http://localhost/test/community.html">My Community</a>				<table class="menu" id="tutorials" width="120">   				<tr><td class="menu"><a href="/html/default.asp">HTML</a></td></tr>   				<tr><td class="menu"><a href="/xhtml/default.asp">XHTML</a></td></tr>   				<tr><td class="menu"><a href="/css/default.asp">CSS</a></td></tr>   				<tr><td class="menu"><a href="/xml/default.asp">XML</a></td></tr>   				<tr><td class="menu"><a href="/xsl/default.asp">XSL</a></td></tr>   				</table>				</td>

    Now this is within a menu i have already designed because i only need one option to be a dropdown!The rest I have put in a style sheet like this,

    function showmenu(elmnt){document.getElementById(elmnt).style.visibility="visible"}function hidemenu(elmnt){document.getElementById(elmnt).style.visibility="hidden"}

    And the style for the table is

    #topmenu{	text-align:center;	font: .95em/1.6em Arial, Helvetica, sans-serif;	color:#DBDFEE;	background-image:url(http://pmigroup.ie/images/backblu.jpg); background-repeat:repeat;}#topmenu a{	text-decoration:none;	color:#DBDFEE;	}#topmenu a:hover{	color:#ffffff;	background-image:url(http://localhost/images/backblu2.jpg); background-repeat:repeat;}td.topmenu{background:lightblue}table.topmenu{font-size:100%;position:absolute;visibility:hidden;}

    :) Any help thankz a million!!!

  10. Hi All,I know that this topic has been covered b4 and I have tried the css version before and failed. I and trying to create a menu from which a drop down menu drops on mouse over! I think their are a couple of ways to do it so I wanted to know if anyone has attempted this before and can tell me how. Also if anyone has found good links to help me do it. I dont even know if I have the name for this correct because google is giving me dropdown lists.Thanks a million guys;)Monty

  11. Hi!Try setting the date like this:
    $headers = "From: $email\r\n" .   'Date: '. date('Y-m-d H:i');mail( "info@xxx.com", "Subject: $name",	  $message, $headers );

    Hope that you find any help in my short message! :?)Good Luck and Don't Panic!

    Thanks a mill
  12. Hi Guys,I have a php contact for which when filled in sends a mail to an address. The problem is when the mail arrives it has 'unknown date' on it. My question is, the their a way to set the date on the mail when using phps mail() function,Currently it says

    mail( "info@xxx.com", "Subject: $name",	  $message, "From: $email" );

    Thanks a mill!!

  13. :)The registration form does not work! It just sayswhen I try to register.And the login page is just blank!OMG! I just figured out what was wrong...I went to the site he found the tutorial on, and it said it was for PHP 4. He could have mentioned that too.
    Does it not work with that version? sorry i didnt realise :)
  14. Hi All, I found a great tutorial and code page which shows exactly how to set up a signup page, and login and logout pages! It also remembers users!! It helped me loads so hopefully it will help others as i know this is a difficult area to get your head around,Logon with php tutorialAny security issues please let me know!!Thanksmonty :)

  15. Also guys is it possible to have the menu set to <display:none> and then have it appear when hovered over? If i can get this going maybe i can alter it to appear when another element has been hovered over, ie hovering over one menu element makes the other element appear.

  16. Hi Guys,Im sure some1 has done this before so here goes, i am trying to create a dropdown menu from a menu on my page. I am going to do this by setting the display option when a mouse is moved over the menu option. I am currently trying to position the menu below the drop menu on the page. my problem is when i resize the browser window the position of the drop menu changes. Here is the code i use to position it,

    #dropmenu{	position:absolute;	left:700px;	top:40px;}

    Thanks a million guyz!!

  17. <html><body><?php	$email="fulmont99@gmail.com";        $pattern = '/^[A-z0-9_\-\.]+[@][A-z0-9_\-]+([.][A-z0-9_\-]+)+[A-z]{2,4}$/';        if (!preg_match($pattern, $email))        {	echo "The mail is not valid";	}		else	{            list($Username, $Domain) = split("@",$email);          if(getmxrr($Domain, $MXHost))           {             echo "The mail is valid";          }          else           {             if(fsockopen($Domain, 25, $errno, $errstr, 30))              {             echo "The mail is valid";             }          else           {             echo "The mail is not valid";          }        }}        echo "    $email";?></body></html>

    Hi all, im am working on a mail validation test program. It appears to be working up until if(getmxrr($Domain, $MXHost)) ; i have read on goolge that this happens when the script is run on a windows server!The error is:Fatal error: Call to undefined function: getmxrr() in D:\hshome\nigel\pmigroup.ie\cp\Scripts\PHP\testmail.php on line 20Anyone any idea how to get around this to ensure the domain is correct in the email?Thanks

  18. Well it should definately catch the missing @.  Try this and see what it does:
    if(eregi("^[a-zA-Z0-9_]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+$]", $email))   echo "The mail is valid";else  echo "The mail is not valid";

    Put your email variable in there.

    Ok i have set it up like this as a test,
    <html><body><?php	$email="fulmont99@gmail.com";	if (eregi("^[a-zA-Z0-9_]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+$]", $email))   {	echo "The mail is valid";	}		else	{  echo "The mail is not valid";	}        echo "    $email";?></body></html>

    and it is giving invalid?? plus even if i do a "sd;fjshdfklj" it still says invalid? its making my brain sore!

×
×
  • Create New...