0

Recently I fixed bug where the background of the button is not rendered properly on IE. I want to share with the good old online community.

 

IE Browser, button background not render correctly.

98  480x360 button ie IE Button Background not Rendering Properly Bug

 

Chrome Browser, button background rendered correctly.

97  480x360 button chrome IE Button Background not Rendering Properly Bug

 

The code – HTML:

XHTML
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>
<body>
    <div id="container">
        <input type="submit" class="Enter-btn" name="Enter" value="Enter">
    </div>
</body>
</html>

CSS:

CSS
1
2
3
4
5
6
7
8
9
10
11
12
<style type="text/css">
#container input[type='submit'] {
    background: #dd9900;
    border: 1px solid #888;
    border-radius: 5px;
    padding: 3px 8px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    filter: progid:dXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#EFEFEF',GradientType=0 );
}
</style>

The problem here is the filter in the css. In IE browser, filter overwrites background. To fix the issue, we simple overwrite this filter rule by using something like this.

CSS
1
2
3
4
5
<style type="text/css">
#container input[type='submit'] {
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
</style>

The End.


0

Apple’s iPad2 is coming out in just 2 days away. My girlfriend is going to grab one on launch day and I will wait in the line for her. Friends are questioning me about it because I am well known for being an Apple Hater.

iPad no attraction to me, the only reason for me to stand in line and get one of this production is for my girlfriend wants it. I have my eye firmly locked onto the XOOM wifi version which I have no idea when it is coming out.

My company had an iPad so I could experience it, I have to say I do love to read books on the thing and it was great to have it when I am watching TV. I often love to browser internet while I am watching TV or movies. I don’t really like to play games on iPad unless I have absolutely nothing to do; it’s probably because I am a hard core gamer and I love to play MMOs more than causal games ( I grew tired of Angry Bird on my N1 and mainly just Kongregate games now a days.)

Now back to topic. Apple was great when they released iPhone, it set a bar for any smartphone that came after it. I was amazed by it too and it is good for the technological advancement as a whole. Up until then, people had experimental devices but none were popular. These devices weren’t bad, they just wasn’t built to meet average Joe’s need: simple, easy to use. Apple hit a home run with it’s arrogant user experiences philosophy – Apple knows better or more precisely, Steve Jobs knows best. Apple has successfully sold us an idea that Apple is the most innovate company. They build solid hardware and software.

In my humble opinion, it’s all just hoax. True, the iPhone was innovative, true the iPod was cutting edge back in the 2000s but if you take a look at the product itself, you see the flaws in Apple’s logic. The iPod has nothing new for the past 10 years. It’s still just an MP3 player. The parts might be upgraded but the software is still the same. The iPod touch is just a wifi version of the iPhone and the iPad is just a bigger version of the iPhone. How can a company claim they are the most innovative company when their own product hasn’t had any major breakthrough in the past 10 years. The Mac system have seen hardware upgrades, and a new OSX almost every year, but what are the major changes? Let’s look at Microsoft as an example, they have a variety of Windows version in the past 10 years, Windows 2000, Windows XP, Windows Vista, Windows 7, Windows CE, Windows Phone 7, not all of them are successful but they did try to change it. Mac still looks like a Mac and OSX is still OSX with a different animal every time. Maybe it’s not fare, Apple did try to bring Mac Book Air out, so I’ll give them credit for that.

I’m never a big fan of Apple because I don’t like their product and their customer services. For example, my company’s Mac broke down and we lost our recovery disc. Luckily, we have Apple Care purchased. I bought it into the store, they plugin their Apple technician USB drive and was able to access all the system recovery function which is built into the system but regular customer is denied of. If I can download the tool, I could do it myself without paying for Apple Care. Apple sold you the idea that genius bar is full of geniuses and people bought it.

Idea is a powerful stuff, it is hard to get rid off once it is taking hold within one’s mind. To youngsters, MP3 player is iPod, Music store is iTunes. Apple have successfully brainwashed a generation of people and that’s why they are the Best Marketing Firm, not the most innovative company. Remember that.


0

At first, I thought he’s crazy, one of those mad scientists. In the end, he taught me Hook’s law.


0

I heard something very shocking recently and it has shaken my belief in the Bill of Rights. It tells me that if I really want to exercise my rights, I’d probably die at young age.

What happened was two police officers from Bakersfield with three bailsman raided a woman’s house without a warrant nor a probable cause. I learned there the fourth amendment is suppose to protect people’s but clearly in this woman’s case, it was totally ignored by the so called “federal law enforce officer” exemption. Anyway, a video is worth more than a thousand words.

