On Tue, Aug 17, 2010 at 7:42 AM, Keith Purtell <
keithpurt...@keithpurtell.com> wrote:

> Because, long ago when I started with CSS, someone I thought was a guru
> told me I had to do it that way to accommodate several browsers. At that
> time, it may have been true. I will make the change you have suggested
> and move on to the matter of placing images correctly.
>
> > Why not try the alternative :
> >
> >       <link rel="stylesheet" type="text/css" media="all"
> > href="style_120704.css">
> >
> > Philip Taylor
>
>
> - Keith Purtell
>
>
>
Keith,

I think your guru may have steered you wrong, or something was lost in
translation.  I recognize:

<link type="text/css" rel="stylesheet" media="all" href="style_120704.css"
/>

and:

<style type="text/css" media="all"> @import="style_120704.css"; </style>

but have never seen:

<style type="text/css" media="all" @import="style_120704.css";</style>

The second type is very close to what you used, but I'm pretty sure that the
@import was meant to be contained within the two style tags, not included in
the "style" tags properties.  It's really just missing the ">" right before
the "@import" and is, as such, broken HTML.

The best argument I remember from the dim past was that the @import method
was not recognized by Netscape, which had truly awful CSS support, and
therefore simply skipped.  Using it ensured that your page would be at least
readable by that browser and not completely destroyed by its attempt to
apply your linked styles.

Tim

-- 
-----------------------------------------
tim.arn...@gmail.com
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to