I’ve created a small javascript Rich Text Editor, but when I open it in an iframe, the padding of certain objects are not correct. Here’s an image of what it looks like from the source:

But, when I put it in the iframe and use this source, it looks like this:

I tried changing the DOCTYPE and changing the margin: and padding: to 0px, but nothing changed. I can’t seem to fix this. Any help would be greatly appreciated. Thank you!
Ok. I figured out what I needed to do. I had the colorpicker
divset to be at a specific.offset()with jQuery, but it didn’t fully function in the iframe. The reason was because thediv‘s width was variant on the color bit function. Because of this, jQuery had trouble determining the left positioning of the colorpickerdivsince the offset function I wrote uses the width of thediv. So, all I needed to do was set the width of the colorpicker. 😉 Thanks for the help!