alternative link styles not selectable (Full Version)

All Forums >> [Web Development] >> Expression Web Help



Message


natz -> alternative link styles not selectable (8/26/2007 6:47:45)

I am editing an existing web site, which was built in FP, now using EWD.

Strangely the "apply styles" task pane on the left won't display all my alternative link styles (such as a.norm:link or a.wht:link etc.) - it's only ever allowing me to select the straight forward a:link from the existing CSS. I never had this problem in FP before, where the CSS selector offered me all possible classes for the link.

What am I doing wrong? I even tried different expressions for the link styles. No luck. It just won't appear on the left to be selected.




Tailslide -> RE: alternative link styles not selectable (8/26/2007 13:25:15)

If an Expressions user doesn't come along with the right answer, can you not just open up the stylesheet and type the styles in manually?




natz -> RE: alternative link styles not selectable (8/27/2007 6:03:53)

Of course, that's what I am doing... I'm hard-coding most of the pages manually.

I would simply like to know what's wrong, because I might need to train a few of my web clients to do certain edits themselves, and it would be great if EWD could allow as many operations as possible, without working directly in the html code.

I searched left, right and centre for a clue on the web. But it's only ever explaining how to customise the default a:link style, not talking about alternative link styles and how to make them appear in the "apply CSS" pane.




coreybryant -> RE: alternative link styles not selectable (8/27/2007 15:11:54)

I was playing around with this some, but when I used
<div class="left">
<a href="http://www.example.com">Example</a>
</div>/
this worked OK. The hyperlink appeared as it is should.

If you go to Tag Properties, can you apply it there. Maybe Apply a Style Sheet will help.




natz -> RE: alternative link styles not selectable (8/27/2007 15:33:06)

Yes, I know. That obviously works. But now try adding a few of these to your CSS:

a:link.plain			{ color: #4981B4; text-decoration: underline; }
a:visited.plain			{ color: #4981B4; text-decoration: underline; }
a:active.plain			{ color: #1E5177; text-decoration: none; }
a:hover.plain			{ color: #1E5177; text-decoration: none; }
a:visited:hover.plain	{ color: #4981B4; text-decoration: none; }


or

a.plain:link			{ color: #4981B4; text-decoration: underline; }
a.plain:visited			{ color: #4981B4; text-decoration: underline; }
a.plain:active			{ color: #1E5177; text-decoration: none; }
a.plain:hover		{ color: #1E5177; text-decoration: none; }
a.plain:visited:hover	{ color: #4981B4; text-decoration: none; }


They are not selectable for links from the "apply CSS" pane. And I cannot figure out why.




coreybryant -> RE: alternative link styles not selectable (8/27/2007 15:44:31)

I don't see them there but under the Tag Properties you can apply them. I don't know if this is by design or not. I usually place all the <a> tags in a divide or something if I need to use them the way you mention




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625