Sunday, March 18, 2007
.css crap, .png's have fallen |10:02 PM|
I'm still playing around with cascading style sheets, and I had to give up on a few things to keep this site working with IE6.

IE6 hates .png's, hates relative font sizes, and hates our freedom. I had to change the background for this page from a neato, full color .png to a shitty, 256 color .gif because IE6's support for .png is crap.

I'd usually say "Fuck it" and let people go get a real browser, but in this case I wanted to fix the problem, not stick to an ideal.

Also, the tooltips should be working again. In some cases, when I link to an image, or have some kind of side note, instead of the old method of a little asterick and a note at the bottom of the page, I use a bit of code like This. Just mouseover the link there, and it should pop up.

I can also throw thumbnails into these tool tips, like the post before this one about Thomas's tattoo.

Next up is refining line spacing. I'm playing around with the settings to avoid the "Wall of Text" effect I sometimes have when I just rant and rant in here. It'll also mean I have to adjust what line breaks do, and start actually paying attention to the function of the <P> tag. Yes, I had to go look up the control codes to make > display properly.

I fixed up the menu, and made the proper adjustments to give it an honest to goodness relative path. Hooray!
Now all I need is to move it to the side of the window, like where a civilized person would put it. Also, divs are so goddamn cool, but I haven't had time to implement them in a reasonable way.

Labels:




1 Comments:

I just got done dealing with the IE png issue. This hack worked fairly well, especially for background images.

Download this: http://demo.opencart.com/catalog/javascript/iepngfix.htc

Then put it somewhere on the site. Then when you define the background in the body tag make sure call the behavior. ie

body {
background: url(image/barcode.png);
behavior: url('/javascript/iepngfix.htc');
}

By Anonymous Calfee, at 11:54 AM  

Post a Comment

Archives

2001

2002

2003

2004

2005

2006

2007

2008

2009

View My Stats -->