Category: Web Html, php, other

This little booger keeps those run on code sentences, long urls, etc inside the <div> that contains them right where they belong pre { white-space: pre;           /* CSS 2.0 */ white-space: pre-wrap;      /* CSS 2.1 */ white-space: pre-line;      /* CSS 3.0 */ white-space: -pre-wrap;     /* Opera 4-6 */ white-space: -o-pre-wrap;   /* Opera 7 */ white-space: […]
Well there are a couple of ways to do this that are pretty straight forward and easy.  One is using the carrington mobile plugin in wordpress, but dang if you install the plugin from wordpress you can’t or I can’t find the instructions to save my life, so therefore here are the installation instructions in […]
Me = busy at 2am!  I searched the world over and couldn’t really find this directly answered, but trial and error won out so I figured out how in php to check the session variable to see if the user is logged in and then if the are change the link. I have tested it […]
I am a programmer at heart I guess or at least I like puzzles… anyhow the fix for the day was: In wordpress make only stick notes appear on the first page or the page in question and only the part before the More or read more >> You on the edge of your seat […]
can you say that without any W’s? Didn’t think so!  Aral = Genius plugin
Thanks for this! If you want your pretty little fonts to follow from your letterhead and business cards to your website, here’s how I did it.  Of course I don’t care quite that much for my own purposes, well maybe I do, but I did it for someone else’s site and although Mr. Gates & […]
Here is the php that will get the name of the domain who your visitor is referred from  $_SERVER[‘HTTP_REFERER’]; but itwill display the full address path http://therefferingsite.com Here is how you can format it to be www.thereferringsite.com and if you are using it from one of your own sites you can ever get cute and […]
I have to say this is freakin sweet, especially if you have a links page to capture description data, etc.  Here is the code <?php // Assuming the above tags are at www.example.com $tags = get_meta_tags(‘http://www.putAwebsiteInHere.com/’); // Notice how the keys are all lowercase now, and // how . was replaced by _ in the […]
Here is the code – <a href=”http://www.yourwebsite.com/thepage.html” onclick=”window.open(‘http://www.yourwebsite.com/thepage.html’, ‘popup’, ‘width=500, height=300, scrollbars=no, resizable=no, toolbar=no, directories=no, location=no,  menubar=no, status=no, left=0, top=0’); return false”>Title of the link you in the pop up window</a>
Obligatory Will Rogers quotes

Half our life is spent trying to find something to do with the time we have rushed through life trying to save.

There are 3 kinds of people the one that learns by reading. The few who learn by observation. The rest of them have to pee on the electric fence for themselves.

The road to success is dotted with many tempting parking spaces.