0 Another good reason why I should not own a gun.

It didn’t get any mainstream media attention, god, I am also using this filthy word now. Anyway, this clip didn’t get attention from the corporate media like CNN, CBS, FOX, or NBC but looking at the content of this video, the woman’s rights was clearly being violated. I didn’t even know it was legal for bounty hunters to just go into people’s house and start searching and it appears that the police officers were accompanying them. I know that private contractors are being deployed to Iraq, but that is for Iraq, this is United States.

It was on the local news and you can check it out here.

And another video below:

0 Another good reason why I should not own a gun.

While this is shocking to me, I also heard on Mike Malloy’s show last night that there were cases where police officers raided wrong address before. In one example he shared on the air, he said that one of the family fought back and only to meet twenty two bullets as response. Luckily none of the family member was hurt but what’s even more outrageous was that these police officers were awarded with medals by the city. This is really really mind boggling.

You can not trust me, but try to google these informations online and you’ll see.

So all the talked that I have the right to bear arm and protect my personal property with the examples that I have been given only encourages me to lay down and play dead when the police knocking on my door because any movement I make can be a sign of threat to the police officers and they probably can do anything to me. Yep, I came from one iron fist nation to another. There’s just no end until I become super rich or powerful. Until then, I am nothing but a worker ant and I have to serve the queen ant. An Ant’s life is nothing but a fairy dream and I need to wake up.


0

I probably will get flamed by what I am going to say. Oh well.

Question: What has Dalai Lama done?

To be honest, he did a lot of talking, but I am having a hard time to find what he actually done that helped people. It’s true words can inspire people and that is an act of good itself, but I can also say a lot of good words and nobody’s going to like what I have to say. My good advices are often very harsh, it is not something people like to listen to because truth hurts. Dalai Lama is a great speaker, he said that it is ok to shoot a person that is aiming at you at a non fatal area. If it was me, I’d say take him down because sooner or later, somebody will get hurt and it’s better him than anybody else.

I did managed to get something. He supports the SOS children rescue program. This is the problem, that’s all I read, he supports it for many year. How did he support them? Did he give any money? Did he actually helped any children? To be honest, I support all these organizations as well, and why am I not getting any awards? I also found that he has a foundation, but it also says he’s not actively managing it, only give general direction and his staff takes care of the rest. Well, he is busy, giving speeches everywhere.

Dalai Lama has a lot of peace prizes, and that’s what really piss me off. Anybody who heard of Michael Parenti should also read his piece on the Dalai Lama. Click here to check it out. So I guess it is okay for people who had slaves before to get peace prize. Maybe the reason I haven’t got one is because I never had a slave.

This world is so so so messed up.


0

Lots of things has happened this month and though it just happened, it feels already faded.

The health reform, technically, it’s the health insurance reform has finally passed both house and has been signed into law by president Obama. Finally, there’s a non-private competitor in this industry and hopefully there will be some change as how these companies operates in the future. The whole thing won’t start to change people’s life until 2014, that is if we can get pass 2012. Just kidding, the earth might get messed up even more, but there’s no end to this planet yet. Relax, and if it happens, it’ll be a quick one, so why worry.

Google pulled out of mainland China and started to redirect their google.cn to google.com.hk. Personally, I don’t think it’s a wise decision because it’ll be harder for them to go back into China. I know that the Chinese laws is contradicting google’s business model which is give information access to everybody but less information is served by google’s decision. Regarding freedom of speech and human right issues, they are just there for the ride. If the business wasn’t hurting in this case, google probably won’t give a shit about it. And please don’t give me the don’t be evil argument, evil is a variable, it depends on how it is defined. If google is truly wanting to do the right thing, they’d stayed in, endure, and do damage from the inside. Tipping toe around the rules and regulations and play it smart. Now? Not only it is hard for them to go back, they are losing the raising mobile web browsing market as well because everybody knows the Chinese government owned telecommunication companies will replace google search engine with something else, doesn’t matter if it is baidu, or bing, or anything else. It’s one piece of pie that google will be missing consider just last year, more people are using mobile devices to surf the internet than traditional devices like desktop or laptop. Oh well, it’s their company.

Apple is readying it’s next big thing – The iPad. Blah, frak it and frak Apple. I hope it fail but probably not going to happen. So fanboys, enjoy your overpriced toy.

