iFrame padding not same as source

Darkwaltz4

New Member
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:
wK07x.jpg
But, when I put it in the iframe and use this source, it looks like this:
mxsGY.jpg
I tried changing the \[code\]DOCTYPE\[/code\] and changing the \[code\]margin:\[/code\] and \[code\]padding:\[/code\] to \[code\]0px\[/code\], but nothing changed. I can't seem to fix this. Any help would be greatly appreciated. Thank you!
 
Back
Top