Posted
December 7th, 2010
in
Programming
/
Tags: CSS
When coding web pages, a common problem is aligning (link) text vertically, often in relation to an icon. This is easily accomplished by setting height
and line-height
equal and by adding padding for the icon which is set as the background-image
centered vertically.
<style>
a {
background:url('16x16icon.png') no-repeat left center;
display:block;
height:16px;
line-height:16px;
padding-left:20px;
}
</style>
<a href="#">Link Text</a>
But what if the link text needs to span more than one line for the given width? What if the icon is taller than the text height?
Read the rest of this entry »
Posted
May 2nd, 2010
in
Technology
/
Tags: How To, Microsoft, Technology
The users for one of my clients started complaining about not being able to use the Out of Office Assistant for Outlook 2007. They recently upgraded to Office 2007 from Office XP. This was after they upgraded to Exchange 2007 about 6 months prior. I did not do the initial setup for Exchange 2007 and the other server upgrades, but I’ve been coming in now and again to cleanup problems.
Read the rest of this entry »
Posted
April 8th, 2010
in
Software
/
Tags: Adobe, Apple, iPhone
So according to Daring Fireball Apple’s new iPhone Developer Program License Agreement effectively bans Adobe’s Flash-to-iPhone compiler.
CS5 is thisclose to release and the iPhone compiler is the flagship feature in this version of Flash. They’re pretty much royally fucked.
Plus Apple has already made its position clear on Flash. Personally, since I’ve never been a slave to brands, I don’t have much of a stake in either company unless one of my mutual funds happens to invest in one. Yet, the way I see it, Adobe can really give Apple the big “Fuck You” if it wanted to, simply by no longer producing any of its Adobe software for OS X. Now seeing how designers and design houses invest heavily in Macs simply to run Adobe software, should that platform no longer become available, what do you think is going to happen? Is the entire graphic design, web, print, and publishing industries going to abandon all its invested know-how and simply pick a new defacto industry standard, or are they going to switch to Windows?
As reported on Almost Done, Apple apparently has its own iPad-specific web framework, which Jim Hoskins has dubbed AdLib. If you don’t own an iPad, you can still have a look at it by spoofing the user-agent courtesy of LifeHacker.
Mozilla/5.0(iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314 Safari/531.21.10
I tried Firefox and Chrome using their respective user-agent switcher plugins, but didn’t get very far. So go into Safari and select Develop->User Agent->Other… Paste in the above string, click OK, and make sure it’s active. Next navigate to iPad User Guide and check it out. Here’s hoping Apple will be releasing it independently or as a part of the SDK. Here’s also hoping it’s iPhone-compatible.