By ballerjones on
As always, IE screws everything up. Here's a screenshot: http://internal.lomira.k12.wi.us/screener.jpg
The field group labels are somehow blue, while in every other browser ever, they're grey like everywhere else. I've searched my theme's (acquia marina) CSS for the "blue" or "#0046D5" but found nothing. I'm guessing it's inheriting the default color, but that grey (#666)
So, I tried hunting in CCK CSS files, but this is where I'm stuck. I tried making everything that said label grey but it didn't change that blue:
/* Node display */
.field .field-label,
.field .field-label-inline,
.field .field-label-inline-first {
font-weight:bold;
}
.field .field-label-inline,
.field .field-label-inline-first {
display:inline;
}
.field .field-label-inline {
visibility:hidden;
}
/* Node form display */
.node-form .content-multiple-table td.content-multiple-drag {
width:30px;
padding-right:0;/*LTR*/
}
.node-form .content-multiple-table td.content-multiple-drag a.tabledrag-handle{
padding-right:.5em;/*LTR*/
}
.node-form .content-add-more .form-submit{
margin:0;
}
.node-form .number {
display:inline;
width:auto;
}
.node-form .text {
width:auto;
}
/* CSS overrides for Views-based autocomplete results.
- #autocomplete uses "white-space:pre", which is no good with
Views' template-based rendering
- Field titles are rendered with <label> in default templates,
but we don't want the 'form' styling it gets under .form-item
*/
.form-item #autocomplete .reference-autocomplete {
white-space:normal;
}
.form-item #autocomplete .reference-autocomplete label {
display:inline;
font-weight:normal;
What governs the field group label?
Comments
bump - anyone?
bump - anyone?
What governs the field group
What governs the field group label?
Look at the HTML and see.
Use firebug in firefox go get a good idea of the CSS rules that are being applied. This tool is essential. IE may not respect those rules exactly, but at least you will be able to answer your question.
Thanks for the response,
Thanks for the response, Firebug did help. Found out fieldgroup labels are governed by the legend tag. So, I just added this to my theme's CSS: