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? 4 1592
Hostile17 wrote: 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 :-)
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.
Hostile17 wrote: There are a number of methods of adding CSS to your documents.
assume that everyone has problems with Netscape 4
That's usually true. NS4 causes too many problems to be bothered with,
imho. I now do what many others do, provide valid html 4 with no styling
at all. NS 4 users can access all of the content of my site, although
there isn't anything pretty there.
How one hides it is a matter of taste. I link a stylesheet via the LINK
element; that stylesheet contains only an @import statement which
imports my real stylesheet.
stylesheet via a LINK tag, marked MEDIUM="ALL"
media="all" (use the Latin plural, which is now an English singular or
plural noun)
Have I covered all the possibilities?
No, there are others.
--
Brian (remove "invalid" from my address to email me) http://www.tsmchughs.com/
Brian <us*****@julietremblay.com.invalid> wrote in message news:<bm7_b.243349$U%5.1560445@attbi_s03>... 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.
On 23 Feb 2004 17:17:59 -0800, ho*******@yahoo.com (Hostile17) wrote: Brian <us*****@julietremblay.com.invalid> wrote in message news:<bm7_b.243349$U%5.1560445@attbi_s03>...
> 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/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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...
|
by: Roger |
last post by:
How can I pass parameters to a style sheet? I have noticed a couple
of sites are now passing variables to the style sheet, which appear to
be substituted at run time. For example:
<link...
|
by: Andrew Poulos |
last post by:
If I have an external stylesheet that is @imported into my page and it
has an element that looks like this:
* html td {
font-style: italic;
}
how can I use javascript to change the font...
|
by: amerar |
last post by:
Hi All,
I can make a page using a style sheet, no problem there. However, if I
make an email and send it out to my list, Yahoo & Hotmail totally
ignore the style tags. It looks fine in...
|
by: Don Wash |
last post by:
Hi There!
I'm creating several ASCX Controls and those controls will have their own
CSS Style Sheets. But I don't know how I can link the corresponding Style
Sheet in the ASCX file? Because the...
| |
by: Chris |
last post by:
Hi
I have another style sheet question:
We effectively have a page that has two text boxes on it.
We would like one text box to be in one style and the other text box to be
in another style....
|
by: Looch |
last post by:
Hi All,
I have a need for a user to open an XML file from a web site and have
it open based on a style sheet, not just looking at the raw XML data.
I'm wondering what the best way to go about...
|
by: abaybas |
last post by:
I'm creating a page in which a certain "content" part of the page is refreshed using ajax.
I do this by using a div#content, and it's child div#container.
the code:
...
...
|
by: Stang02GT |
last post by:
I am running into a problem with a style sheet for my menu and the style sheet on my web page.
The style sheet for the web page is over riding some of the items of my menu sheet.
Is there any...
|
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...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |