MaggsWeb:7

www.maggsweb.com

Posts Tagged ‘ HTML ’

HTML to XHTML

January 4, 2010 | Comments | Miscellaneous

Here’s a quick check list of the important requirements of XHTML and the differences between HTML and XHTML.
[More]

Add this into your .htaccess file…

?View Code APACHE
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1

[More]

…like ‘Enter’ for instance.

[More]

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.

[More]

‘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…

[More]

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.

[More]

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]

Shortcut Icon (favicon.ico)

February 11, 2009 | Comments | HTML

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]

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…

[More]

blur() no more..

June 24, 2008 | Comments | CSS, HTML

Use FireFox? Can’t stand the dotted lines around links when you select them? Nope, nor me.

For ages I have been diligently adding a javascript:blur(); call to my links to stop these little white lines appearing.  Now I have found the holy grail.

[More]