The CSS property 'text-align' does not allow for a value of 'auto'. See http://www.w3.org/TR/css3-text/#text-align0
Linie 96 in TAO's drupal.css reads:
thead th { text-align:auto; }
http://drupalcode.org/project/tao.git/blob/refs/heads/7.x-3.x:/drupal.cs...
Maybe this is some kind of hack? It is ignored in tested browsers though.
Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | invalid_css-1834376-4.patch | 327 bytes | nilesh.addweb |
Comments
Comment #1
zany commentedFollow up: I tested the behavior and
centerorinheritis the value we want here. Since the current value is invalid this is what we actually get right now.Comment #2
zany commentedComment #3
imshivani commentedYes, text-align: auto isn't the right way to get the thing done.
it should be thead th { text-align:center; }
instead of
thead th { text-align:auto; } in the line number 95.
Comment #4
nilesh.addweb commentedPFA patch.
Comment #5
nilesh.addweb commentedComment #6
zany commentedRTBC. The CSS is valid and the visual apperance unchanged.
Comment #7
giupenni commented+1
Comment #8
kunal_kapoor commentedComment #9
kunal_kapoor commentedComment #10
kunal_kapoor commented