Blog
Thoughts about programming, design, and life in general.
-
Why does text-align center only work inline and not from a css stylesheet?
I started thinking I was crazy when my text-align center worked inline but not when I added it to the stylesheet, this was due to the order in which the CSS loaded. The center property was being over-written by a left property somewhere else so adding !important fixed it right up.
Read more... -
Why isn’t my CSS class working in hover or active state of a link?
One of the reasons your active or hover state isn’t working is because there is actually a particular order for pseudo-classes (link, visited, hover, active) in CSS. If they aren’t in the proper order, they won’t work.
Read more... -
What does adding a slash do in the font property for CSS?
This is actually a shorthand for font size (first metric) and line-height (second metric) and font-family.
Read more... -
How do I use CSS shortcuts for background image?
Here it is, the background properties all in one line – glorious.
Read more... -
How can I fix clear type bug in IE7 cause by JQuery fadeIn & fadeOut?
Before fading completing fadeIn, remove the filter attribute but I can’t fix the filter on fadeOut. I’ve tried everything, I’m just not sure how to do it…
Read more... -
How do I remove the bullet in list items with CSS?
Just when I thought I had removed the bullet… I found it still there in IE7. Best way to remove the stupid thing once and for all is to add list style type to both the UL and LI items.
Read more... -
Effective Communication Using Pictograms
The purpose of pictograms is so that people don’t have to read.
Read more... -
How do I make my first git commit?
Started using git to backup for the code on my website, here’s how I made my first commit =]
Read more... -
How do I link to from one part of an HTML page to another?
This would be called using an HTML anchor tag and there are two parts to doing this.
Read more... -
How do I display hidden files in Mac – Finder?
To turn on hidden files in finder, open Terminal and paste the following:
Read more...