Groups
Groups
Sign in
Groups
Groups
挨踢技术
Conversations
About
Send feedback
Help
把 CSS 写入 TWebBrowser
1 view
Skip to first unread message
电脑玩家
unread,
Nov 1, 2009, 9:57:48 PM
11/1/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 挨踢技术
通过 FDocument.body.innerHTML := S; 的方式把文本写入浏览器,S里面的 CSS 不能起作用。但如果再次输入这个
S,并且采用 FDocument.body.innerHTML := FDocument.body.innerHTML + S; 的方式,两段
文字重复了,但 CSS 的格式居然出现了!
再次测试,发现把 CSS 写到文本最后一行,可以起作用。
Reply all
Reply to author
Forward
0 new messages