473,326 Members | 2,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Style Sheet Methods

[I previously asked this on comp.infosystems.www.authoring.stylesheets
but I didn't get much response so I thought I'd try here for
thoroughness]

I'd like to get people's opinions on methods of adding CSS to your
documents.

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 MEDIA="ALL" to
hide it from Netscape 4.

2) Two or more remote stylesheets via LINK tags, one marked
MEDIA="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?
Jul 20 '05 #1
10 1541
ho*******@yahoo.com (Hostile17) wrote:
[I previously asked this on
comp.infosystems.www.authoring.stylesheets but I didn't get much
response so I thought I'd try here for thoroughness]


That's very foolish. You don't even identify the original post, and you
seem to repost the original question. If you didn't learn anything from
the responses you got in the right group, what could it possibly
benefit to retry in a wrong group?

Please do not switch to an RFC 1036 conformant From field
before you get a clue.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #2
On 29 Feb 2004 21:51:46 -0800, ho*******@yahoo.com (Hostile17) wrote:
[I previously asked this on comp.infosystems.www.authoring.stylesheets
but I didn't get much response so I thought I'd try here for
thoroughness]


I think you didn't get many responses because most people don't consider
it terribly important which of the listed methods one uses.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #3
On Mon, 1 Mar 2004 07:57:53 +0000 (UTC), "Jukka K. Korpela"
<jk******@cs.tut.fi> declared in comp.infosystems.www.authoring.html:
ho*******@yahoo.com (Hostile17) wrote:
Please do not switch to an RFC 1036 conformant From field
before you get a clue.


In what way does the OP's From field (quoted above for reference) not
comply with the RFC?

Section 2.1.1 (the From field) states that

<quote>
Thus, the three permissible forms are:

From: ma**@cbosgd.ATT.COM
From: ma**@cbosgd.ATT.COM (Mark Horton)
From: Mark Horton <ma**@cbosgd.ATT.COM>
</quote>

AFAICS, the OP's From field follows the 2nd form.

--
Mark Parnell
http://www.clarkecomputers.com.au
Jul 20 '05 #4
On 29 Feb 2004 21:51:46 -0800, ho*******@yahoo.com (Hostile17) wrote:
Let's also assume that everyone has problems with Netscape 4, which I
don't think is unfair.


Life is unfair. If we all ignore NS4, then it'll go away.

Jul 20 '05 #5
On Tue, 2 Mar 2004 10:28:02 +1100, Mark Parnell
<we*******@clarkecomputers.com.au> wrote:
In what way does the OP's From field (quoted above for reference) not
comply with the RFC?

Section 2.1.1 (the From field) states that

<quote>
Thus, the three permissible forms are:

From: ma**@cbosgd.ATT.COM
From: ma**@cbosgd.ATT.COM (Mark Horton)
From: Mark Horton <ma**@cbosgd.ATT.COM>
</quote>

AFAICS, the OP's From field follows the 2nd form.


I see From: ho*******@yahoo.com (Hostile17) as well. Would seem to me
that's as valid a name as any.
Jul 20 '05 #6
Mark Parnell <we*******@clarkecomputers.com.au> wrote:
In what way does the OP's From field (quoted above for reference) not
comply with the RFC?


Try asking in a suitable news.* group, but first check that you have
understood the words "the full name of the person".

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #7
On Tue, 2 Mar 2004 06:00:05 +0000 (UTC), "Jukka K. Korpela"
<jk******@cs.tut.fi> declared in comp.infosystems.www.authoring.html:
Try asking in a suitable news.* group, but first check that you have
understood the words "the full name of the person".


The full name is optional, although if it is included I suppose it
should be their actual name.

But if you are going to be that pedantic, how do you define "full name"?
Does that mean that mine doesn't comply either, since I don't include my
middle name? Or yours, since you only include your middle initial? And
how do you know the OP isn't truly called Hostile17? (OK, I'm getting a
bit silly now).

