Default Link Style Possible?
I have my editor loading up with my default body tags in place.
I need to know if it is possible to load custom link styles.
So far, I have not had any luck doing so.
Thanks,
~Josh
I have my editor loading up with my default body tags in place.
I need to know if it is possible to load custom link styles.
So far, I have not had any luck doing so.
Thanks,
~Josh
define a style for the a element in your style sheet:
a {
text-decoration:none;
color:#03F;
}
Just by adding it to the style sheet will make it visible in the editor?
In my php file I have something like:
$CKEditor_config["contentsCss"] = array("../css/html_editor.css");
$CKEditor_config["bodyClass"] = "editor_body";
in the html_editor.css I tried this, and without the class with no luck:
editor_body a:link {
color: #00B4FF;
text-decoration: none;
}
if you are looking for a style that will automatically apply to all a tags in the editor, you just need to add an a style to your style sheet:
a {
text-decoration:none;
color:#03F;
}
or are you looking to have a style in the style list that can be applied to anchor tags?
I was hoping to have the link style appear in the HTML editor.
Currently, it displays as the default blue, regardless of adding the a element in the stylesheet.
see the "Customizing the Styles List" section of the HTML Editor 3 getting started guide:
html-editor3_gsg.php
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.