Zooming weirdness in Mac Photoshop CS5?

This is one of those stoopid things you trip over every now and then. Ever since I started with the CS5 upgrade Photoshop wouldn’t allow me to use a zoom marquee… instead it does a strange thing called “scrubby zoom“. This new feature means that when clicking and dragging the zoom tool your image will always zoom in towards the point you first click on. I’m sure this makes more sense to new users but nearly 20 years’ of muscle memory is very hard to shake!

The fix

Thanks to my colleague Aleksej for finding the answer for me. Just uncheck “scrubby zoom” in the contextual menu at the top of your Photoshop window!

,

No Comments

I love the smell of Napalm in a teacup

What?

Your friend and mine [Google] says an acquaintance [Microsoft] has been copying their search results in order to get curried flavour [surely carry favour]. More details on the BBC and at a web-nag near you…

http://www.bbc.co.uk/news/technology-12343597

Hohoho.

Oh dear.

No Comments

CSS in PHP

The last time I tried to render CSS through PHP was many, many moons ago. I didn’t work and I couldn’t figure it out. Yesterday I tried again and found out why… the MIME type must be set as text/css. D’oh. Set MIME type like this:

< ?php
header("Content-Type: text/css");
?>

,

No Comments

Weird line-height in Chrome?

Specifying line-height on an <a> in a <li> will not work in your webkit based browsers. Line-height needs to be set on the containing <li> to work at all in Chrome or consistently in Firefox. Now you know.

No Comments

The CSS reset has been reset

The grandaddy of all CSS resets hits version 2.o beta: Eric Meyer’s Reset Revisited. See also the subsequent thoughts on how to handle :focus.

Update! Now at Beta 2.

,

No Comments

Advertising that you couldn’t get away with these days

Found this link to a whole bunch of mostly crassly sexist adverts from way back but but there’s other NO-NOs in there too: TOP 48 ADS THAT WOULD NEVER BE ALLOWED TODAY. Still not seen Mad Men yet but I guess this is what they may have gotten up to…

Anyway here’s my favourite wrong-uns:

No Comments

Image free CSS arrows/pointers/triangles

Great to finally see [forgive my split infinitive] a well documented walkthrough on how to create these little bit of magical CSS that add triangular pointers onto your navigation elements – or Talk Bubbles as Stubbornella OOCSS has them – without either images or extra markup (reintroduce the extra markup if you want IE6 & 7 support). It’s the lack of markup that had me confused. Thanks to Nate for explaining what I was missing – CSS psuedo elements, or any gernerated content is not part of the DOM – and hence you cant actually inspect it with any flavour of developer toolbar to see how it’s done.

Zero width and height plus big margins = polygon effects!

Like wow.

Read, straight for the horse’s mouth here: CSS Arrows and Shapes Without Markup .

No Comments