On a more serious note though, is there actually an official definition
of "full name" in this context? (That _is_ a serious question - I did
look but couldn't find one).

--
Mark Parnell
http://www.clarkecomputers.com.au
Jul 20 '05 #8
On Tue, 2 Mar 2004 06:00:05 +0000 (UTC), Jukka K. Korpela
<jk******@cs.tut.fi> wrote:
Mark Parnell <we*******@clarkecomputers.com.au> wrote:
In what way does the OP's From field (quoted above for reference) not
comply with the RFC?
Try asking in a suitable news.* group,


You have entered it into discussion here.
but first check that you have
understood the words "the full name of the person".


Prove that "Hostile17" is not his full name.

Why have you never gotten on my case about this? Or Brian? Or half a dozen
others? Why is this person made to feel foolish and silly for having
disobeyed this fringe little RFC I've never even friggin' heard of, while
the rest of us are posting merrily along, unaware of the grave disservice
we're doing to the Usenet?

You're a very smart guy, and a fantastic asset to this forum. But that was
the most pedantic and irrelevent bitch-slap I've ever seen.
Jul 20 '05 #9
Neal <ne*****@spamrcn.com> wrote:
Why is this person made to feel foolish and silly for having
disobeyed this fringe little RFC I've never even friggin' heard of,


"This person" was foolish enough to try to re-raise discussion in a
wrong group because he did not get the answers he wanted in the right
group.

I was just asking him to keep using a wrong From field as a useful
indicator. There was an additional hint embedded, and if you didn't get
it, just relax.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #10
I just feel I had to post at least once and say how genuinely shocked
I was by the rudeness of the response from "Yucca". I just don't get
it.
"This person" was foolish enough to try to re-raise discussion in a
wrong group because he did not get the answers he wanted in the right
group.


I didn't expect any particular answers, I genuinely wanted to know --
and I'm not some clueless newbie posting to twenty different groups
asking something in the FAQ and top-posting.

It seems, frankly, that it's a boring question: nobody wanted
particularly to answer it in CIWAS, nobody particularly cares about it
here either. OK, so it's boring. But it's not completely inappropriate
to ask it in an HTML group, surely? It's a question that interests me,
but it doesn't interest you. You couldn't just ignore it?

And yes, I use a pseudonym. I'm not the only one. If I'd chosen a
pseudonym that sounded like a real name, you wouldn't even have known,
but I use one that at least makes it obvious it's *not* a real name.
Call me "John Smith" if that helps.

I remain, as I said before, simply baffled by the rudeness.
Jul 20 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mark | last post by:
Hi - I want to allow users of an intranet application, to select their own colours etc. So I have a tbale in my database, which has fields called bgcolour, fontcolour etc. As I want all pages...
7
by: gsb | last post by:
Is there a way to create, say createElement( "STYLE"), to create new classes or style sheets from within JavaScript? Thanks, gsb
2
by: Luke Bellamy | last post by:
Hi, I have been looking for a way to incorperate several different style sheets into a web page (i.e cascading effect). I have looked into the @import statement which seems to do what I want but...
1
by: Robert Bull | last post by:
I am creating a menu with the ComponentOne tools that come with the ..Net resource kit. I am trying to apply a style sheet to the controls of the menu but I dont know how. Do I need to add a new...
2
by: Kenneth P | last post by:
Hi, I'm developing asp.net (vb) apps in VS.NET 2003, and I'd like to know how you can write style sheet code in a sub in an .aspx page that when it's rendered as html/text/css code in the .aspx...
1
by: Amanda H. | last post by:
I posted about this a few days ago, and I got a few suggestions that fixed part of my problem. I am using a PHP script to switch external style sheets when the viewer clicks on the style link. ...
8
by: pamelafluente | last post by:
Hi guys, Is it possible to add "onload" (via Javascript) a new class to the <styleheader section? If yes, how would that be done ? <style type="text/css" media="screen"> .NewStyleClass{...
10
by: pamelafluente | last post by:
Hi, this time I am trying to add a style on the fly.I wish equivalency with this one (only the menuItemStyle line): <head> <style type="text/css" media="screen"> ... some static styles ......
4
by: fjm | last post by:
Hello everyone. I’d like to know how to handle multiple style sheets. I have css tabs that have a style sheet and then I also have a separate style sheet for the content that goes inside the tab. ...
4
Frinavale
by: Frinavale | last post by:
So a while ago I created a Tab Strip Control (before the AjaxToolkit had theirs otherwise I would have probably just used theirs). When I looked at the AjaxToolkit control to see how they got...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.