|
Posted by Chris F.A. Johnson on 08/10/06 15:08
On 2006-08-10, Luigi Donatello Asero wrote:
>
> "Luigi Donatello Asero" <jaggillarfotboll@telia.com> skrev i meddelandet
> news:1UFCg.12491$E02.4407@newsb.telia.net...
>>
>> "Maate" <maate@retkomma.dk> skrev i meddelandet
>> news:1155194804.536498.151680@q16g2000cwq.googlegroups.com...
>>
>> >You could also set different stylesheets depending on screen
>> resolution.
>>
>> >Check this out:
>
> Sorry, perhaps my explanation was not very good...
> Here is a another try.
> I was not talkning about images in the tables but about tables which do not
> contain images such as the ones on the page
> https://www.scaiecat-spa-gigi.com/it/svezia.html
> In order to prevent the tables from overflowing I could set font-size:
> smaller;
> only for the content in the table or in a certain table.
> This way the user would not need scroll the bar to read the contents of the
> whole table.
> However he might find it difficult to read the text in the table. That
> could happen for example if he uses a little screen which shows very small
> "smaller letters". So, I wonder whether I could have set a min-width to
> prevent the letters from being too small...
Scrolling is the lesser of two evils. If the text is too small, it
is unreadable.
> Could I set different stylesheets depending on screen resolution without
> using javascript?
You need a function of the screen resolution, the window size,
the monitor size, and the reader's eyesight. Unless you have all
of that information, don't bother trying.
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
Navigation:
[Reply to this message]
|