FCK format box using div with ID
Posted: Sat Sep 30, 2006 3:54 am
Hello,
I'm pretty sure my problem is not server or version related but just in case:
cmsms: 1.0.1
Operating system Linux
Kernel version 2.6.17-11_1.BHsmp
Apache version 1.3.37 (Unix)
PHP version 4.4.4
MySQL version 4.1.21
I have the following problem, in my template, content is placed in a div with the id content. The style sheet specifically sets styles for this content div. So all my headers, tables and lists are defined as follows:
#content h1{...}
#content p{...}
#content table{...}
The FCK does not display any of these styles. I understand why the FCK editor does not display the styles, it is unaware that it should use the #content styles. As soon as I wrap my content in a content div using the source editor the styles show up.
eg.
...
...
...
However I do not want to tell my client that he has to start each new page with a content div. Is there a way to tell the FCK editor to use the styles from a certain ID without the above mentioned sollution?
Thanks in advance,
Jeroen
I'm pretty sure my problem is not server or version related but just in case:
cmsms: 1.0.1
Operating system Linux
Kernel version 2.6.17-11_1.BHsmp
Apache version 1.3.37 (Unix)
PHP version 4.4.4
MySQL version 4.1.21
I have the following problem, in my template, content is placed in a div with the id content. The style sheet specifically sets styles for this content div. So all my headers, tables and lists are defined as follows:
#content h1{...}
#content p{...}
#content table{...}
The FCK does not display any of these styles. I understand why the FCK editor does not display the styles, it is unaware that it should use the #content styles. As soon as I wrap my content in a content div using the source editor the styles show up.
eg.
...
...
...
However I do not want to tell my client that he has to start each new page with a content div. Is there a way to tell the FCK editor to use the styles from a certain ID without the above mentioned sollution?
Thanks in advance,
Jeroen