I’ve been watching Life on discovery channel. Like Planet Earth, this is yet another great installment. Earth is so beautiful and we should protect and preserve it so that our future generation can see what we see now. It amazes me that the food chain is so closely tight together that if one part is missing, it’ll ripple effect the rest of the biological system and just yesterday, I read that coral reef is disappearing and a lot of the bottom food chain life are depending on it. I am optimistic that even if coral reef is completely disappeared, life will find it’s way to become flourish again, but before that happens, there will be fury from the nature.

Finally, I can’t wait until this week ends because Clash of the Titan is coming out. It looks amazing and definitely a opener worthy movie.


0
96  217x300 creditcard gone Whats the meaning of contract?

The new CARD Act has been in place since 2/22/2010, how do you like it so far? I haven’t notice anything yet but I will be sure to check my credit card statement this month. Hopefully mint.com can help me out with that. I was blown away by the fact that even though the card act can help out a lot of people, it ultimately made the credit card business worse for everybody. The credit card company used this new law and gave them a lot more ways to charge their customers. It’s not sad anymore, it’s becoming a hilarious joke.

I always had a question about the contract that the credit card company send you. In that pamphlet, in those tiny text, you see a sentence that sounds like this, “credit card company can change any of it’s contract with their customer anytime they want as long as they send out a letter fifteen days before the changes happens.” These were the real cash cows for the credit card companies but now the CARD Act totally changed it or should I say they are being replaced.

The credit card company may charge for paper statement, inactive card, card membership, and god knows how many other tricks they have in their sleeves. So basically we solved a long lasting issue and it breeds a whole new can of new issues. I got love this free market stuff.

Anyway, to better prepare for for the future, I recommend these articles from Billshrink and Consumerist.

Maybe I should just do what my friend did, cancel all the credit card and be done with it.


1
95  500x500 funny pix The Anonymity of Internet

As I was destroying the good old English language on my blog, I have never worried that people might found out who I am and start laugh out loud at me. Like my friend Nick, the creator of Dread and Alive, Hitless, FlashTV and maybe other great project; he basically told me that he liked my link on Facebook, but he had no idea what I was talking about. There, enough proof that I have been destroying this language but I really don’t care because I don’t know most of the vistors that came to this site and the people I do know knows I am a crappy writer. I got nothing to lose. But am I really anonymous on the internet?

Maybe, when it was 10 years ago. My life is so tangled up in social networking sites that you can find me on Facebook, Twitter, Foursquares, Linkedin, and even World of Warcraft related websites. I kind of established my identity on the internet through my profile picture. The red round laughing head which I proudly taken from one of the artist from deviantART.com. So people can easily find me, send direct message at me, or follow me. It is really easy to pin point my location through Twitter, and Foursquares before and now I’ve joined BUZZ. Yeah, my read round laughing head popping up on google map. Just like the pleaserobme.com shows, people can use twitter or buzz to track one’s whereabouts, use yelp and foursquares to study that person’s shopping and entertainment habbit. It really isn’t hard to compile a list of gold mine. All people have to do is go in and take the prizes. How cool is that?

This isn’t new, according to consumerist.com, buglers was using answering machine and funeral notices as early as 1977 to rob people. The invention of twitter, foursquares, and other social networking sites just made buglers’ job a lot more easier. Well, I am all for it because it is also a lot harder for them to get away with their loots as geo location enable devices are becoming the norm. Like these good laptop thieft prevention tools.

Last week, Google’s Eric Schmidt defended the Buzz privacy issue at launch with “I think it was our fault that we did not communicate that fact very well, but the important thing is that no really bad stuff happens in the sense that nobody’s personal information was disclosed.”, full article at The Register. People were furious about over his statement but personally, I think he’s right. Think about it, gmail is free, even if your email address had been published by google on the buzz, just get a new one. People shouldn’t be really mad at a free product. In the end, it’s people’s own responsibility to  safeguard their own information. If you don’t want to leak anything out on the web, don’t put it on the web. That’s how it is. So for the next couple of days, you’ll be seeing me checking in and out of gun shop quite often. Muhahahahahaha


0

Little Acrons by The White Strips

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.

It is so true that problem is easier if it is broken apart and taken care separately. Just like what we do in WOW, slice and dice.

I have one personality issue that is not working so well with me when I want to solve a problem; whenever I want to do something, it takes me forever to get started because I want all the pieces filled in before I start.

