The styling on the body element screws up other pages included through iframes (like FCKEditor boxes). The solution I used was to assign an id to the main body, and then only style on the ID. I used this HTML in page.tpl.php:

<body id="mainpage">

And this in style.css:

body {
        font-family: "Helvetica neue", Helvetica, Arial, Verdana, sans-serif;
        font-size:12px;
        margin: 0;
        padding: 0;
        min-width: 800px;
}

body#mainpage {
        background: #5b90c4 url("images/bg-header.png") repeat-x top left;
        color: #555555;
        text-align: center; /* IE5 hack */
}

Comments

Jeff Burnz’s picture

Better late than never, could you define "screws up", just want to get a handle on what the actual issue is/was.

scottgifford’s picture

Yeah, sorry, I should have been more clear. It displayed the body style's background image for the page in the IFRAME. In this case, the theme had a black background and the IFRAME was showing an FCKEditor window, so I was typing black text on a black background.

Jeff Burnz’s picture

Assigned: Unassigned » Jeff Burnz

Arrr, yes I see, a common problem, will look into it, thanks for the bug report & suggested fix.

ari-meetai’s picture

Yeah, same problem here with 6.x. Will try the suggested id solution.

Jeff Burnz’s picture

Another solution is to go to fckeditor settings and use the fckeditor css rather than the themes css.