Entries Comments

Alex Mace’s Blog

Life & Web Development

Posts Tagged ‘Firefox’

Styling buttons in Firefox

This is more of a note to remind me in future. Take this bit of HTML:

<button><span>Save</span></button>

If you set the button and the span to have padding: 0, Firefox will still show the button with some padding. You can get rid of this with the following CSS:

button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

Sorted!
 
 

Safari on Windows

I’ve been trying out Safari on Windows recently. It seems pretty good – it renders fonts really nicely, just as it does on a Mac. Performance seems good, although I don’t know how much quicker it is than Firefox, other than what Apple claims. Firefox has never felt particularly sluggish to me, but I guess in these times of broadband it will start to become the browser that affects render times rather than download speed. I wonder if that’ll start to affect how we design web pages? I guess the simplest, standard compliant ways will continue to be the best.

I think at least in the short to medium term, I’ll be sticking to Firefox as my main browser – tools like Firebug and the Web Developer extension just make it the perfect platform for development. However, the new Web Inspector in Safari 3 looks like it might be offering some strong competition for the hearts and minds of developers. I have been trying to make sure I do my morning reading on Google Reader using Safari, and I try and keep my to-do list on Basecamp open in Safari. We’ll see where we go from here…

Damn Firefox

I was just typing away at an entry here that I might well attach to the end of this one when I decided to look up the spelling or a word. “I know, I shall use trusty Google”, I thought. Well, I didn’t actually think that, I looked at the Google search box in the top right corner of Firefox and typed in the start of “chimera” to see if the suggestions came up with the right spellings. They came up with more than one that I thought could be correct, so I actually performed the search. Having established the correct spelling, I went to click on the tab containing my half typed entry. Only, oh dear, Firefox has displayed the results in the tab I currently had open. Arse. Not quite sure why it would have been designed like that. After all, in Firefox 2 we have a useful “Close Tab” button right there on each tab, so surely it is a cheap job for the user to do to close a search tab once they have finished it. After all, aren’t you looking for something that might well be relevant to another tab?

Anyway, what I was saying was that I’d changed the theme to a third party one, Iceburgg by Devlounge as it has a nice wintery feel and we’d put the Christmas tree up. I’ve been tinkering about with various things this evening while Kate is away including setting myself up a user account on her PC. We only have one set up in our house so far, which is her box with my monitor and speakers (hence the chimera reference I was originally going to make). Now that I’m retyping this is does seem a dull thing to say, so nevermind…