DW cs4 -  something changed - font code colors

Hello
[history ] I have been using DW CS 4 for 16 months. 
[Question ] Sometime in last two months the font code colors changed and are mostly blue.  I would like the code to have the variety of colors that it once had which made reading code possible.   When I've checked my code preferences I don't see anything which has changed.
About the same time I have been getting an error message (maybe a red herring to code color issue)
"this page contains some SWF that may not work properly in the most recent versions of Internet Explorer.
Dreamweaver cannot convert them to the new SWF markups. Please delete each of them and insert again."
However pages from same site that don't have SWF error are not having homogenous code color.
Elsewhere when I searched the error code someone suggested looking at extensions.  The only extension I remember specifically adding to dreamweaver in last few months is
Adobe :   HTML5 hinting for CS3 & CS4
Thanks,
Casey
[additional info]
Windows Vista™ Home Premium (6.0, Build 6002) Service Pack 2 (6002.vistasp2_gdr.100608-0458)
           Language: English (Regional Setting: English)
System Manufacturer: Dell Inc.
       System Model: Inspiron 1525                  
               BIOS: Phoenix ROM BIOS PLUS Version 1.10 A16
          Processor: Intel(R) Core(TM)2 Duo CPU     T5750  @ 2.00GHz (2 CPUs), ~2.0GHz
             Memory: 3062MB RAM
          Page File: 2057MB used, 4264MB available
        Windows Dir: C:\Windows
    DirectX Version: DirectX 11

