J. DesGeorges wrote:
I am wondering what is the consensus for calling a style sheet. The
@import rule or the link href method
...
I am confused as to the merits of both. If you can point me to a
resource that discusses this issue I would really appreciate it.
This might help: <http://www.htmlhelp.com/reference/css/style-html.html>
It's a bit old, but not much have changed over the years.
<link rel=stylesheet... /> is most commonly used, I believe.
@import rules can be used to 'import' other stylesheets into a main
one. Such @import rules are then placed at the very top of a
stylesheet-- external or in the page head.
Advantages and disadvantages has to do with whether older browsers can
make use of these methods or not, as some like to hide styles from old
browsers. All new browsers can use both methods.
I use link-rel in my pages and @import in my stylesheets, and play "hide
and seek" with old browsers by applying other methods when I think it's
useful.
regards
Georg
--
http://www.gunlaug.no
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************