Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Does Safari support <label> elements?



Shouldn't this work in Safari?

<html>
	<body>
		<form action="#" method="post">
			<input type="checkbox" name="chk" id="chk1" />
			<label for="chk1">This is a label for the checkbox.</label>
		</form>
	</body>
</html>

When viewing this in Safari i can't click on the text and have it check the box.  Same code works fine in Mozilla.

This is just an example HTML, none of the labels in my real apps work.

Thanks,

Sam
_______________________________________________
web-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/web-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.