Archive for the ‘Technology’ Category
Image Replacement on Submit Input Items
This is a quick tip for someone who wants to replace everything in a input item with a type of submit. If you try the traditional text-indent: -9999px method, it will work just fine in Firefox and Safari, but within IE7 and IE6 the whole button will be gone. Instead apply padding to the element equal to it’s height and then add overflow: auto;.
Here’s my implementation:
.search input.input-submit {
background: transparent url('/img/search-button.png') no-repeat scroll 0 0;
border: 0 none;
width: 20px;
height: 0px;
padding-top: 21px;
overflow: auto;
}
/* For IE7/6, place this in a separate style sheet and use conditional comments */
.search input.input-submit {
height: 21px;
}
Backing Up Saved My Sanity
Well, here’s a simple and easy to follow tip: always back your files up. And I don’t mean just your documents, I mean everything. I’ve been playing around with my Windows installation lately, installing Vista and reinstalling Vista and then eventually going back to XP. Each time, back ups have saved me time, energy and most importantly – sanity.
The first time I almost lost all of my photography which would have done me in. Sure, I have a lot saved on Flickr, but not everything and not at full quality. Plus, I would have lost all of my RAWs. On the second installation I lost the latter part of my music library and my all of my school email. I am now a full on supporter of backups. Make sure you do it fairly often – I back up twice a week – and get a good reliable external drive.



