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.
In Pushbutton's page.tpl.php footer section, the footer items are all wrapped in paragraph tags. When you have a block in the footer, this will not validate because div tags cannot be inside of p tags.
Steps to repeat:
- Clean install from HEAD
- Switch to Pushbutton theme leaving the Powered by Drupal block enabled in the footer
- Validate the page at http://validator.w3.org
Also, the body element has the background color set to #ffffff in two places: inside the body tag in page.tpl.php (using bgcolor="") and in styles.css. Removing the unnecessary color setting from page.tpl.php.
Comment | File | Size | Author |
---|---|---|---|
pushbutton-footer-paragraphs.patch | 833 bytes | m1mic | |
Comments
Comment #1
m1mic CreditAttribution: m1mic commentedComment #2
lilou CreditAttribution: lilou commented1. See : http://www.w3.org/TR/REC-html40/struct/text.html#h-9.3.1
2. I confirm bgcolor is set both in template and css.
So mark as RTBC.
Comment #3
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Lowering version to DRUPAL-6.
Comment #4
Gábor HojtsyCommitted to Drupal 6.x as well. Moving to 5.x.
Comment #5
drummDoes not apply to 5.x.
Comment #6
marcingy CreditAttribution: marcingy commentedMarking as won't fix as d5 is end of life.