Archive for the ‘css’ Category
Newer Entries »IE6 Randomly moves stuff around and how to fix it
Wednesday, August 27th, 2008
Recently I had to work on a layout that had a lot of javascript in it, and because the structure of the html couldn’t change, I positioned things absolutely and relatively ( position: absolute; position: relative;) in order to get things in the right place. I was very pleased with the results and Firefox and IE7 looked exactly the same. Then came IE6. It was slightly off when I first loaded it in, so I did the typical thing and just did some conditional code for ie 6. Then, the next time I refreshed, things moved into random other places. And then again on the next refresh. And then not on the next refresh. And so on. How did I fix it? On today, the 7th birthday of IE6, when others are working hard to put ie6 on its death march, here’s a bit of code that made my life a little brighter… (more…)
How many things should you learn?
Monday, August 18th, 2008
The obvious answer to this is, “as many as you can.” And with the web, you really can keep on going and going and there’s so much more to learn. You start learning photoshop and illustrator, and do your best to learn the tools, learn the rules of design. And then you decide you want to build a site, and start using dreamweaver, but things don’t turn out, so you learn to hand code your html and css. This opens up a whole new can, and now that you’re designing cool stuff, you want to learn how to make it “cool” for people to interact. So you put some javascript in using jquery, but things don’t work as you want them to, so you start rooting around to find out how to fix it. Suddenly you’re spending all your time coding and you’re not designing any more at all.
This is a problem. While I agree with (some of) the experts that all web designers should be able to do decent css and html, it becomes a problem when a designer has to spend all of his or her time coding. (The debate on learning both is still raging on this actually– some experts say designers should only do photoshop, others say they should have an understanding of the coding, but that’s beyond my expertise.) When there’s no one else to do it, how do you refuse to do it?
I have always been one of those people that likes to do and learn lots of new things. Hell, I’m learning how to spraypaint, how to sew clothes, how to use blender (a 3-D program), how to make silicon moulds, besides the fact that I play piano, would like to do gardening, and like to read a bit of philosophy. A person that stretches herself or himself too far– is he/she destined to never be an expert at anything? Have I stabbed myself in the foot by trying to do too much?
good women developers…rare because women can’t be specialists?
Friday, June 20th, 2008
Recently I received an article from the wall street journal entitled, “Men write code from mars, women write more helpful code from venus“, and as girl surrounded by quite a few male developers, I forwarded it to the dev team with some random comment about “Girls are great developers” and that they better be ready for it, because I had already commented the entire code base out with kisses. Meg, our other girl developer, said, “Girls are just better in general!” and we were all laughing, when Rob, another developer piped in, “Boys are better in specific!” to further laughs.
But he continued, “Girls aren’t good at specializing. Genetically that’s just the way it is. Scientific studies have proven it.”
(more…)
Detecting ie6 in jsps (jstl) to change png to gif
Tuesday, June 10th, 2008
I’m just learning how to integrate css into jsps, but I’m lucky enough to have people around to help me out! As a designer, I want to make sure browsers degrade as gracefully as possible, and so I asked Dan, one of our developers, how you would replace png images for map markers into gifs for ie 6. Usually I would just declare this in the css, but here we were appending a number at the end of each image and then appending the .png. Looking online didn’t uncover any “beautiful” solutions (as Dan would say).
Newer Entries »


