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