Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1221 CSS Style broken/inconsistent

open
nobody
5
2012-11-13
2008-02-06
Anonymous
No

The style and formatting of a file saved as .css is inconsistent in the first two lines. When saving the following as css:

id {display: block; font-size: 36pt; color: #FF0000; text-align: center}
name (display: block; font-size: 18pt; color: #000000; text-align: left}

Notepad++ displays the attribute names of the first line in bold-grayish-blue and of the second line in bold-black. The values of the first line are bold-black and of the second line normal-blue...
The following lines seem to be ok.

Notepadd++ 4.7.5 Installer for Windows

Screenshot attached.

Discussion

  • Inconsistent formatting

     
    Attachments
  • Logged In: YES
    user_id=1770193
    Originator: NO

    After name there's an error in the above example code: after name there's a parentesis "(", instead of an opening bracket "{". Correcting that makes coloring work again.

    I suggest this bug is closed.