![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
In the below example, |
|
Are there any browsers that don't recognize "alternate stylesheet" as a value of the rel attribute |
|
link href="sheet3.css" rel="alternate stylesheet" type="text/css" id="print" title="Print" / |
#3
| |||
| |||
|
|
On Fri, 16 Mar 2007, johkar wrote: In the below example, Make a sample page and post the URL here! Are there any browsers that don't recognize "alternate stylesheet" as a value of the rel attribute Internet Explorer 6. link href="sheet3.css" rel="alternate stylesheet" type="text/css" id="print" title="Print" / "alternate stylesheet" specifically for print is nonsense. And, btw, the slash before the final > is also nonsense. -- In memoriam Alan J. Flavell http://groups.google.com/groups/sear...Alan.J.Flavell |
#4
| |||
| |||
|
|
"alternate stylesheet" specifically for print is nonsense. Could you please expand on your answer regarding it being nonsense for "alternate stylesheet" being used for print? |
#5
| |||
| |||
|
|
I need some browser implementation clarification. In the below example, the alternate stylesheet could be invoked by user agents that support alternate stylesheets or by script. Are there any browsers that don't recognize "alternate stylesheet" as a value of the rel attribute and just implement it automatically thus overriding sheet2.css? Just need to know what I need to worry about. link href="sheet1.css" rel="stylesheet" type="text/css" id="default1" / link href="sheet2" rel="stylesheet" type="text/css" id="default2" title="Default" / link href="sheet3.css" rel="alternate stylesheet" type="text/css" id="print" title="Print" / Thanks |
#6
| |||
| |||
|
|
Alternate stylesheets can be invoked by scripts, yes, but they are normally invoked directly by the user through some kind of browser command. |
|
link href="print.css" rel="stylesheet" type="text/css" id="print" title="Print" media="print" / |
#7
| |||
| |||
|
|
Vid the Kid wrote: Alternate stylesheets can be invoked by scripts, yes, but they are normally invoked directly by the user through some kind of browser command. I believe, however, that browsers tend to pre-load the alternate stylesheets along with the default(s). Those rules just aren't applied until requested. I mention this because there's been some question in the past about when a browser actually retrieves an alternate stylesheet. link href="print.css" rel="stylesheet" type="text/css" id="print" title="Print" media="print" / I'm curious - what purpose does the id attribute serve here? I've never used it on stylesheets before. |
#8
| |||
| |||
|
|
Vid the Kid wrote: Alternate stylesheets can be invoked by scripts, yes, but they are normally invoked directly by the user through some kind of browser command. I believe, however, that browsers tend to pre-load the alternate stylesheets along with the default(s). Those rules just aren't applied until requested. I mention this because there's been some question in the past about when a browser actually retrieves an alternate stylesheet. link href="print.css" rel="stylesheet" type="text/css" id="print" title="Print" media="print" / I'm curious - what purpose does the id attribute serve here? I've never used it on stylesheets before. -- Berg |
#9
| ||||
| ||||
|
|
I realize you can use media=print, but some usability gurus poo poo this idea... |
|
One question which has not really been addressed is when did "alternate stylesheet" become a valid value for the rel attribute... |
|
and what is the browser support for it? |
|
I realize that could be a question for the HTML newsgroup, |
#10
| |||
| |||
|
|
On Mar 19, 8:22 am, Bergamot <berga... (AT) visi (DOT) com> wrote: Vid the Kid wrote: link href="print.css" rel="stylesheet" type="text/css" id="print" title="Print" media="print" / I'm curious - what purpose does the id attribute serve here? I realize you can use media=print, |

|
but some usability gurus poo poo this idea... |
|
One camp advocates using media=print and the other wants to invoke stylesheet switching either using JavaScript or the server to show the printable page to the user in a new window. |
![]() |
| Thread Tools | |
| Display Modes | |
| |