Simple CSS Hover Problem? -
I do not understand that due to my anchor, there is no reason for the divisible box given below yellow color . Here's my code:
& lt ;? XML version = "1.0" encoding = "ISO-885 9-1"? & Gt; & Lt ;! DOCTYPE HTML Public "- // W3C // DTD XHTML 1.0 Transitional // N" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> & Lt; Html xmlns = "http://www.w3.org/1999/xhtml" & gt; & Lt; Top & gt; & Lt; Style type = "text / css" & gt; A {background color: blue; Width: 400px; Height: 200px;} # side {width: 500 px; Height: 500px; Background color: black; } A: Hover # Hyde {background-color: yellow; } & Lt; / Style & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; A & gt; Hover & lt; / A & gt; & Lt; Div id = "hide" & gt; Yellow & lt; / Div & gt; & Lt; / Body & gt; & Lt; / Html & gt;
I am very tired now, so I should look a bit simpler
Comments
Post a Comment