Real World HTML: Rounded Corners Box
In our last "Real World HTML" entry, we handled a funny joining of graphical lines. This time we need to handle some rounded corner boxes sitting on a gradient.
Before we go on, let's take a look at the box.
In our last "Real World HTML" entry, we handled a funny joining of graphical lines. This time we need to handle some rounded corner boxes sitting on a gradient.
Before we go on, let's take a look at the box.
Pluralizing in ColdFusion
Steve Bryant said: James,
Sorry I missed your comment earlier. I haven't compared to other libraries. I didn't even kn...
[More]
Pluralizing in ColdFusion
James Moberg said: Have you compared the results with other libraries? I use an inflector CFC and I see that some of t...
[More]
Git Branching Strategy for Web Development
Thomas said: Hi Steve,
thanks a lot for this post. While considering Git Web Flow for our branching strategy, t...
[More]
Getting Around Windows 7 "Destination Path Too Long" Error When Deleting Files
MxP said: The above robocopy command worked like a charm! I had a deeply nested folder structure that I wante...
[More]
New Open Source ColdFusion Shopping Cart
Paul said: I gave up on this after all kinds of pathing issues. Couldn't be bothered tracing where to change th...
[More]
-moz-border-radius:20px; -webkit-border-radius:20px; border-radius:20px; border:4px solid black; padding:12px;
More info on this blog post:
http://insideria.com/2010/04/adding-rounded-corner...
I am looking forward to those kinds of rounded corner techniques in the future. Right now, however, it is a nonstarter for me. I have to support IE7 and up on almost all of my sites (and IE6 and up on a great many of them).
That is a large part of the "Real World" part of the concept here - a lot of us still have to support these browsers that don't take advantage of the latest and greatest techniques.
Here's an example of how to wrap extra DIVs around your code (from 2006):
http://15daysofjquery.com/wrap-it-up-pretty-corner...
There are other javascript-based solutions too:
http://www.curvycorners.net/
http://jquery.malsup.com/corner/
http://blue-anvil.com/jquerycurvycorners/test.html...
The jQuery hack looks interesting though. I hadn't seen that. I will check it out.
Thanks for the tip.