Archive for the ‘ HTML ’ Category
Displaying the day-part of the date, followed by the month etc. just looks plain wrong and lazy – ’20 September 2009′. ’20th’ would look much nicer and can be achieved without too much hard work. A simple function…
[More]
Catching a keyPress..
August 4, 2009 | Comments | HTML, Javascript
…like ‘Enter’ for instance.
Print a Page, or Print a Section
July 26, 2009 | Comments | HTML, Javascript
This is another functionality that I have been looking or for a while. I haven’t tried it yet, but intend to add this to my default toolbox! I am sticking it here for now – and will update this when I have used it.
Cross-browser bookmark link
July 26, 2009 | Comments | HTML, Javascript
‘Bookmark Me’ is a sort of IE thing and doesn’t usually work in FireFox, Safari, Chrome, etc.. so as a FireFox user I’ve never bothered with a bookmark links before.
FireFox users know that Ctrl+D is the shortcut for these browsers, and that most ‘Bookmark Me’ links just aren’t work clicking – as they won’t work.
And then I found this…
In IE6 and sometimes in IE7 the background images flicker if they’re also an <a>. A small edition to .htaccess overrides the browsers default to load the backgrounds every time.
Cold hard website errors are horrible and unnecessary. All you need is a few nice looking .html files in your directory somewhere, then use .htaccess to reditrect to these when there is an error. Obviously, no errors at all would be better…. ![]()
[More]
In short, a 16x16px bitmap, renamed, in the web root. Or is it?
This minimal approach does actually work, but done properly, they should have a few different size versions in the same file, so that not only do they show in the URL bar, and now more recently in the tabs as well (IE8+, FF3+), but also display a different (clearer) version when dragged to the desktop.
[More]
Search, with no click
October 14, 2008 | Comments | HTML, Javascript, PHP
How do you style a search button? They all look crap to me, and the default browser ones are all different. So, my solution is to get rid of it. Gone. No button. Heres how…