Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 | ankur.addweb |
Comments
Comment #1
zany CreditAttribution: zany commentedFollow up: I tested the behavior and
center
orinherit
is the value we want here. Since the current value is invalid this is what we actually get right now.Comment #2
zany CreditAttribution: zany commentedComment #3
imshivani CreditAttribution: 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
ankur.addweb CreditAttribution: ankur.addweb at AddWeb Solution Pvt. Ltd. commentedPFA patch.
Comment #5
ankur.addweb CreditAttribution: ankur.addweb at AddWeb Solution Pvt. Ltd. commentedComment #6
zany CreditAttribution: zany commentedRTBC. The CSS is valid and the visual apperance unchanged.
Comment #7
giupenni CreditAttribution: giupenni commented+1
Comment #8
kunalkapoor CreditAttribution: kunalkapoor as a volunteer and at OpenSense Labs commentedComment #9
kunalkapoor CreditAttribution: kunalkapoor as a volunteer and at OpenSense Labs commentedComment #10
kunalkapoor CreditAttribution: kunalkapoor as a volunteer and at OpenSense Labs commented