Neil wrote:
Michael Gordon wrote:
Neil wrote:
Michael Gordon wrote:
Neil wrote:
Michael Gordon wrote:
With Mozilla 1.7 Composer is it possible to turn off both
Automatic CSS element and Font attributes for creating and
editing a HTML document?
What do you mean by automatic attributes? Or do you mean that
edits you make produce unexpected results, and if so, what?
If I turn on CSS styles Composer inserts inline CSS elements, if I
turn off CSS styles Composer inserts HTML tag attributes like <font
size="+3"><font face="verdana, arial">Some Text</font></font>.
Simply I would like the option to turn them both off.
Then how do you expect to be able to change the font?
You change the font in the CSS document, for example:
TD {
font-family: Arial, Verdana, Serif;
font-size: 10px;
font-weight: 400;
color: #000000;
}
Now if you want to change the font name and color to all your table
cells you edit the CSS elements to:
TD {
font-family: "Times New Roman", Verdana, Serif;
font-size: 10px;
font-weight: 400;
color: #0000FF;
}
Instantly all "normal" table cells are changed to Times New Roman,
and the color is changed.
This is a very simplified example, but you can expand this to include
hyper link attributes, etc. Imagine if you had a site with 50 pages
and your customer wanted to alter the font from Arial to Times New
Roman, one edit in the CSS makes all the changes to all 50 pages.
Ah, then I guess you need the CasCadeS extension which I believe
allows you to edit CSS style rules.
http://daniel.glazman.free.fr/composer/cascades02.htm
In a way it will allow you to edit CSS, but only that which is within
the HTML document, it will not edit or develope external CSS files.
Michael
_______________________________________________
mozilla-editor mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-editor