Re: Remove border on text/html and make tiddler as long as contained html

57 views
Skip to first unread message
Message has been deleted

TonyM

unread,
Apr 30, 2020, 1:14:56 AM4/30/20
to TiddlyWiki
Pieter-Michiel,

A quick answer is to use the browsers developer tools and inspect to find out which style is used in the desired element then advanced search for its definition in tiddlywiki, most likely in one of it or the themes stylesheet.

Regards
Tony

On Thursday, 30 April 2020 05:12:03 UTC+10, Pieter-Michiel Geuze wrote:
Friends,

I am pasting HTML code from websites into a tiddler and setting that tiddler as "text/html" for the type.

I see that the HTML is in a shadowed border which I would like to remove.

I also see that the HTML has a vertical scroll bar that I would like to remove and have the tiddler expand to the length (height?) of the HTML code.

I believe that both are possible through the CSS (?) of the vanilla base stylesheet.

Can you point me to the resource that will show me which part of the CSS I need to adjust for both elements?

Thank you for your time on this.

Pieter-Michiel

Mat

unread,
Apr 30, 2020, 9:01:54 AM4/30/20
to TiddlyWiki
I'm wondering what the text/html type does to begin with? It seems to add an iframe around the content and it's this iframe that is styled with a border.

Pieter-Michiel, what is your reason for applying type "text/html"? Is this an advantage over merely using the default tiddler type with the content pasted? Any time I use html (mostly limited to simple divs or tables) I never change the type, but maybe that's because I still rely on wikitext in the editor... hm...?

<:-)
Reply all
Reply to author
Forward
0 new messages