Regardless of whether I link my external style sheet (CSS) using the form’s HTML Head Content object or a $$HTMLHead field, all styles for the BODY tag seemed to be ignored while all other styles are observed. Styles for the body only seem to be observed when they’re included in the form’s HTML Body Attributes object. Can anyone shed any light on why this is so? I’d rather put all the body styles into one external style sheet rather than code them into each individual form.
The styles I’m trying to apply, are:
body {
background-color: #D8EDEC;
font-family: Verdana, Arial, Helvetica, sans-serif;
margin-left: 0px;
margin-top: 0px;
}
Thanks
Skyler
Subject: Why is body style ignored?
Is the text you want to format inside a table on the form? If so, try using:
TD,BODY{…}
Subject: Why is body style ignored?
Hi Skyler
The simple way is using of external css file.
But if you still want to use HTML Head content try to append this line:
“ body { background-color: #D8EDEC; font-family: Verdana, Arial, Helvetica, sans-serif; margin-left: 0px; margin-top: 0px; } ”
Best regards,
Dima Pechersky
Subject: RE: Why is body style ignored?
Thanks for your reply, Dima, but did you read my query? I asked why attributes for the BODY tag are ignored by Domino when included in an external CSS.
Subject: RE: Why is body style ignored?
It’s not ignored - it’s overwrited.Try set propertie of BODY that not included in your CSS. It’s work!
You couldn’t use text color and background color
cause it’s set by form properties. All rests is available.
Best Regards,
Dima Pechersky