Mozilla/mozilla/editor/ui/composer/content/EditorContent.css
cmanske%netscape.com 6eede096f5 Lots of editor feature work: bugs 26286, 34519, 28498, 36998, 37089, 14342. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@68913 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:03:41 +00:00

61 lines
1.7 KiB
CSS

/*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/* Styles to alter look of things in the Editor content window
* for the "Normal Edit Mode" These settings will be removed
* when we display in completely WYSIWYG "Edit Preview" mode
* Anything that should never change, like cursors, should be
* place in EditorOverride.css, instead of here.
*/
/* Use "before" rule so single click can select icon */
a[name]:before {
content: url(chrome://editor/content/images/tag-anchor.gif);
}
/* Force border display for empty cells
and tables with 0 border
*/
table {
empty-cells: show;
}
table[empty-cells], table[border="0"] {
border: 1px dotted red;
}
/* Also force border for cell children
Problem: what if children have a border?
*/
table[border="0"] * td, table[border="0"] * th {
border: 1px dotted red;
}
/* For ease in caret placement,
have a minimum cell width
BUG - DOESN'T WORK!
Note: Setting "width" works
*/
td, th {
min-width: 10px;
}