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.
I would like to change the colors of the background of this form so that it displays properly.
http://pearsoncommunications.com/node/237
As you can see, it has gray grid lines & a white background.
attached is the code that I pasted in to the content area for the form.
Comment | File | Size | Author |
---|---|---|---|
#1 | form.txt | 85.31 KB | lloydpearsoniv |
Comments
Comment #1
lloydpearsoniv CreditAttribution: lloydpearsoniv commentedComment #2
webmatter CreditAttribution: webmatter commentedHi, sorry for the late reply ..
The grey grid lines are defined in your styles css as follows
table th, table td {
border: 1px solid #869497;
padding: 4px 7px;
vertical-align: middle;
}
so they define ALL tables not just the one in your form and the declaration
is most likely needed for other tables
To change it in the specific form you could use the body class by adding
body.page-node-237 table th,
body.page-node-237 table td { border: 0 none; }
Then the border will dissapear in this specific node.
Hope this helps ..