Today morning i noticed that my blog skin was totally upside down. No, i didn’t been attacked by an hacker.
In fact, the skin i am using wasn’t prepared for internet explorer. Because i normally use Firefox, i didn’t noticed.
So with a little bit off patience i opened the css file an tried to find the styles that needed to be changed. When i found them, i had to apply an css hack to work in both IE and Firefox.
The hack is simple. If you have the style:
.style{
margin:0;
}
and, in it’s context, works well in Firefox but not in Internet Explorer (or vice versa - this normally isn’t the case) we change the .style into the value that works good in internet explorer and create the a new style so it continues to work in Firefox:
/* Internet explorer applies this*/
.style{
margin:10px;
}
/* Firefox applies this*/
html>body .style {
margin:0;
}
If you have more styles, you can leave them in the original .style because firefox will apply them as well. You only need to override the styles that are changed.
I’m developing a website (still top secret) that needs a star rating system. I googled for simple ajax rating systems but didn’t found anything decent (maybe i didn’t googled well).
Pre send me this link. A very cool Star rating system using CSS. Very light and exactly
what i needed!
Here is the link to the “How To”. Maybe i’ll integrate this in an ASP.NET control and publish the code her.
There are no comments. A picture is more valuable than a thousand words:
25 Pictures taken at the exact time
Here is a sketch that resumes the call center or any other service in Portugal, in particular the public services.

![]()
Orion’s Belt 2.0 is being prepared. And, this time we are trying to plan the several steps of the overall development process. Not only who is doing what but, the several things that we will need when we start to development.
We splitted the development
in tree parts:
All the Resource management will be developed by Pre. The Resource managment will be completely new. The biggest change will be the the way buildings are construted. They will depend of time and will have levels. OB 2.0 will also have an a new innovation. There will be a graphical interface here the all the builds can be management. It will be a mixture of advance wars map and Travian map.
The battles are assigned to me. The engine will be basically the same but i’ll add some stuff so it can me mos extensible in the future. The boards will also have new backgrounds and new ships and attacks will appear. I will also be responsible by all the fleet stuff: universe movement, planet attack, universe representation, etc.
Finally Tiago will be responsible by the other type of competition in Orion’s Belt: The Tournaments. We will have several new types of tournament, the interface and representation will change, we will have Leaders, teams, tournaments with prizes, etc. Basically we will do try to do another game for the ones that love battles in Orion’s Belt.
Well, this is my first post in my new Home.
This new blog will be exclusively in English and the subjects that i will post will be very similar with my old in Portuguese. Tecnologies, Game Development, Daily live and curiosities.
My objective is to post, at least, 1 post per day.
Welcome all