@ Nancy  Thanks.  Generally yes.   Transitional xhtml 1.0.
However  --- 
DW cs4 code color still is off.
It seems that a possible cause was not the swf issue (as I first asked about) but something with ASP coding.
I say this because when I remove the asp comment at the start of a product page (examples below) .   Yet  I don't know asp or DW library well enough to conclusively say this is it or just a hack.  I'd prefer best practice option.
'default to order tab or not
or
I edit it to a string
'default to order tab or not' 
then rest of page is colored perfectly.
three  examples (bigger below) --- as it is DW CS4 not rendering code colors correctly... then #2 removing 'default to order tab or not   then #3
Original -- 
Modified option 1 --  removed  asp comment  (which I'd prefer to keep)
modified option 2 (  asp commented  closed with  '  but this may not be best practice....  will check coding forum for that... for now I'm seeing if DW is messing up something it should be.... )

Similar Messages

  • Why I cannot change font  and Color in JFrame title??

    Dear sir:
    I try to change font and Color in JFrame title in code below,
    It display all html code, not expected formatted ones.
    but fail. Looks like no way to do it??
    Can somebody help??
    Thanks
    import java.awt.BorderLayout;
    import java.awt.Toolkit;
    import javax.swing.*;
    public class JFrameTester {
      public static void main(String[] args) {
         String iconPath ="file:C:/eclipse/workspace/Test/images/long.PNG";
         String title = "<html><body bgcolor=\"yellow\">" + "<img src=\""+iconPath+"\">" +
              " <font size=\"6\" face=\"Verdana\" color=\"red\"><b>"+ "New Tester" + "</b></font></html>";
        JFrame f = new JFrame(title);
        f.setIconImage(Toolkit.getDefaultToolkit().getImage("images/123.gif"));
        f.setSize(250, 250);
        f.setLocation(300,200);
        f.getContentPane().add(new BorderLayout().CENTER, new JTextArea(10, 40));
        f.setVisible(true);
    }

    Looks like no way to do it??depends on the L&F you want.
    here's one way
    import java.awt.*;
    import javax.swing.*;
    class JFrameTester {
      public static void main(String[] args) {
        JFrame.setDefaultLookAndFeelDecorated(true);
        UIManager.put("activeCaption", new javax.swing.plaf.ColorUIResource(Color.RED));
        UIManager.put("activeCaptionText", new javax.swing.plaf.ColorUIResource(Color.YELLOW));
        String title = "Hello World";
        JFrame f = new JFrame(title);
        f.getLayeredPane().getComponent(1).setFont(new Font("Tall Paul",Font.ITALIC,24));
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.setSize(250, 250);
        f.setLocation(300,200);
        f.getContentPane().add(new BorderLayout().CENTER, new JTextArea(10, 40));
        f.setVisible(true);
    }

  • How do I change font and colors back to default?

    I have changed the font and color of the text through the tools button and the options button and the content tab. I find nothing telling me how to change the font and colors back to default font and colors. Can you advise me? I'm using Windows 7 Home Premium OS. Thanks.

    Hi Brenda19605,
    You can use this article to set the fonts and colors: https://support.mozilla.org/en-US/kb/change-fonts-and-colors-websites-use?esab=a&s=font&r=0&as=s
    The default settings for the font are in this article:
    https://support.mozilla.org/en-US/kb/Some%20text%20shows%20up%20bold%20after%20upgrade
    Unfortunately for the default colors has no good reference. But for text it is black (most lower left) color, background is white (most upper left color). Unvisited links is blue (column 8, row 5) and visited link is purple (column 9, row 5).
    Let me know if you need anymore help!
    Lordfreak

  • How to change font size & color of text inside note and callout annotation using code ?

    Hi,
    I want to set different font size & color for the text inside note and callout annotations. And for this, I am setting properties using the DS attribute while creating annotations (see below code).
    //"font: Helvetica,sans-serif 12.0pt;font-stretch:Normal; text-align:left; color:#rrggbb";
    sprintf(buf,
    "%s %2.1f%s%s%s%s;" , "font: Helvetica,sans-serif", float(g_fontSize),"pt; font-stretch:Normal; text-align:left; color:#", str[0], str[1], str[2]);CosDictPutKeyString (cosAnnot,
    "DS",CosNewString (cosDoc, false, buf, strlen(buf)));PDAnnotNotifyDidChange(pdAnnot, ASAtomFromString(
    "DS"), 0);
    But this doesn't work when I just wrire text after creating annotation.
    And suprisingly it works fine when I click first outside of the annotaion and then double click to write text inside annoatation.
    Is this bug of Adobe ? if not then please let me know the fix.
    Regards,
    Arvind

    Hi
    Is there any way(eg. preference) by which we can change default color & font size for annotation?
    Regards,
    Arvind

  • Easiest way to change font size/color with CSS?

    I've never used CSS before; I need to know how to change the font size and color using CSS, since it seems to be the only way to do it now. Sometimes I just need to change the font just for a few words, or a line here and there. Not necessarily page-wide, you understand. Is there a step-by-step process showing the simplest way to accomplish this? I'm not a web developer or professional designer, nor do I want to be. I just use DW to build simple web sites for personal use. I don't build using HTML - I solely use DM's GUI functions. And I'm also trying to teach my nine year-old how to start out page-building. I certainly hope that something as simple as changing font size doesn't require one to buy a book to learn HTML, which seems to be what a lot of people are telling me. Thanks for any assistance.

    Easiest is not always the best way.  You must learn the fundamentals. 
    CSS
    /**this styles all paragraphs in your site**/
    p {
    font-size: 18px;
    color: #000;
    /**This is a class.  Classes are re-usable**/
    .red {
    color:red;
    font-weight:bold;
    HTML:
    <p>This is a normal paragraph</p>
    <p class="red">This is a red paragraph</p>
    <p>This is a normal paragraph with <span class="red">some red text here</span> but not here.</p>
    If you're going to teach your 9yr old how to build web pages, start with the links below.
    There's no point in teaching your child bad habits that will have to be unlearned later.
    http://www.html.net/
    http://w3schools.com/
    http://www.csstutorial.net/
    http://phrogz.net/css/HowToDevelopWithCSS.html
    Nancy O.

  • Hyperion web analysis can not change font and color

    In Hyperion web analysis, when I want to set or change font, a null dialogbox appear ; when I click and want to set or change color, nothing happen,even no dialogbox appears. Why?
    thanks advance!
    Edited by: user1016218 on 2010-1-8 上午7:16

    Hello,
    See my answer in this link:
    Urgently!  In Hyperion web analysis  font and color can not be changed
    May be it helps.

  • SQL Server Management Studio has stopped working when changing fonts and colors

    I installed sql server management studio 2012 about 3 months ago to test drive and from time to time I'll attempt to change my background color of the TSql editor "In the fonts and colors option under tools"; however, the entire studio crashes
    and restarts.
    This has been ongoing since I first installed it 3 or 4 months ago, and have waited on posting to a fourm for help, assuming I am not the only one this is happening to I've waited for an update that might fix the issue.
    I've got to start on some heavy scripting and that god awful white background kills my eyes. I've got to have a black background or my work day is cut off by about 3 hours becuase of strain.
    What can I provide to someone that would help me with this?
    Thank you,
    Erik
    Specialize in software for the construction industry.

    Hello,
    Could you please apply the following updates and let us know the results?
    http://www.microsoft.com/en-us/download/details.aspx?id=35575
    http://support.microsoft.com/kb/2790947
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Photoshop CS4 randomly changing font...

    I'm baffled by this one. I created a new text layer and chose MT Resolution Classic Tight as the font. I entered one word, entered a space and the continued typing. However, everything after that space was in Minion Pro. I had to select all of the text and change it back to MT Resolution. This is happening no matter what font I choose. I could start with something like Arial, enter a space after the first word I type, and then the rest of the entered text is in some other random font. There seems to be no logic to it. I've been using PS for years, and CS4 for at least a year, and this problem has never come up before.
    I can't even begin to imagine what is going wrong. Help?
    (Photoshop CS4 Extended 11.0.1 32-bit, Windows 7 Ultimate 64-bit)

    How many fonts do you have installed?
    Do a search for and delete all instances of adobefnt*.lst (that extension is .LST).
    And if a broken or corrupted font is causing problems there is no alternative in the long run to tracking it down and deleting it.

  • Change font's color of Labels

    Is there any way to somehow change color for the font of Cisco IP Phones 797X ?
    I mean the font that can be found in the LABEL field, i.e. font of DN/SpeedDial/BLF.
    It's white color currently.
    Thank you much.

    sorry, not possible
    HTH
    java
    if this helps, please rate

  • I have lost the ability to change fonts,use color and size and when I try to write anyone,I cannot see my mailing list and there is no send button.

    A few months ago my ability to use different fonts, colors and sizes suddenly disappeared. These choices were always available when looking at my email and I used them regularly . No one I asked ever heard of such a thing happening. I left it alone until I found someone to help. Then, a few days ago, when I clicked "write" , two things happened. First, I could not forward, reply or even see my collected email addresses. Second, there was no longer a place that said "send". My email page filled the entire screen and when I scaled it down, there was still no way to see my list or to send. I am a novice when it comes to fixes and terms but, I have asked people who have some experience with PC's they were stumped. I contacted Fairpoint and they said it must be a Thunderbird problem. Most of the people I asked said they didn't know Thunderbird. One suggested that I reinstall T.bird but, said I also might lose everything on my PC. I would appreciate any help you can give. Thanks, Jim

    When you click Write and open the new message editor, press Alt to show the Menu Bar, then enable all the toolbars under View/Toolbars. Plus, press F9 to show the Contacts sidebar.

  • Change Font's Color

    how do i change the colour of the font inside a JButton
    for ( int count = 0 ; count < button.length ; count++)
                   for (int count1 = 0 ; count1 < button.length ; count1++ )
                        if (board[count][count1] != 0)
                             button [count][count1].setText(""+board[count][count1]) ;
                             button [count][count1].setEnabled (false ) ;
              }

    http://java.sun.com/docs/books/tutorial/uiswing/components/html.html
    And in response to your username........ "No it doesn't"... :-)
    regards,
    Owen ( Dublin, Ireland )

  • Need a tool bar to bold, highight, change font or color, etc.

    with owa (outlook web access) I need a toolbar for bold. itallic, highlighting, font, color. when I receive and email it is also not hightighted

    If your report is in ALV, then system automatically places these buttons in toolbar. so make your report as ALV (ie using fm REUSE_ALV_GRID_DISPLAY or using Object oriented CL_GUI*)
    a®s

  • Change fonts in sylpheed when composing? [split]

    Perhaps someone can set me straight on this - I too got tired of the load time required for Thunderbird and tried out Sylpheed. It is really fast, and has a decent feature set. One thing kills it though. When composing emails, there is no support for changing font sizing, color, etc. You get to select one font (and not even a color - seems to default to black) from the main configurations, and that is what is used - you can't highlight, bold, underline, change color etc. Whats worse, that seems to be just a display font. When Sylpheed sends the mail out, it is plain text. Essentially, there is no support for Rich Text for HTML. That is a bit limiting these days.
    Oddly, this makes it worse than something old like Outlook Express from way back in the Win95 days!

    split from "which mail client do you use?".

  • Code Color Scheme

    Is there an easy way to change the code color scheme to a
    black background in Dreamweaver MX 2004?
    I would like to code in a color scheme much like gVim with
    the darkblue color scheme.

    Gryphon4200 wrote:
    > That doesn't work since there isn't a color scheme
    template there for color on
    > black background. I can change the background manually
    but then I would have to
    > change each individual highlighting color to suit the
    background. I was
    > wondering if there was a template, plugin, or anything
    that would do it
    > automaticly.
    >
    AFAIK, there is no template available. If having it on a
    black
    background is what you want, you'll need to make the changes
    manually.
    If you think that the ability to choose colour schemes would
    be a useful
    addition to Dreamweaver, file an enhancement request directly
    to the
    development team:
    www.macromedia.com/go/wish
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • How to change font/ font color etc in a graphic object using JCombobox?

    Hello
    My program im writing recently is a small tiny application which can change fonts, font sizes, font colors and background color of the graphics object containing some strings. Im planning to use Jcomboboxes for all those 4 ideas in implementing those functions. Somehow it doesnt work! Any help would be grateful.
    So currently what ive done so far is that: Im using two classes to implement the whole program. One class is the main class which contains the GUI with its components (Jcomboboxes etc..) and the other class is a class extending JPanel which does all the drawing. Therefore it contains a graphics object in that class which draws the string. However what i want it to do is using jcombobox which should contain alit of all fonts available/ font sizes/ colors etc. When i scroll through the lists and click the one item i want - the graphics object properties (font sizes/ color etc) should change as a result.
    What ive gt so far is implemented the jcomboboxes in place. Problem is i cant get the font to change once selecting an item form it.
    Another problem is that to set the color of font - i need to use it with a graphics object in the paintcomponent method. In this case i dnt want to create several diff paint.. method with different property settings (font/ size/ color)
    Below is my code; perhaps you'll understand more looking at code.
    public class main...
    Color[] Colors = {Color.BLUE, Color.RED, Color.GREEN};
            ColorList = new JComboBox(Colors);
    ColorList.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent ev) {
                     JComboBox cb = (JComboBox)ev.getSource();
                    Color colorType = (Color)cb.getSelectedItem();
                    drawingBoard.setBackground(colorType);
              });;1) providing the GUI is correctly implemented with components
    2) Combobox stores the colors in an array
    3) ActionListener should do following job: (but cant get it right - that is where my problem is)
    - once selected the item (color/ font size etc... as i would have similar methods for each) i want, it should pass the item into the drawingboard class (JPanel) and then this class should do the job.
    public class DrawingBoard extends JPanel {
           private String message;
           public DrawingBoard() {
                  setBackground(Color.white);
                  Font font = new Font("Serif", Font.PLAIN, fontSize);
                  setFont(font);
                  message = "";
           public void setMessage(String m) {
                message = m;
                repaint();
           public void paintComponent(Graphics g) {
                  super.paintComponent(g);
                  //setBackground(Color.RED);
                  Graphics2D g2 = (Graphics2D) g;
                  g2.setRenderingHint             
                  g2.drawString(message, 50, 50);
           public void settingFont(String font) {
                //not sure how to implement this?                          //Jcombobox should pass an item to this
                                   //it should match against all known fonts in system then set that font to the graphics
          private void settingFontSize(Graphics g, int f) {
                         //same probelm with above..              
          public void setBackgroundColor(Color c) {
               setBackground(c);
               repaint(); // still not sure if this done corretly.
          public void setFontColor(Color c) {
                    //not sure how to do this part aswell.
                   //i know a method " g.setColor(c)" exist but i need to use a graphics object - and to do that i need to pass it in (then it will cause some confusion in the main class (previous code)
           My problems have been highlighted in the comments of code above.
    Any help will be much appreciated thanks!!!

    It is the completely correct code
    I hope that's what you need
    Just put DrawingBoard into JFrame and run
    Good luck!
    public class DrawingBoard extends JPanel implements ActionListener{
         private String message = "message";
         private Font font = new Font("Serif", Font.PLAIN, 10);
         private Color color = Color.RED;
         private Color bg = Color.WHITE;
         private int size = 10;
         public DrawingBoard(){
              JComboBox cbFont = new JComboBox(GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames());
              cbFont.setActionCommand("font");
              JComboBox cbSize = new JComboBox(new Integer[]{new Integer(14), new Integer(13)});
              cbSize.setActionCommand("size");
              JComboBox cbColor = new JComboBox(new Color[]{Color.BLUE, Color.RED, Color.GREEN});
              cbColor.setActionCommand("color");
              JComboBox cbBG = new JComboBox(new Color[]{Color.BLUE, Color.RED, Color.GREEN});
              cbBG.setActionCommand("bg");
              add(cbFont);
              cbFont.addActionListener(this);
              add(cbSize);
              cbSize.addActionListener(this);
              add(cbColor);
              cbColor.addActionListener(this);
              add(cbBG);
              cbBG.addActionListener(this);
         public void setMessage(String m){
              message = m;
              repaint();
         protected void paintComponent(Graphics g){
              super.paintComponent(g);
              Graphics2D g2 = (Graphics2D)g;
              g2.setColor(bg);//set background color
              g2.fillRect(0,0, getWidth(), getHeight());          
              g2.setColor(color);//set text color
              FontRenderContext frc = g2.getFontRenderContext();
              TextLayout tl = new TextLayout(message,font,frc);//set font and message
              AffineTransform at = new AffineTransform();
              at.setToTranslation(getWidth()/2-tl.getBounds().getWidth()/2,
                        getWidth()/2 + tl.getBounds().getHeight()/2);//set text at center of panel
              g2.fill(tl.getOutline(at));
         public void actionPerformed(ActionEvent e){
              JComboBox cb = (JComboBox)e.getSource();
              if (e.getActionCommand().equals("font")){
                   font = new Font(cb.getSelectedItem().toString(), Font.PLAIN, size);
              }else if (e.getActionCommand().equals("size")){
                   size = ((Integer)cb.getSelectedItem()).intValue();
              }else if (e.getActionCommand().equals("color")){
                   color = (Color)cb.getSelectedItem();
              }else if (e.getActionCommand().equals("bg")){
                   bg = (Color)cb.getSelectedItem();
              repaint();
    }

Maybe you are looking for

  • ITunes 7 wont load!!!! HELP?

    Right, when I double click the shortcut for iTunes (and the actual exe itself for that matter) a "iTunes has encountered a problem and needs to close. We are sorry for the inconvenience." screen comes up", it's the usual debug/tell microsoft thing wi

  • HDD bay for HP Compaq 8710p

    Let med refrase my question.. What kind of HDD bay (if any) can be used to replace my optical drive bay on my HP Compaq 8710p

  • TDM Block mode for Diadem 9.1

    I create TDM- Headers with the "TDM Header Writer C API". When I run the example "Single-Channel Binary File"everthing is allright, but when I run the example "Multiple Binary Files" I can't see my data in Diadem. The length of the channel is 0. I us

  • How to back up imac before service

    i am preparing to take my mid-2010 intel imac (11,3) in for service.  i'm going to have more ram installed and upgrade os x from 10.7.5 to yosemite or whatever the most timely os is appropriate for my imac. is backing up to an external drive using ti

  • My Mobile restart while update the media library.

    I am using 3110 it some time restarts while update the media library. I also want to flash the software, because it restarts while I applying any themes, adding new files in memory card... also I want to disable the PTT but it not working... Please a