What Goes Wrong With Float Margins in IE6
A coder innocently places a left float into a container box, and uses a left margin on the float to push it away from the left side of the container. Seems pretty simple, right? Well it is until it’s viewed in IE6. In that browser the left float margin has mysteriously been doubled in length!
Thankfully, IE7 does not show this bug.
The Way It Oughta Be
The graphic below shows a simple div (tan box) containing a left-floated div (green box) . The float has a left margin of “100px”, producing a 100px gap between the left edge of the container box and the left edge of the float box. So far so good.

.floatbox {
float: left;
width: 150px;
height: 150px;
margin: 5px 0 5px 100px;
/*This last value applies the 100px left margin */
}
November 12th, 2009 | Posted in CSS | No Comments
Many people do not like social networking sites. Some because they do not want to announce to the world everything about themselves, others because they are afraid that there are predators out there, and still, others believe that social networks are spying on people. Interesting isn’t it.
So, let’s talk about all the conspiracy theories out there. Well, one could say that since there are a number of social networking sites which have been at least partially funded in part by InQTel (DOD Venture Capital Based Company) it only makes sense that they are doing this now. Or that they are indeed, using social networks to gain data, access information and do risk assessments.
In fact, creating a controversy in order to fish out potential terrorists or those who might be a threat to government, military assets, or key corporations or infrastructure makes sense. Or if you want to bring down a third world dictator government or just start problems for Iran, you could easily do it by having a computer system pretending to be real-people and create a crisis, start a trend and send it barreling towards its tipping point. It’s like the Sand-Slide mathematical formulas.
If you doubt any of this is possible, then you should check out the work the kids at Carnegie Mellon are doing with AI mimicking human forum posters, or Social Networking people. There is also lots of technology going on in the CRM World which is really fooling people and customers that call into large corporation call centers, when they are talking to an AI system, not even a live human.
Read the rest of this entry »
October 20th, 2009 | Posted in Web Development | No Comments