Montana Jones

Montana n: A state of the northwest United States bordering on Canada. Admitted as the 41st state in 1889. The fourth largest state in the union, it includes vast prairies and numerous majestic mountain ranges.
Syn: Treasure State, Big Sky Country, Last Best Place.

Jones n: slang. An addiction or very deep craving.

Saturday, May 12, 2007

Programming the credit card machine

Guy:
[on phone] Hey, this is Guy. I need you to pull up account XX. Okay. Yeah, we are doing the transmit and it is asking for a password… Okay… Well can we just get rid of that? I've done over 80 of these on the SUX1000 and I have never had to use a password to transmit before… Uh, huh… So I need to tell the customer to just live with it?
Me:
Oh fucking hell.
Guy:
Yeah, do please ask someone. And another thing, we need you to update the address... On the receipts. Yeah, these receipts go to customers and he wants a different address on there... It's box 000... Oh, you can't use a post office box?
Me:
Oh fuck. They are just wrong.
Guy:
So you can put the P.O. box on a second line? Okay, just do it. Oh, you CAN put the right address on? Great thanks.
Me:
And the phone number. Get the right phone on there too.

[later]

Guy:
Okay, lets give it a test. Is that the right address and phone on the slip?
Me:
Yup.
Guy:
And see, it's a one button transmit now too.
Me:
As it should be.
Guy:
At first she wasn't going to do it but when she started hearing all the swearing in the background I think that motivated her.
Me:
Whatever it takes. It's my money not hers.

Labels: , , , , , , , , ,

Sunday, February 18, 2007

Things I learned making this new template

When using empty DIV tags as css hooks, IE will screw them up unless you put font-size:0px; in your style sheet.

Drop shadows are a pain in the ass.

There is a damn good reason that the pin stripes are 7px apart and the header is 126px tall.

I have never before appreciated photoshop masks so much.

Drop shadows are a pain in the ass.

There is a difference between this doctype: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
and this doctype: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

Don't forget to add the property type="text/css" to your style tag or your html will not validate.

If you think your design looks nice, change the resolution on your monitor to form a second opinion.

Drop shadows are a pain in the ass.

This css selector: #sidebar P,OL,UL,H6 {…} is not the same as this css selector: #sidebar P,#sidebar OL,#sidebar UL,#sidebar H6 {…}

When using multiple :hover elements dependant on class, you need to use !important to get the subsequent ones to display. This does not work in IE.

It can be a pleasant surprise to test in Internet Explorer and see something appear correctly on the first try. Most of the time nothing works right.

If you use Internet Explorer to browse the web you are contributing to the stress, anxiety and heart disease of thousands of web developers. The world will be a better place if you used the superior Firefox browser.

Blogger can be a pain in the ass too.

Labels: , , , , , , , , , , , , , ,

Tuesday, January 16, 2007

Print style sheet detail

Nerd Alert. This post is for geeks only.

When assigning a print style to your web pages (You do tweek your style sheets for printing, right?) be advised of an undocumented issue.

The "page-break-before" and "page-break-after" style elements will not work when applied to the <br /> or <hr /> tags. I have tested this in FF2 and IE7; mileage may vary on other platforms.

The workaround/cludge I ended up using looks like this:

<div style="page-break-after:always;"><hr /></div>

Yes, I know. Inelegant and ugly but I blame the browser makers.

I hope this helps to prevent someone else going through the hours of hair pulling I had to deal with.

Labels: , , , , , , , , , , ,