I keep finding cool links and thinking – WOW! This is so cool – EVERYONE must know about this site already…
Well, just in case you don't:
W3Schools has tutorials on… well… everything! (excpet PHP) but still very cool!!!
I keep finding cool links and thinking – WOW! This is so cool – EVERYONE must know about this site already…
Well, just in case you don't:
W3Schools has tutorials on… well… everything! (excpet PHP) but still very cool!!!
I'm working on a design of a website, and they *just* came to me and reported that the site doesn't print out that well. DOH! Cetain pages really need to be "printable" – how hard would it be to make a printer-friendly version?
There's an easy solution with PHP coming… (I just LOVE PHP! Can you tell? LOL!)
Read the rest of this entry »
If you're using background colors or images in table cells, and you look at your page in netscape 6+, if one of your table cells doesn't actually have anything in it… (ie. one or more cells look like this)
<td></td>
Then nothing will show up in those cells: no background image. no background color.
CSS to the rescue!!
Put this in your stylesheet and all should be well:
table
{
empty-cells: show
}
I just installed a *very* simple forum here.
The key words are *very simple* – meaning you get what you ask for. It's usability isn't all that great – it's feedback is kind of clunky… I mean it's a nice simple forum… but maybe it's too simple. I didn't want to install a huge forum like phpbb just for two threads… but that may be the direction I have to go in if I don't want to sacrifice usability…
I didn't want that forum to be a main part of the site… just a way for people visiting the site to ask questions or make script requests… That's all Well, I guess, you can be the judge – how much do you hate it?
Found this code over at www.php.net – I just packaged it up into a file you can drop on your server and look at…
Not really useful on its own… but maybe on a future project, it might be (like a hit tracking app?)
First I should say it is actually *better* if you just use the ".php" extension because otherwise it creates a lot of overhead for your server. But if you insist on doing it this way 😉 Christine posted on the Blogomania forums how you go about setting that up.
This will let you list your 50 most referrers from google hits.
First, download the LittleGreenFootballs referrer script.
Read the rest of this entry »
I saw a question about some html come acrossed one of the maililng lists I'm on this morning, and thought I'd share some about it! Since it was a relatively new piece of knowledge to me, I thought maybe it would be helpful to someone.
The <base> tag: The base element defines a default reference to external resources.
There are definite advantages to being able to specify a default location. It means that you don't need to use absolute URLs to images when using PHP or SSI headers which will be used acrossed multiple directories and subdirectories. Same goes for templates on journal/weblogs, even when you are using the design throughout the system even in archive directories. I just stick this tag inside my head before my stylesheet link:
Then the src to a image only looks like this:
So basically, it just makes sure that your pages know where they are in the directory structure instead of using a lot of relative paths that look like ../../image and trying to keep track of where in the structure you are! Isn't it nice to know something that could make your html files smaller or save a few keystrokes?
Leaving this post here for archival purposes – but the latest version of the script is now in cgi format – find more info here
Current Revision: 1.2b
05/12/02
WHAT THIS DOES:
Allows visitors to subscribe to any post's comments. A "mailing list" for that post will be created the first time someone subscribes to the list and an email will be sent to that list each time a new comment is posted. A visitor can subscribe/unsubscribe WHILE leaving a comment or separately.
UPDATE 5/12: A minor problem was found in the emailtolist.php causing some strange behavior when previewing comments (adding slashes and the like) If you downloaded the previous version, download the new version and simply replace emailtolist.php with the old one. Let us know if this does not fix the problem!
Continue onward for directions and downloads (at bottom of the post)
Read the rest of this entry »
It should be known that I am fairly new at the CSS thing – I learned just enough last fall to use it to skin my site, but beyond that I still don't know that much. Just this morning I asked the other scriptygoddesses what the difference between the ‹div› and the ‹span› tags were in CSS. Lynda & Kristine wrote great responses that were clear to me, but I wanted to also point out that scottandrew.com has a nice explanation. In case you were wondering, "DIV and P are block-level elements, meaning they are designed to contain other elements. By default, DIV and P elements begin on a new line. SPAN, on the other hand, is an inline element."