Actions
Bug #406
closedNot Sure how to use setBodyClass
Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
06/15/2010
Due date:
% Done:
0%
Estimated time:
Description
I am having trouble setting the background color of my app.
This is the code:
@
wApp->setBodyClass( \" background-color: white; \");
@
I have tried numerous variations, but nothing seems to work.
thanks,
Pat
Updated by Omer Katz over 14 years ago
This is not a bug. setBodyClass expects a css class. Not a CSS style.
Updated by Koen Deforche over 14 years ago
- Status changed from New to Resolved
Omer is right.
Although I can see that this indirection can be mildly annoying, I am still doubting whether it justifies two more API calls setBodyStyle() and setHtmlStyle()? Unless we get a lot of 'yes it does' I am not inclined to add these two calls.
Regards,
koen
Updated by Pieter Libin over 14 years ago
- Status changed from Resolved to Closed
Actions