MEM wrote: >> Maybe you are thinking about a:active? Try styling that. > > I believe I'm styling that on my css. > Here: > #mainMenu li a:hover, li a:active > { > text-decoration:none; > background-image:url(../images/hover.png); > background-position:bottom; > background-repeat:no-repeat; > color:#fff; > background:#e00; > } > > Here's the video-issue: > http://www.nuvemk.com/rebelate/rebelatehome/strange_css_issue.html > > > Thanks, > Márcio
Hello Márcio, These following test cases should help you understand the differences between the dynamic pseudo-classes :active and :focus and the separate CSS property outline in relation to :active and :focus. <http://css-class.com/test/css/selectors/pseudo-class-active-focus.htm> <http://css-class.com/test/css/selectors/pseudo-class-active-focus-with-outline.htm> -------------------------------- Note. <http://www.w3.org/TR/CSS21/selector.html#dynamic-pseudo-classes> states, "The :focus pseudo-class applies while an element has the focus (accepts keyboard events or other forms of text input)." Focus works when tabbing which seems different to the above spec. -- Alan http://css-class.com/ Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/