-
Recent Posts
- Use of aria-describedby with form elements that have descriptor text
- Getting around the flicker of JavaScript modifying the DOM while the page is loading
- CSS gradients and background images
- Nudging elements with position: relative
- Waqas asks the CSS Guy how to specify an alternate font size if the preferred font isn’t available on the user’s system
Archives
- June 2012
- May 2012
- June 2011
- November 2010
- October 2010
- July 2010
- January 2010
- November 2009
- August 2009
- June 2009
- March 2009
- January 2009
- October 2008
- September 2008
- August 2008
- July 2008
- April 2008
- March 2008
- December 2007
- November 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
Meta
Non-meta
Monthly Archives: March 2007
Form field hints with CSS and JavaScript
My co-workers pointed out a nice effect on the Vox registration form. As you tab through each input field, some helper text appears in box out to the right. Try it out. Update (4/20/2007): It has been pointed out that … Continue reading
Bill asks the CSS Guy if there is a way to use variables within CSS
Bill writes: One thing I am not certain how to do, or if it is even possible is to define some sort of pseudo-variable that can be used in the CSS definitions. For example, I am working on a page … Continue reading
I read Bulletproof Ajax
I and many others were excited by reading DOM Scripting by Jeremy Keith. That book can take a CSS designer with no prior JavaScript experience, and equip that reader with some easy but powerful dom-manipulating know-how, all the while reinforcing … Continue reading
Andre asks the CSS Guy how to center an image in a div
Andre writes: how do you center images inside a div with css? Andre, here’s one way. If your html looks like this: <div> <img src=”elephant_ball.jpg” alt=”" /> </div> Apply display:block; to the image, and also make sure it’s left and … Continue reading