no in the head the order matters. Basically what ever the page renders last takes precedence.
Travis D. Falls | Consultant RAFT.Net IT | 860.547.4070 | [EMAIL PROTECTED] -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Behalf Of Zed Burton Sent: Tuesday, June 21, 2005 1:50 PM To: [email protected] Subject: [AspNetAnyQuestionIsOk] Re: style sheet versus style attribute ta g you mean you can have this in the <Head> <style>A:hover { COLOR: #ffff00 } </style> <link rel="stylesheet" href='scripts/mycompany.css' type="text/css"> and hover will be #ffff00 no matter what a:hover is set to in the style sheet? --- In [email protected], "Falls, Travis D (HTSC, CASD)" <[EMAIL PROTECTED]> wrote: > your research is wrong. CSS external style sheets are overridden by > <style>some stuff</style> in the head which in turn is overridden by element > level styles. 99% of the time there is no reason to have styles in the doc. > > Travis D. Falls | Consultant RAFT.Net IT | 860.547.4070 | > [EMAIL PROTECTED] > > > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] Behalf Of Zed Burton > Sent: Tuesday, June 21, 2005 1:31 PM > To: [email protected] > Subject: [AspNetAnyQuestionIsOk] style sheet versus style attribute tag > > > My research suggests that the style sheet overrides any style > attributes in the document. Would like a confirmation if possible > from those more knowledable. > if in style sheet you have > <style> > A:hover { COLOR: silver } > </style> > > and in the document > <a style="hover: color='green';" > > > then its always going to hover as silver > > > > > > > > Yahoo! Groups Links > > > > > > > > ************************************************************************* > PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is > for the exclusive use of addressee and may contain proprietary, > confidential and/or privileged information. If you are not the intended > recipient, any use, copying, disclosure, dissemination or distribution is > strictly prohibited. If you are not the intended recipient, please notify > the sender immediately by return e-mail, delete this communication and > destroy all copies. > ************************************************************************* Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
