Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #33519
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | "Dave \"Crash\" Dummy" <invalid@invalid.invalid> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Different size text depending on size of screen |
| Date | Fri, 09 Jun 2017 16:33:06 -0400 |
| Organization | A noiseless patient Spider |
| Lines | 21 |
| Message-ID | <ohf0fa$ho2$1@dont-email.me> (permalink) |
| References | <d3edf185-9f23-4d89-828b-ad990c276427@googlegroups.com> <878tl1au35.fsf@bsb.me.uk> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Fri, 9 Jun 2017 20:29:30 -0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="474bbb0d7bce1c508f7e8d6257ac03b9"; logging-data="18178"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/98TFcQz4ZVHiQ9DJqfAdc9ImrvhuNUbE=" |
| User-Agent | Thunderbird 2.0.0.24 (Windows/20100228) |
| In-Reply-To | <878tl1au35.fsf@bsb.me.uk> |
| Cancel-Lock | sha1:+klBcTosDxerH0dmR2sEnh+4+gc= |
| Xref | csiph.com comp.lang.javascript:33519 |
Show key headers only | View raw
Ben Bacarisse wrote: > bit-naughty@hotmail.com writes: > >> Hi, not sure if this group or the CSS group is the right one, but: >> If the browser window is Bigger, I'd like the same text my website >> has, displayed - Bigger! ie. proportional to the size of the >> screen, just like a PDF file. How do I pull this off? > > If you can rely on CSS3 it's a CSS issue. Look at the size units > that are relative to the size of the initial containing block -- vh, > vw, vmin and vmax. Excellent! Much better solution for a web page, where scripting might be blocked. The only drawback is possible incompatibility with older browsers. Minor note. The CSS3 solution doesn't seem to work with Windows 10 HTA pages. -- Crash "The real question is not whether machines think but whether men do." ~ B. F. Skinner ~
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
Different size text depending on size of screen bit-naughty@hotmail.com - 2017-06-09 08:44 -0700
Re: Different size text depending on size of screen "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2017-06-09 14:12 -0400
Re: Different size text depending on size of screen "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2017-06-09 14:23 -0400
Re: Different size text depending on size of screen Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2017-06-12 12:57 +0300
Re: Different size text depending on size of screen "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2017-06-12 09:47 -0400
Re: Different size text depending on size of screen Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-09 19:34 +0100
Re: Different size text depending on size of screen "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2017-06-09 16:33 -0400
csiph-web