Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Visual Format Issue
System
Posted on behalf of Alexander Gonsecki (question came in via email):
TeamSite 5.5.2
Windows
Clients running IE 5.5
We are trying to use the "Styles" drop-down feature in VisualFormat (the one similar to the style drop-down in Word). According to the VF Developer's Guide, Implementing Style Class Selectors section (pp. 254-258), this is accomplished by changing the style sheet and specifying the styles you want and how they should display. The attached style sheet is the one we are using, and it is working well for making the styles available. However, once we start using it we get unexpected behavior. As we enter lines of text, changing styles on each line, at some point the style (or more specifically the formatting) seems to get "stuck". If we change the style to something with a different color, the text is still the color of the old style. When we view the HTML directly, it is plain to see what the problem is:
<p class="Example2">SDDSDS</p>
<p class="Example3">asasa</p>
<p class="Normal">asasas</p>
<p class="Notes">asasasas</p>
<p class="Notes">fsdsdsds</p>
<p class="Example3"><font color="#4b0082">asasasa</font></p>
Notice that after switching to Notes, then back to Example3, VF is inserting a font color. The color, incidentally, is the color specified in the style sheet for the Notes class. So, it seems that VF is somehow getting "stuck" on a style. This same thing happens with styles that have Bold/Italics settings.
Has anyone out there successfully implemented style class selectors? Or, can anyone tell me what I'm doing wrong here? Or, is this a bug?
Find more posts tagged with
Comments
There are no comments yet