![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||||
| |||||
|
|
I've looked through alt.html and this group for an answer to my question. |
|
However, I found only cranky arguments with, occasionally, bits of hard-to-understand code - out of context - each of which is slammed by the next people along in the thread. |
|
Is there a way to insert a couple of lines in my style sheet that say, "if the resolution of the viewer's screen is more than 800x600 use a fontsize 130% bigger" |
|
Please don't call me an idiot, I know already that I am one. |
|
Thanks for your help, Jane |
#3
| |||
| |||
|
|
Hello, I've looked through alt.html and this group for an answer to my question. However, I found only cranky arguments with, occasionally, bits of hard-to-understand code - out of context - each of which is slammed by the next people along in the thread. So I'm afraid to ask this but I need to know!... |
|
Is there a way to insert a couple of lines in my style sheet that say, "if the resolution of the viewer's screen is more than 800x600 use a fontsize 130% bigger" |
#4
| |||
| |||
|
|
Hello, I've looked through alt.html and this group for an answer to my question. However, I found only cranky arguments with, occasionally, bits of hard-to-understand code - out of context - each of which is slammed by the next people along in the thread. So I'm afraid to ask this but I need to know!... Is there a way to insert a couple of lines in my style sheet that say, "if the resolution of the viewer's screen is more than 800x600 use a fontsize 130% bigger" You can't do what you want using only CSS. |
#5
| |||
| |||
|
|
Is there a way to insert a couple of lines in my style sheet that say, "if the resolution of the viewer's screen is more than 800x600 use a fontsize 130% bigger" |
#6
| |||
| |||
|
|
melinama wrote: Is there a way to insert a couple of lines in my style sheet that say, "if the resolution of the viewer's screen is more than 800x600 use a fontsize 130% bigger" you'd need scripting to even find out what the resolution is |
#7
| |||
| |||
|
|
body { font-size: 1em; } is the way to fix this. |
#8
| |||
| |||
|
|
Hello, I've looked through alt.html and this group for an answer to my question. However, I found only cranky arguments with, occasionally, bits of hard-to-understand code - out of context - each of which is slammed by the next people along in the thread. So I'm afraid to ask this but I need to know!... Is there a way to insert a couple of lines in my style sheet that say, "if the resolution of the viewer's screen is more than 800x600 use a fontsize 130% bigger" Please don't call me an idiot, I know already that I am one. Thanks for your help, Jane Jane, |
#9
| |||
| |||
|
|
Andy Dingley wrote: body { font-size: 1em; } is the way to fix this. Better: body { font-size: 100%; } This avoids an IE bug scaling em units. |
#10
| |||
| |||
|
|
I use a small javascript that ascertains my viewers screen resolution and then directs my page to use the appropriate style sheet (or pertinent portion). |
![]() |
| Thread Tools | |
| Display Modes | |
| |