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.
www.maggsweb.com
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.
April 22, 2008 | Comments | HTML, Javascript
This is used more and more to display more info, hidden fields, etc…
It could easily be improved with multiple divs stacked in the same place…
Hmmm…, now I am getting ideas.
[More]
These are a wicked (and widely underused) way to wrap similar actions together with a nice little header.
When I first saw them in use I tried to recreate them using CSS, a background image, overlapping layers… Wooaah – Cool Head!! Noah was using these…
CSS makes repetitive tagging easier, so start out with something simple that will save time – Formatting Text – but do it properly and use ‘ems’.
[More]
Can’t rely on the size of an uploaded image and don’t want to resize it?
This function takes the larger size of the width and height and applies a formula accordingly. Then gets the new value and applies the percentage, then rounds the value. It returns the new sizes in html image tag format so that you can plug this function inside an image tag.
If you use images in links, then you (like the rest of the world) probably hate the blue outline that they are given by default by being inside an <a href tag, so you add border=0 to every <img tag. Fine. It works.
But here is a far nicer, cleaner solution that will save yourself valuable characters. Add it to the stylesheet!