Return to Snippet

Revision: 9851
at November 25, 2008 20:13 by neal_grosskopf


Initial Code
/* Target Firefox */
@-moz-document url-prefix()
{
caption { margin-left: -1px; }
}

/* Target IE (or use IF IE statement ) */
caption { _margin-left: -1px; }

Initial URL
http://www.nealgrosskopf.com/tech/thread.asp?pid=26

Initial Description
In Firefox and Internet Explorer, the table caption element will be a pixel narrower than in other browsers. Find out how to fix this annoying problem.

Initial Title
How To Fix HTML Table Caption 1px Shift Bug

Initial Tags
css, html

Initial Language
CSS