|
本帖最后由 Oeasy 于 2014-8-14 10:36 编辑
The "Style" on MdxBuilder is MDict Format File (*.txt), not *.css file. "MDict Format File" is NOT *.css, but a special piece of code to help decrease the size of MDict source file. To read [manual_Eng.txt] may be helpful.
If you want to use external *.css, there're three ways.
1. Note: GoldenDict doesn't support this! Only MDict itself supports it right now.
<link href="test.css" rel="stylesheet" /> is not needed. Just put test.css and test.mdx in the same directory, the css will take effect automatically.
[test.mdx + test.css, no <link href="test.css" rel="stylesheet" /> in the source txt file, but the .css and .mdx file should have the same name and in the same directory. ]
2.
<link href="faint.css" rel="stylesheet" /> is needed. On this condition, the css file can have different name with the mdx file. Just put them in the same directory, it will take effect.
[test.mdx + faint.css, <link href="faint.css" rel="stylesheet" /> in the source txt file, the .css and .mdx can have different names, but should be in the same directory.]
3.
<link href="faint.css" rel="stylesheet" /> is needed. You can zip the css into the mdd file. Just treat the css file as data.
[test.mdx + test.mdd, <link href="faint.css" rel="stylesheet" /> in the source txt file, faint.css is in the mdd. The .css and .mdx can have different names. The mdx and mdd should have the same name and in the same directory ]
You can upload a sample of your source txt file with tens of entries. This may save a lot of time.
|
|