Oxford Learner's Wordfinder Dictionary的表格有没有办法正确显示?

查time,目前是这样:
image

正常是这样:
image

看看有没有高手可以帮忙修改,我是没办法了 :sweat_smile:

OALD7-Word-Finder.rar (1.3 MB)

因为表格无法正常显示,目前CSS是给予隐藏,要测试的话,请自行打开:
image

1 Like

CSS 比较难,最多也就这样了,要想好看得用 JS 处理下。
image

3 Likes

已经很不错了,不知可否分享css写法? :grinning_face_with_smiling_eyes:

1 Like
.OALD_table .OALD_b:first-child::after {
    content: "";
}

.OALD_table {
    display: inline-block;
    border: #888888 solid 1px;
    padding-left: 4px;
}

.OALD_table .OALD_b:first-child {
    margin-left: 0px;
}

.OALD_table .OALD_b {
    margin-left: 80px; /* 粗体字左边距,可自行调节 */
}

.OALD_table .OALD_b::after{
    content: "\A";
    white-space: pre;
}
1 Like

Screenshot_2022-04-29-20-28-39-38_32d76ed0cd82b305668f31fe52107a47
OALD7-Word-Finder.zip (1.2 MB)
拼凑了一版
Screenshot_2022-04-29-20-34-56-18_32d76ed0cd82b305668f31fe52107a47

2 Likes

目前找到这些单词是有表格的,想调整的朋友可以试试看:
animal
book
cosmetics
doctor
film
greet
house
illness
jewellery
meat
money
music
number
politics
punctuation
question
room
shape
shop
size
time
weight

照抄hua的css发现美语标识右括号到了下一行
不懂css,能修么
Screenshot_2022-04-29-21-22-38-62_32d76ed0cd82b305668f31fe52107a47

我不会,不过可以调整这两个地方,让字不会跑出框框外

image

image

即使如此,表格还是有许多不完美,可能看看其他人有没有能力、意愿调整吧 :sweat_smile:

Screenshot_2022-04-29-21-29-03-07_32d76ed0cd82b305668f31fe52107a47
Screenshot_2022-04-29-21-29-14-80_32d76ed0cd82b305668f31fe52107a47
Screenshot_2022-04-29-21-32-01-24_32d76ed0cd82b305668f31fe52107a47
Screenshot_2022-04-29-21-32-55-71_32d76ed0cd82b305668f31fe52107a47

主要问题就是右侧单词里出现的右括号和逗号,informal和American全部都向左对齐

例如拿第一张图来说,应该是a penny(informal one p)

1 Like

表格里面的没办法的。

IMG_20220429_225234
Screenshot_2022-04-29-22-51-52-419_cn.ssdl.bluedictpro
这是hua大的oxford student dictionary

1 Like

内容居然一样的,令人震惊

找到解决方法了:直接把oxford student dictionary的mdx代码搬过来用

明天再来改。

如果要改的话希望拆分下词头,有好多地方可以优化

这个跟贴里改了一些

final(ly) → final, finally
sudden(ly) → sudden, suddenly
more1 → more
race1 → race

我肉眼瞄了一下:actor/actress
advise/suggest
and/or/but
avoid/prevent
bar/pub
beautiful/attractive
before/after
better/best
big/small
borrow/lend
bring/take/carry
call/becalled
cause/effect
clean/dirty
clock/watch
coffee/tea
come/go
compare/contrast
complain/protest
cup/glass
decide/choose
discuss/argue
early/late
easy/difficult
end/finish
exact/approximate
fairly/very
fast/slow
fat/thin/thick
first/next/last
full/empty
get/obtain
gold/sliver
hand/arm
hard/soft
have/possess
hill/mountain
hold/catch
howmuch/many(这里粘连在一起了)
in/out
increase/decrease
intend/plan
kind/cruel
king/queen
knife/fork/spoon
leg/foot
lion/leopard/tiger
lock/chain
long/short
look/seem
lookafter(粘连)
lookfor(粘连)
lord/lady
method/manner
new/old
newspaper/magzine
open/shut
out/outside
part/whole
pen/pencil
plate/bowl/dish
pop/rock
prince/princess
pull/push
real/existing
real/genuine
remember/forget
right/left
right/wrong
salt/pepper
star/planet/moon
string/rope
strong/weak
succeed/fail
television/radio
ton/tonne
useful/suitable
wall/fence/hedge
wet/dry
wide/narrow
win/lose
worse/worst
yes/no
young/old

PS:要是能加入更多变形曲折词头就好了
拆分后最好保留原始的,否则跳转可能会失效?

哈哈哈!

:bingdundun:

[2022.04.30 02:38 pm][修正几处错误]
OALD7-Word-Finder-modified-new.rar (1.6 MB)

所有表格处理完毕,其中"shape"的部份改以图片显示。

以下词头拆分完毕
final(ly) → final, finally
sudden(ly) → sudden, suddenly
more1 → more
race1 → race

actor/actress
advise/suggest
and/or/but
avoid/prevent
bar/pub
beautiful/attractive
before/after
better/best
big/small
borrow/lend
bring/take/carry

以下词头已将相黏的部份分开
lookafter
lookfor

以下词头已拆分,并将相黏的部份分开
howmuch/many

以下词头尚未分开,有兴趣者可接手。请注意,根据我先前拆分的经验,有可能当中有些词头已经有跳转,应先输入测试看看,不然可能会出现重复内容。
call/becalled
cause/effect
clean/dirty
clock/watch
coffee/tea
come/go
compare/contrast
complain/protest
cup/glass
decide/choose
discuss/argue
early/late
easy/difficult
end/finish
exact/approximate
fairly/very
fast/slow
fat/thin/thick
first/next/last
full/empty
get/obtain
gold/sliver
hand/arm
hard/soft
have/possess
hill/mountain
hold/catch
in/out
increase/decrease
intend/plan
kind/cruel
king/queen
knife/fork/spoon
leg/foot
lion/leopard/tiger
lock/chain
long/short
look/seem
lord/lady
method/manner
new/old
newspaper/magzine
open/shut
out/outside
part/whole
pen/pencil
plate/bowl/dish
pop/rock
prince/princess
pull/push
real/existing
real/genuine
remember/forget
right/left
right/wrong
salt/pepper
star/planet/moon
string/rope
strong/weak
succeed/fail
television/radio
ton/tonne
useful/suitable
wall/fence/hedge
wet/dry
wide/narrow
win/lose
worse/worst
yes/no
young/old

拆分、增加跳转蛮容易的,格式如下:(举例而言,这是把better和best分别引导到better/best这个词条中)

image

2 Likes

不要框的话,反查字典里的排版也许可作参考,我捣鼓了一下,还行。
image
image

1 Like

昨晚刷论坛刷到了这个小词典。先刷为敬!
很奇怪,这个 wordfinder 内容在oald7 后被砍掉了么

这个标记我认为用在例句前还挺合适的,
\275D