Awesome - thanks fellas.
On Oct 12, 2005, at 9:41 AM, Pringle, Ron wrote:
How is it sacrificing accessibility?
Actually, if you provide borders for your input box as well as a
background
image, you can have an input (search) box that shows up whether the
images
are turned off or not. And if you design your background image in a
way that
enhances rather than replaces the box, I don't think you'll have any
problems with people understanding the purpose of the box.
Sample code:
input.searchbox {
padding-left:2px;
border: 1px solid;
border-color: #c0c0c0 #fff #fff #c0c0c0;
background-color: #f5f5f5;
width: 15em;
background-image: url(icn_searchbox.gif);
background-repeat: no-repeat;
background-position: left center;
}
live sample of the above code can be found at:
http://www.aurora-il.org/AuroraSite/index.asp
regards,
Ron
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/