Can not get my css to display inside the editor
Hi,
I can not get the editor to display my h1, p, h2, h3, etc styles insde the editor. Could you please advise on how to get this to work.
Thanks in advance.
Hi,
I can not get the editor to display my h1, p, h2, h3, etc styles insde the editor. Could you please advise on how to get this to work.
Thanks in advance.
When you are editing your iRite that is on the page on the last screen of the interface you can set styles that are available in the editor. You can point to your own custom style sheet and select the styles that will be available from there. You can only select from custom styles, you will not be able to override the existing css for the h1 and other html tags.
Ashley,
You can specify a a style that will run thoughout the editor... I do this to get the bulk of the text to look as close as possible to what it will look like on the live site. While I have not styled heading tags specifically, I have defined a style to use throughout the editor.
I simply created a new style sheet with one style and use it in the "class" selector for your editor.
My CSS sheet looks like this:
@charset "UTF-8";
/* CSS Document */
.editor {
font-family: verdana, arial, Geneva, "Trebuchet MS", "Lucida Grande";
font-size: 12px;
line-height: 1.2em;
color: #424242;
background-color: #ffffff;
}
So, now - even when I use heading 1, it DOES keep the font I supplied in my editor class.
Cheers,
Brian
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.