It really sucks because it took me a very long time to get started on any project. For example, I’ve been wanting to setup a home dev environment since June last year and I still have been able to do it. I’ve read all the tutorials, I’ve learned all the tricks and I’ve memorized all the warnings. I however doesn’t have a good desktop PC and I haven’t had the time to shop for parts and put them together yet. And it can’t be just any parts, it has to be cheap and good parts that I like. So I’ve been spending a lot of time doing the hardware research since last June but the way the hardware industry works is that it advances every few months. So I’ve been doing research over and over because the price is never low enough for me to actually start the purchases.

But this song, it really enlightened me. It helped me to see things in a different perspective. I find that I don’t need to wait to get started. I can start with a bumpy beginning and try to patch it up. I can always start from scratch again if I don’t like this patching process. Maybe, just maybe, I can get a lot more things done. Like the song, I break my habit and get things moving.

I decided to write this post is another example of my new perspective in life. I’ve been really slacking off since I started this blog because I wanted it to be thoughtful, witty, and unique. So I do a lot of researches before I write anything and I find pictures, videos to try to enrich my content. Today, I decided no matter what happens, I am going to write an entry per day. It doesn’t have to be perfect, it doesn’t have to be anything but a piece of writing.

So this is what I am going to do.

I was enlightened by a movie as well. I’ve finally finished A Serious Man 2 weeks ago. It was hard to swallow this movie and the main character also faces many problems that concentrated into one massive fucked up catastrophe. If he only know about Little Acorns and break the problem into pieces, he could be happy too.

In the end, this world is a survive for the fittest. Little problem is easy pray. Ain’t that a bitch.


0
94  500x500 teldrasil 1600 What does Avatar mean?

Avatar has been the center of everything in the past couple of months. People praise it. Pope dispute it. Why is it getting so many attentions?

I think it is safe to say that James Cameron is difinitely a factor. The whole thing about he has been planning this movie his whole life. He basically has been lobbying the whole film industry to build the right atmosphere for his movie. He went to Sony to persuade them to change the brand new motion camera so he can use the gigantic thing on the go. And of course, the best blockbuster of all time can’t be ignored either. Then the movie got the Fox’s financial backing. Finally slap the staggering price tag to make this film on top of this whole pile of stuff. It means it’s going to be great.

For me, the most amazing part of the movie is the planet Pandora. It’s probably the first virtual world that has been created for any movie. You can argue that there are a lot of movies take place in the other planets but none of them has created a new world based on the movie. The stunning night scene of Pandora captures my eye from the beginning to the end. The Eywa’s ability to absorb the dead people’s spirit so they may live on and the amazing bio-networking concepts are all fascinating! The Na’vi language is my second favorite part of the movies. It seems like it is becoming the third fully developed fictional language after Klingon and Quenya. This is major because with language, you can establish a new civilization and that’s what Avatar has done.

The thing that brings up all the hypes is how the characters are generated. Basically you have an actor with these cameras attached to him/her while they are performing. It captures their emotions and facial expression so in the film, it doesn’t feel awkward when you see these Na’vi people when they laugh, cry, angry, or sad. It don’t look fake or artificial because it’s the real emotions that has been transfered onto the alien body.

Other than the three things I mentioned above, the movie is just an mediocre film. It’s up-lifting, it talks about protecting the environment, it talks about love and race. In summary, the usual Hollywood plot: One bad guy turned good and ultimately saved the very thing he/she was set out to destroy. There’s betrayal, there’s redemption, and there’s forgiveness. And part of it was even cheesy because Neytiri forgive Jake so easily. And the whole movies reminds me of a lot of other movies: Battle for Terra, Dance with the Wolfs. The floating mountains, the home tree, the flying mount, all resembles the elements from another fictional universe. Even the ceremony to acquire a flying mount is similar to another TV series on Syfy channel which I happen to forgot the name of it. So I think the film without the three reason I listed above is just another mediocre movie.

Now, it is not all that bad. For me, Avatar is a stepping stone to make the best film of all time, the World of Warcraft movie! For WOW community, what this film did was to opened up a door for this future project. Now that production and publishing companies know a whole virtual world can be build for a movie and people will loved it. The Warcraft universe has long to be a feature rich, background rich, character rich world. There has been at least nine books, a Wikipedia dedicated to everything that is World of Warcraft. There has been four games that related to this universe and the story is everywhere in these games. The fire breathing brood mother Onyxia, the cunning Nefarious, the betrayer Illidan, and the ultimate foe Arthas. The land of Azeroth has had it’s fair share of history. From the old gods to the Titans; the corruption of Sargeras to the fallen of the dragonflights. The magnificent Nagrand, the chilling, Northerend.

Now that spider 4 is dead. Sam can finally focus on WOW movie and I’m excited.