html - Bootstrap 2 bug? [class*="span"] weird issue -


after 3 hours digging found cause of weird issue i'm having wordpress theme.

whenever add tag article contains word "span" (e.g espana), breaks layout.

wordpress adds class article "tag-espana" expected, although bootstrap stylesheet applies rules it, ruining layout.

this should caused following selector extensively used in bootstrap 2:

[class*="span"] 

is known bug? couldn't find info have doubts. idea on how fix without editing bootstrap source files?

thanks

nobody expects spanish inquisition

yes, seems bug selector. modify adding restriction:

[class*="span"]:not([class*="tag-"]) 

or

[class*="span"]:not([class*="espana"]) 

but won't understood ie7 , ie8 (if tb2 compatible ie7 in first place, can't remember)

it better override systematically:

[class*="span"] {   property: value-in-tb2; } [class*="espana"] {   property: nope-override; } 

but wrote, may used tb2 possible that...

or see how tag-espana elements styled , override isn't wanted.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -