Written by: Chris Garrett 12/5/2006
This is a pretty important tip for Skin developers, so listen up. How many times have you had your skin layed out perfectly, everything's ready to go, you've packaged it for sale and then you notice when you go to edit a text / html box to add a little content to your demo of the skin you can't read the text in the Rich Text Editor because your body is set to a black background and the CSS seems to be carrying over to your Rich Text Editor?Well, it doesn't matter how many times you have, it only takes once to know it's annoying. The solution to this problem hit my inbox just before noon today. Direct from the DNN forums the user kyleburns responded to a thread that's been running for a little over a month now. Kyle suggests rather than using the Body selector in your CSS file to drop a "#" before it, essentially turning it into a Body ID selector. He goes on to say, "Dot Net Nuke sets the ID attribute of the document body to Body." So now your CSS file has gone from:Body { background: black;}to...#Body { background: black;}Viola, background is black, Rich Text Editor background is back to white. Simple fix to a DNN headache for a lot of people. Thank you very much Kyle for the solution.