E-mail List Archives
Thread: text spacing on iFrame
Number of posts in this thread: 3 (In chronological order)
From: Ajay Sharma
Date: Fri, Jul 17 2020 6:38PM
Subject: text spacing on iFrame
No previous message | Next message →
Hello,
I am looking for some insights on handling the text spacing in case of
iFrames, since as we run the javascript bookmarklet that changes the
text spacing values, the the content under iFrame does not inherit the
new text spacing style. Now, as iFrame generally display content from
another website, is there any standard practice to make content within
the iFrame inherit new style?
Thanks!
Ajay
From: Jonathan Avila
Date: Fri, Jul 17 2020 6:41PM
Subject: Re: text spacing on iFrame
← Previous message | Next message →
You can use the Stylus Extension in Chrome. Drop the CSS into that extension to test within iFrames as well.
https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne?hl=en
Jonathan
From: Patrick H. Lauke
Date: Fri, Jul 17 2020 7:08PM
Subject: Re: text spacing on iFrame
← Previous message | No next message
On 18/07/2020 01:38, Ajay Sharma wrote:
> Hello,
>
> I am looking for some insights on handling the text spacing in case of
> iFrames, since as we run the javascript bookmarklet that changes the
> text spacing values, the the content under iFrame does not inherit the
> new text spacing style. Now, as iFrame generally display content from
> another website, is there any standard practice to make content within
> the iFrame inherit new style?
Recently did a hacky update to this bookmarklet to make it work with
first-level iframes.
https://developer.paciellogroup.com/blog/2018/05/short-note-on-getting-spaced-out-with-sc-1-4-12-text-spacing/
A reminder that while this is used for testing, the fundamental point of
the SC itself isn't "users can change the spacing", but that IF the
users change the spacing (however they manage to do it) stuff doesn't
get chopped off/overlaid/etc. The SC itself is silent about how/if users
can even do it.
P
--
Patrick H. Lauke
https://www.splintered.co.uk/ | https://github.com/patrickhlauke
https://flickr.com/photos/redux/ | https://www.deviantart.com/redux
twitter: @patrick_h_lauke | skype: patrick_h_lauke