close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Default Link Style Possible?

Thread began 2/11/2011 4:00 pm by joshua.bridge413401 | Last modified 2/17/2011 4:08 pm by Jason Byrnes | 1208 views | 6 replies |

joshua.bridge413401

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

Sign in to reply to this post

Jason ByrnesWebAssist

define a style for the a element in your style sheet:


a {
text-decoration:none;
color:#03F;
}

Sign in to reply to this post

joshua.bridge413401

Just by adding it to the style sheet will make it visible in the editor?

Sign in to reply to this post

joshua.bridge413401

html editor link style

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;
}

Sign in to reply to this post

Jason ByrnesWebAssist

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?

Sign in to reply to this post

joshua.bridge413401

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.

Sign in to reply to this post

Jason ByrnesWebAssist

see the "Customizing the Styles List" section of the HTML Editor 3 getting started guide:
html-editor3_gsg.php

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...