SXSW ‘08: Friday Plus the Last 24hrs

Mar 7, 2008

This trip has been pretty crazy… Twenty-four hours ago I was in an emergency hospital. I was at work and suddenly became intensely dizzy and nauseous. After running back and forth from my cube to the restroom, HR called an ambulance. I stayed in the hospital for about five hours—they did some blood tests, blood pressure testing, and a CAT scan. Finally around 10pm last night I was released from the hospital with a diagnosis of vertigo possibly due to a viral ear infection.

So I go home and pass-out due the be given large amounts of dramamine and valium. I luckily woke up at 5:40am and realized shit I have a flight to catch by 7:47am, and I haven’t even pack. So I through my laptop in my bag, through a bunch of clothes in my luggage, and scram out the door. As a side note that night my laptop and been dropped and know looks all ghetto. Before I left for the hospital I incorrectly packed my laptop away in my backpack, when my roommate went to put my backpack upstairs it flopped right out. I guess it will be a good excuse to buy a Macbook pro, when they come out with the new chipsets.

Luckily Ontario airport is a very quick airport to get through so I easily made the flight to Salt Lake City. My flight to Austin was delayed an hour on top of my two hour overlay. So that was fun.

Small little plane that I took from ontario to austin.

Once I got to Austin it has been smooth sailing. I got to my hotel at 7:30pm ran to the Convention center claimed my SXSWi badge and goodies bag. The goodies bag didn’t have anything great in it. The coolest thing was a Linux magazine and Create Magazine.

I’m going to try to go to sleep early so I can enjoy all the great talks. I’ll be posting another entry tomorrow night about any activities that happen during the day, and which talks I attended.

Labels: , ,

Background colors not printing?

Dec 23, 2007

Today I was working on a little report for work. So I designed a neat xHTML page that has some stats listed in a pretty little table, and then I realize people at work tend to print things out, so I better make a nice print style sheet. So I add my link tag: <link rel="stylesheet" type="text/css" href="/css/print.css" media="print" /> then started working on my print style sheet. Since I use CSS for all the layout all I really need to do is a few of things.

  • Remove the non-relevant section such as the page header
  • Adjust the browser defaults:
    • Remove coloring and underlines from links
    • Remove dotted border from abbreviations
    • Set my logo image to display as block
  • Restyle the table so that alternate rows are different colors
  • Add some Javascript to make the link’s url visible

So after doing all these I’m try to do some test prints. In Firefox and Opera everything is fine. Then in Internet Explorer 6 the background color for the alternate table rows isn’t printing. So I’m thinking it’s some sort of IE bug. After spending some time fiddling with the CSS I noticed that which ever element I applied a background color to it wouldn’t print.

Then it hits me… The browser preferences. If you go to the file menu and choose Tools << Internet Options A window will open. Choose the tab called Advanced. Then scroll down to the printing section and check the option “Print background colors and images”. See Figure 1.

Figure 1

Once you’ve done this your background colors will print.

I also noticed this happens in Safari for Mac. The preference to change this lives in the print dialog. Once your in the print dialog box, expand the dialog by pressing the upside down triangle thing next to the printer you’ve selected. figure 2 Then check the box that says “Print Backgrounds”. See Figure 3.

Figure 3

As a web designer it reminds me that you can’t depend on anything so make sure that your print style sheets do not depend on background colors. For example what if you wanted to have some light grey text or white text on a background color, well if the user has their background colors unchecked, which by default it is, the white text will be printing on white paper. Not good. I guess the lesson here is to test, test, and then do some more testing to make sure everything is working.

Labels: , ,

24 Ways: Web Design Tips and Tricks

Dec 1, 2007

Every year (since 2005) 24ways.org brings you a web design/dev article each day for twenty-four days leading up to X-Mas. The articles are written by "thought leaders" in the web design/dev community. Some of last year's article were written by Jeremy Keith, Dan Cederholm, Andy Budd, Shaun Inman and others. Today (Dec. 1) was the launch of 24ways 2007 so check it out.

read more | digg story

Labels: , ,

See more recent posts or search this blog