Active
Project:
Wabi
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
29 Jul 2008 at 16:58 UTC
Updated:
21 Mar 2009 at 14:30 UTC
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
Comment #1
Jeff Burnz commentedBetter late than never, could you define "screws up", just want to get a handle on what the actual issue is/was.
Comment #2
scottgifford commentedYeah, 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.
Comment #3
Jeff Burnz commentedArrr, yes I see, a common problem, will look into it, thanks for the bug report & suggested fix.
Comment #4
ari-meetai commentedYeah, same problem here with 6.x. Will try the suggested id solution.
Comment #5
Jeff Burnz commentedAnother solution is to go to fckeditor settings and use the fckeditor css rather than the themes css.