Forum Moderators: not2easy
I recently inherited this code
<div id = "wrap1" "wrap2">
which will not validate in xhtml. It gives the following error message
"An attribute name (and some attribute values) must start with one of a restricted set of characters. This error usually indicates that you have failed to add a closing quotation mark on a previous attribute value (so the attribute value looks like the start of a new attribute) or have used an attribute that is not defined (usually a typo in a common attribute name). "
The css code for wrap2 is only to set the width to 500px;
My questions are
1. What is the effect of putting two attributes to the ID on the div. I cant find any instructions on this type of code?
2. How do I get it thru the validation? Ive tried two divs, and also removing the wrap2 attributes and adding them to wrap1 but neither worked.
thanks