Total Posts:
203
Karma:
11190
Joined:
1/17/2010
Location:
Denmark
Hi I´m developing a new widget plugin but get an error 500 internal server error when saving this in the plugin script field: <style type="text/css"> .tpc_widget { display: none; position: relative; width: 160px; height: 320px; }#tp_widget .tpc_bg { background-color: #FFFFFF; } #tp_widget .tpc_bottom { background-color: #FFFFFF; } </style> It´s the part in bold causing the error as if left out it´s able to save without error. Any suggestions why this causes the error?
Total Posts:
16630
Karma:
156065
Joined:
10/22/2008
Location:
Armenia
Does CSS support # selector?
Total Posts:
203
Karma:
11190
Joined:
1/17/2010
Location:
Denmark
If i inserts the same code manually on the site instead of via plugin it´s working. I don´t understand why I get the internal server error when saving on the plugin configuration site. It most be in the save process of plugin something goes wrong.
Total Posts:
16630
Karma:
156065
Joined:
10/22/2008
Location:
Armenia
How about moving them into external .css file (like 'Nop.Plugin.ExternalAuth.OpenId' plugin does)?