Advanced HTML Editor 2 Support Product Page
This topic was archived
Including specific css sheet
Asked 22 Oct 2004 23:57:41
1
has this question
22 Oct 2004 23:57:41 Dan Berdusco posted:
I think this is a pretty basic feature... I must be doing something wrong.I would like the Editor to be able to use a specific style sheet from a file. I do not want it to simply take the styles that are used on the page. Is this possible?
I have created a specific style sheet with styles similar to this:
.Blue {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #0F6FB5;
}
and then, in the advanced settings, I have included this file in the "CSS File" option. However, I do not see these css options in the styles drop down menu. I only see all of the css files that are associated with the rest of the page?
In short, I only want the users to be able to select styles from a specific .css file. Is this possible?
Thanks
Replies
Replied 23 Oct 2004 00:09:20
23 Oct 2004 00:09:20 George Petrov replied:
If you specify a css file in the advanced options - those should be the styles you can select from and not what is on the page.
Let me know if that is fine for you
Greetings,
George
--------------------------------------------------
George Petrov - Founder of the Dynamic Zones
DMXzone.com, FWzone.net, FLzone.net, CFzone.net,
DNzone.com, FlashFocus.nl
--------------------------------------------------
Let me know if that is fine for you
Greetings,
George
--------------------------------------------------
George Petrov - Founder of the Dynamic Zones
DMXzone.com, FWzone.net, FLzone.net, CFzone.net,
DNzone.com, FlashFocus.nl
--------------------------------------------------
Replied 23 Oct 2004 00:19:31
23 Oct 2004 00:19:31 Dan Berdusco replied:
Hi George...
That is weird, because I have checked and double checked, and in the advanced options, I have included a specific .css file, and none of those styles come up in the styles menu. The only styles that come up are the ones that are included on the .asp page.
I am using DMX and IE 6. I get the same result in Netscape 7.0
That is weird, because I have checked and double checked, and in the advanced options, I have included a specific .css file, and none of those styles come up in the styles menu. The only styles that come up are the ones that are included on the .asp page.
I am using DMX and IE 6. I get the same result in Netscape 7.0
Replied 23 Oct 2004 01:46:03
23 Oct 2004 01:46:03 Dan Berdusco replied:
Hi George,
After playing around a bit, I think i have found out where the problem is coming from. It seems to be a BUG!
The attached .css file works just fine as long a you have the "HEADINGS" dropdown box enabled. As soon as this box is disabled, the .css styles come from the page and no longer come from the specified .css file. Once you re-enable the "HEADINGS" dropdown box, the designated .css file is used again.
Could you please take a look at this for me?
Thanks a bunch.
After playing around a bit, I think i have found out where the problem is coming from. It seems to be a BUG!
The attached .css file works just fine as long a you have the "HEADINGS" dropdown box enabled. As soon as this box is disabled, the .css styles come from the page and no longer come from the specified .css file. Once you re-enable the "HEADINGS" dropdown box, the designated .css file is used again.
Could you please take a look at this for me?
Thanks a bunch.
Replied 23 Apr 2009 17:25:05
23 Apr 2009 17:25:05 Chris Brown replied:
I have a similar bug which I cannot resolve.
I have specified which style sheet to use, but the editor is still importing styles from the page formatting style sheet as well.
What is weird though is that this changes with the wind! 1 minute it shows the page formatting sheet, the next minute it doesnt - and this is WITHOUT reloading the page!
Please advise what is going on here, this must be a bug to be behaving like this.
I have specified which style sheet to use, but the editor is still importing styles from the page formatting style sheet as well.
What is weird though is that this changes with the wind! 1 minute it shows the page formatting sheet, the next minute it doesnt - and this is WITHOUT reloading the page!
Please advise what is going on here, this must be a bug to be behaving like this.
Replied 24 Apr 2009 11:14:52
24 Apr 2009 11:14:52 Teodor Kuduschiev replied:
Hello Trevor Flexhaug,
Please provide us with information about your OS, DW version, your server and the source code of Advanced HTML Editor 2 that you are using in your page.
Please provide us with information about your OS, DW version, your server and the source code of Advanced HTML Editor 2 that you are using in your page.
Replied 24 May 2009 12:04:57
24 May 2009 12:04:57 Patrick Julicher replied:
Hi all,
I don't have the same problem, but I experience something that might (or might not!) have to do with this. My attached custom css-file works fine, even with headings disabled. However, when I change, delete, or add a style in mu custom file, the changes do not appear in the HTML Editor. When I rename the CSS file and attach the new CSS file to the editor, all changed styles are visible.
I don't have the same problem, but I experience something that might (or might not!) have to do with this. My attached custom css-file works fine, even with headings disabled. However, when I change, delete, or add a style in mu custom file, the changes do not appear in the HTML Editor. When I rename the CSS file and attach the new CSS file to the editor, all changed styles are visible.


