PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.info.authoring.CSS > your thoughts on applying multiple stylesheets to a page
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
your thoughts on applying multiple stylesheets to a page

Réponse
 
LinkBack Outils de la discussion
Vieux 29/02/2008, 14h37   #9
Andreas Prilop
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: your thoughts on applying multiple stylesheets to a page

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
  Réponse avec citation
Vieux 29/02/2008, 14h44   #10
Andreas Prilop
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: your thoughts on applying multiple stylesheets to a page

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
  Réponse avec citation
Vieux 29/02/2008, 15h34   #11
William Gill
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: your thoughts on applying multiple stylesheets to a page

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.


  Réponse avec citation
Vieux 29/02/2008, 15h55   #12
William Gill
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: your thoughts on applying multiple stylesheets to a page

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>.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 19h04.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11103 seconds with 12 queries