Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.lang.javascript Subject: Re: Different size text depending on size of screen Date: Fri, 09 Jun 2017 19:34:22 +0100 Organization: A noiseless patient Spider Lines: 13 Message-ID: <878tl1au35.fsf@bsb.me.uk> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="3db8c614f98dafda5a76dd1cb162b869"; logging-data="11864"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18GbkBvmAVpjngsbng48xYfpeMMddSonR0=" Cancel-Lock: sha1:7EI/4sMkZwW6KjwDbp3ItvLu/KY= sha1:++FzV4+2rTUrcO5IbV/9IB7CmK8= X-BSB-Auth: 1.6c52de78cb82f145b80a.20170609193422BST.878tl1au35.fsf@bsb.me.uk Xref: csiph.com comp.lang.javascript:33518 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. -- Ben.