A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.
Hi,
I'm having problems with the jsavard_mojoportal skin. I have a forum on my site, and when viewed in Safari (Windows version) the forum text is not visible. The header of each post appears, but not the underlying text. dcarter's skins don't have this problem and I've tried to narrow it down but I am having no luck. I suspect it may have something to do with a neathtml class but the styling is hardcoded so I cannot change it..
Has anyone else had this problem and found a solution?
Many thanks
Leah
Hi Leah,
I will look into this when I get a chance, but I'm pretty sure it has nothing to do with neathtml as that would impact all skins. NeatHtml is just to prevent cross site scripting and other attacks caused by users posting malicious content it should not impact the visibility or css.
Best,
Joe
I have to eat my words. I am able to produce the problem here and when I remove NeatHtml it goes away.
I will have to follow up with Dean Brettle, the author of NeatHtml.
Hi Joe, there seems to be some hardcoded styling on the neathtml - for each forumpost the following HTMl exists:
style='overflow: hidden; position: relative; border: none; padding: 0; margin: 0;' and I thought perhaps the overflow: hidden might be causing the problem? If there are some conflicts on the box positioning the content of the forum post might be being clipped..
I've emailed Dean a link to this thread and a screen shot I produced with Safari on my local machine.
I'm sure he will look into it as soon as he's able.
Thanks Joe..
It seems to happen most with very short posts. When I view this thread in Safari your last reply is clipped.
I see the same problem in Chrome, probably because both Chrome and Safari are based on WebKit
Fixed in NeatHtml-trunk.218 (just released). Thanks for the bug report!
--Dean
Awesome! Thanks for the quick work Dean, I'll upgrade to the new version today and make a new release of mojoPortal early next week.
This will be fixed in the next release of mojoPortal, but you can fix it right away by downloading the new release of NeatHtml. All you need is the new version of NeatHtml.js, put it in the /ClientScript folder. You may also need to clear your browser cache to make it load the new js.
Thanks Joe / Dean