Firefox refusing to style element if CSS selector contains address element

后端 未结 3 648
-上瘾入骨i
-上瘾入骨i 2020-12-07 00:41

Firefox appears to be refusing to style an html element if i use the

element in the CSS selector.

Example:



        
3条回答
  •  爱一瞬间的悲伤
    2020-12-07 01:18

    You could get around if you just target an id for the address. But as to why this is happening, if you open up the rendered source in Firebug, you'll notice that this is the rendered HTML:

    • email@website.com
    • (555) 555 - 5555

    The ul tag elements are rendered outside of the address tag, therefore the css fails.

提交回复
热议问题