Previous Message
Next Message

Hiding form legend in Firefox

Sent by Matt Hampel on 6 November 2004 01:01


Hi-
I'm trying to (accessibly) hide the legend of a form element.  The CSS
and code below works in IE 6 but not in Firefox or Safari.  Any help
would be appreciated.

<fieldset>
<legend>Sign up for our email newsletter</legend>
...valid XHTML...
</fieldset>

legend
{
	position: absolute;
	left: -5000px;
	width:1px;
	height:1px;
	overflow:hidden;
}


-- 
Firefox: a better web browser - www.getfirefox.com
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread: