HighDots Forums  

Style Sheet Methods--Which Do You Use?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Style Sheet Methods--Which Do You Use? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Style Sheet Methods--Which Do You Use? - 02-21-2004 , 08:49 PM






I'd like to do a bit of a survey and get people's opinions.

There are a number of methods of adding CSS to your documents.

The first choice is whether to put them in the page, or remotely.

Let's assume that everyone uses remote style sheets, which make
websites much easier to maintain.

Let's also assume that everyone has problems with Netscape 4, which I
don't think is unfair.


So this leaves us with the following approaches:

1) A single remote stylesheet via a LINK tag, marked MEDIUM="ALL" to
hide it from Netscape 4.

2) Two or more remote stylesheets via LINK tags, one marked
MEDIUM="ALL" to hide it from Netscape 4, the other(s) not.

3) A single remote stylesheet via a LINK tag, with some of the content
hidden from Netscape 4 with Netscape-bug-exploiting comments.

4) A single remote stylesheet via a LINK tag, plus a STYLE section
containing one or more @IMPORT statements.

5) A single remote stylesheet via a LINK tag, the remote stylesheet
containing one or more @IMPORT statements.

Have I covered all the possibilities?

What I'd like to know is which approach you use, and why?

Reply With Quote
  #2  
Old   
Els
 
Posts: n/a

Default Re: Style Sheet Methods--Which Do You Use? - 02-22-2004 , 04:45 AM








Hostile17 wrote:
Quote:
I'd like to do a bit of a survey and get people's opinions.

There are a number of methods of adding CSS to your documents.

The first choice is whether to put them in the page, or remotely.

Let's assume that everyone uses remote style sheets, which make
websites much easier to maintain.

Let's also assume that everyone has problems with Netscape 4, which I
don't think is unfair.


So this leaves us with the following approaches:

1) A single remote stylesheet via a LINK tag, marked MEDIUM="ALL" to
hide it from Netscape 4.

2) Two or more remote stylesheets via LINK tags, one marked
MEDIUM="ALL" to hide it from Netscape 4, the other(s) not.

3) A single remote stylesheet via a LINK tag, with some of the content
hidden from Netscape 4 with Netscape-bug-exploiting comments.

4) A single remote stylesheet via a LINK tag, plus a STYLE section
containing one or more @IMPORT statements.

5) A single remote stylesheet via a LINK tag, the remote stylesheet
containing one or more @IMPORT statements.

Have I covered all the possibilities?
No :-)

Quote:
What I'd like to know is which approach you use, and why?
I use a single remote stylesheet via @import, and might have
a few basic things for NN4 in a remote stylesheet via a LINK
tag.
Why remote: 'cause I have more than one html file.
Why the lot via @import: so that NN4 can't see it, and I
don't have to keep paying attention to what all different
styles do to NN4's presentation.
Why a few styles via LINK: so that NN4 will have a little
bit more style than just plain black text on white background.


--
Els

Mente humana é como pára-quedas; funciona melhor aberta.



Reply With Quote
  #3  
Old   
AT
 
Posts: n/a

Default Re: Style Sheet Methods--Which Do You Use? - 02-23-2004 , 08:17 PM



Brian <usenet3 (AT) julietremblay (DOT) com.invalid> wrote


Quote:
stylesheet via a LINK tag, marked MEDIUM="ALL"

media="all" (use the Latin plural, which is now an English singular or
plural noun)
How silly of me, yes thanks for pointing that out.

Quote:
Have I covered all the possibilities?

No, there are others.
Well call me argumentative but -- which? Please let me/us know. I
couldn't think of any.

And please, anyone else, join in. I was hoping to get a lot of
opinions on this.


Reply With Quote
  #4  
Old   
Stephen Poley
 
Posts: n/a

Default Re: Style Sheet Methods--Which Do You Use? - 02-24-2004 , 05:55 AM



On 23 Feb 2004 17:17:59 -0800, hosti1e17 (AT) yahoo (DOT) com (Hostile17) wrote:

Quote:
Brian <usenet3 (AT) julietremblay (DOT) com.invalid> wrote


stylesheet via a LINK tag, marked MEDIUM="ALL"

media="all" (use the Latin plural, which is now an English singular or
plural noun)

How silly of me, yes thanks for pointing that out.

Have I covered all the possibilities?

No, there are others.

Well call me argumentative but -- which? Please let me/us know. I
couldn't think of any.

And please, anyone else, join in. I was hoping to get a lot of
opinions on this.
I really don't think it matters much. I use one stylesheet via LINK and
one via @import in a STYLE element, but I wouldn't attribute much
significance to that fact.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.