Posted on: September 23, 2009
I’ve used this solution to clear float containers in CSS:
/* float clearing for IE6 */
* html .clearfix{
height: 1%;
overflow: visible;
}
/* float clearing for IE7 */
*+html .clearfix{
min-height: 1%;
}
/* float clearing for everyone else */
.clearfix:after{
clear: both;
content: ".";
display: block;
height: 0;
visibility: hidden;
font-size: 0;
}
But it seems you can just do this as well:
#container-to-fix { overflow: hidden; }
Now I’ve read a bit about how this isn’t always the most ideal solution, but simply setting overflow to “hidden” has definitely been working out for me lately…
Category: CSS
Posted on: March 16, 2009
I won´t be doing anymore blog posts on this blog for a while. I´m currently travelling Central and South America for the next four months. I´ll be posting to my travel blog at:
http://ryanbosinger.com/southamerica
Take it easy!
Category: Random Thoughts
Posted on: November 24, 2008
When I was younger, sometimes my mom would bring home some candy for me and my sister. I would always finish mine first, but I would crave more. In order to get more candy I would get down on my hands and knees and run around the living room pretending to be a dog. Sondra would laugh and throw me candy that I would then eat off the carpet with my mouth and then bark for more. I remember thinking, “Wow.. what a sucker.. I’ve managed to get my dumb sister to willingly give me almost all of her candy.” Thinking back, I question who the real sucker was…
Category: Random Thoughts
Posted on: November 12, 2008
I just installed WP Super Cache and I have to say I wish I had done this earlier!
Before I installed this I noticed that sometimes my blog would timeout and send back only a white page. I thought it was likely because I am on shared hosting and sometimes the PHP or MySQL just wasn’t ready to kick in fast enough (because it never it happens with HTML pages and it seemed like once I hit the first page everything would be “warmed up” and this blog would run normally).
I also been meaning to figure out how to get gzip content encoding on my pages, although I never really tried.
(more…)
Category: PHP
Posted on: October 1, 2008
Problem:
You publish your SWF from the Flash CS3 IDE and everything looks fine. You, or someone else checks out the SWF in a browser and although everything kind of works, certain elements like text fields and component buttons aren’t rendering properly!
Solution:
Sometimes certain revisions of the Flash 9 player behave differently than expected, but there is a way you can look into it. Read on…
(more…)
Category: Actionscript, Flash
Posted on: September 19, 2008
Adding some shading to characters and objects is a good way to add some depth to your flash animations. The following tip may be an obvious one, but if it’s new to you it may be one of the handiest tips you ever get.
(more…)
Category: Animation, Flash
Posted on:
I smell oranges.
This can only mean one thing.
Tigers.
Large cats that hunt by night.
It worries me, but I can’t do anything.
I am a bird.
Category: Random Thoughts
Posted on: September 11, 2008
Problem:
You want to save an image from Flash to a server using Actionscript 3.0 and ASP.NET.
Solution:
Read this article!
(more…)
Category: ASP.NET, Actionscript, Flash
Posted on: August 5, 2008
Question: What do you think it would be like to have thirty dogs?
Answer: Ruff!
Only you would bark that answer at the person before they really had any time to think about it.
I made that up a couple weeks ago, I thought it was pretty funny. Tell everybody.
Category: Random Thoughts