Hello everyone,
Can anyone please tell me what I am doing wrong in the following??
markupCode:#test { height: 100px; width: 100px; background-color: red; border: 1px solid; } #test:focus { border: 1px dotted; }
What I want to do is when the user click on the div it should turn it's border into dotted but unfortunately it is not going as it should. Any ideas?? Thanks.Code:...(rest of the code) <div id="test"></div> ...



Reply With Quote
That is an important difference

, but in my defense if you apply the 
Bookmarks