Yet again, IE 6 CSS is on my plate today at work. Drop-down menus specifically. Always interested in getting my work done in the least amount of effort I hit the Internet up for a better IE 6 fix all.
My expectations were low, but behold! I came across this gem from Peter Nederlof appropriately named Whatever:hover.
The biggest problem with IE 6 is that it doesn't support the :hover selector for anything other than an anchor. What this fix does is this: ( quoted from the site)
I implemented this expecting to have to do at least some customization, but again, I was pleasantly surprised that it just worked! A big thanks to Peter for making web developers' lives a little easier.
I learned a CSS trick today - centering an absolutely positioned div. It is quite simple, really. Set top to 50% and set the left-margin to a negative value of half of it's width.
For example:
#centered_div {
position: absolute;
width:500px;
top: 0;
left: 50%;
margin-left: -250px;
}
Cleverly simple.
Dan, this one is for you.
You know that outline on href's you see when you click the link? I used to get rid of that with an "onclick=blur()". Well, I just found a way easier method.
a { outline: none; }
And I call myself a web developer. How did I not know this?
Now with 50% more shininess!
Lately, I have been experimenting with Scriptaculous and Prototype JavaScript libraries. I used to be wary of using third party libraries for either backend or frontend applications. But now, because of some recent requirements for a website I looked to some libraries to implement these features quickly. I found that over the past year or so, Scriptaculous libraries had matured greatly.
So if you look to the title of my website, you'll notice it's changed from v5.0 to 5.1b to indicate the implementation of these libraries throughout this site.
Take a look at the experimental section to see what I'm currently toying with.
Tags
motorcycle (8) cars (4) work (11) web development (7) porsche (2) life (26) holidays (1) new year (1) photography (3) travel (3) london (1) ubuntu (12) linux (21) birthday (2) weather (1) bow island (2) parenthood (1) qos (1) firewall (1) css (3) fire (1) diy (3) laptop (2) chart (1) test (2) cooling (1) politics (2) harper (1) media (1) modx (1) development (18) pie (1) microsoft (3) sharepoint (1) wine (1) video editor (1) canada (1) abby (1) wii (1) parenting (3) shoelaces (1) christmas (1) pictures (2) unix (1) time (1) google (2) picasa (1) windows (2) joel (1) twitter (1) technology (1) deadline (1) triumph (3) tiger (1) holiday (1) apache (1) mysql (10) tip (1) mechanics (1) server (1) smartphone (1) android (7) vm (1) ted (1) music (1) sql (1) postgres (1) svn (1) vmware (1) house (2) camping (1) replication (2) mechanic (1) oracle (2) databases (1) debian (1) sqlserver (1) sql server (1) datapump (1) blog (1) C# (1) MVC (1)