|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#9 |
|
Messages: n/a
Hébergeur: |
On Thu, 28 Feb 2008, Ian Hobson wrote:
> The title attribute provides text that appears as a tool tip to the > user, for various durations, in some browsers, and not at all in other > browsers. Not a CSS issue. LINK can have a TITLE attribute; see http://www.html.com/reference/cs...-html.html#ex1 -- In memoriam Alan J. Flavell http://groups.google.com/groups/sear...Alan.J.Flavell |
|
|
|
#10 |
|
Messages: n/a
Hébergeur: |
On Thu, 28 Feb 2008, William Gill wrote:
> <link href="main.css" rel="stylesheet" type="text/css"> > <link href="section.css" rel="stylesheet" type="text/css"> > <link href="page.css" rel="stylesheet" type="text/css"> > > Assuming I am careful to consider the cascade, is there anything > I should be careful of using this method to apply multiple stylesheets? You must be especially careful about the order of the LINKs when you have stylesheets with "media=print", too. > Also, what are the implications of using or not using a common title attribute? Some (older) browsers like Mozilla 1.7 let the reader disable a stylesheet only when it has a TITLE. -- Bugs in Internet Explorer 7 http://www.unics.uni-hannover.de/nhtcapri/ie7-bugs |
|
|
|
#11 |
|
Messages: n/a
Hébergeur: |
Andreas Prilop wrote:
> On Thu, 28 Feb 2008, William Gill wrote: > >> I did read something about setting title to the same value >> in several link elements combines the sheets into one, >> which might impact the cascade, but it's not obvious to me >> how or if it really does. > > See http://www.unics.uni-hannover.de/nht...nnotation.html > for an example. > I see the browser allows the choice/application of either stylesheet. My original thought was about what difference it makes to "combine sheets into one" as opposed to sequentially applying them, but trying to figure It out gave me too big a headache for too little return on investment (i.e. I know how sequential application works, and it's not worth seeing if "combining as one sheet" is any different). for example if I link sheet1.css and sheet2.css, in that order, and both have different style for #notes, the style specified in sheet2 is applied since it is applied last. |
|
|
|
#12 |
|
Messages: n/a
Hébergeur: |
Bergamot wrote:
> You didn't make it clear you were referring to the stylesheet title. I > also read your original question as a more general inquiry about the > title attribute. I was talking about sequential link elements, and commented about the use of a common value for the title attribute (of the link element). Since the html spec for link specifically mentions "The title attribute has an additional role when used with the LINK element..." Not sure if the distortion was the fault of the transmitter or the receiver. I'll try to be clearer without implying unmentioned/unassumed is synonymous with clueless as some here do <g>. |
|
![]() |
| Outils de la discussion | |
|
|