Posted by Ivαn Sαnchez Ortega on 08/23/07 23:31
windandwaves wrote:
> [...] that changes a stylesheet from 1024x768 to one
> for 800x600 by literally changing all the widths, heights, font-sizes,
> etc... by the ratio between 800/1024 (i.e. multiplying all values to
> do with height or length with 0.78125)
Have two different style sheets with different base values on just the
<body> element. Have a third (cascading) sheet with the rest of the
styling, express *everything* in either percentage or em. Problem solved
without touching a single line of code.
--
----------------------------------
IvΓ‘n SΓ‘nchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
Un ordenador no es un televisor ni un microondas, es una herramienta
compleja.
[Back to original message]
|