473,804 Members | 3,029 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

external stylesheet problem

I created an external stylesheet file 'styles.css' and an html file that
includes the line:

<LINK REL="stylesheet " TYPE="text/css" HREF="styles.cs s"

Both the .css file and the html file reside on my local PC. When I open the
html file with IE6 the styles are not seen in the webpage. Everything looks
fine if I upload the .css and html files to my web server.

Any ideas on why the styles don't appear on my local PC?
Jul 20 '05
26 3500
Els
Neal wrote:
On 9 Jul 2004 15:22:27 GMT, Els <el*********@ti scali.nl>
wrote:
Harlan Messinger wrote:
Geen probleem--ik heb 't bijna vol begrijpt.


Bijna is niet helemaal ;-) Enne.. misschien begrijpt de OP
het helemaal niet :-)

Btw, hoe kom jij aan die taalkennis?


How do we know this isn't dirty?

(If it's dirty, you should write it in English ;) )


It's not. Trust me ;-)

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: S a a r - 4
Jul 20 '05 #11
Neal wrote:
On 9 Jul 2004 15:22:27 GMT, Els <el*********@ti scali.nl> wrote:
Harlan Messinger wrote:
Geen probleem--ik heb 't bijna vol begrijpt.


Bijna is niet helemaal ;-) Enne.. misschien begrijpt de OP het
helemaal niet :-)

Btw, hoe kom jij aan die taalkennis?


How do we know this isn't dirty?

(If it's dirty, you should write it in English ;) )


http://babelfish.av.com/ is your friend. Red hot IE security settings
speak can be yours! ;)

P
Jul 20 '05 #12

"Els" <el*********@ti scali.nl> wrote in message
news:Xn******** *********@130.1 33.1.4...
Harlan Messinger wrote:
"Els" <el*********@ti scali.nl> wrote in message
news:Xn******** *********@130.1 33.1.4...
Els wrote:

> Heb je misschien in IE in de instellingen bepaalde dingen
> uit staan voor locale dingen? Onder Extra - Internet-opties
> - Beveiliging kun je zowel dingen instellen voor "Het
> Internet" als voor "Lokaal intranet". Geen flauw idee of je
> daar iets in kunt stellen wat stylesheets uitschakelt en of
> dat uitmaakt, maar wie weet.
>
> Misschien is een url van de geuploade versie toch ook wel
> handig.

Don't know how to cancel a post with XNews, but it should of
course be written in English :-S


Geen probleem--ik heb 't bijna vol begrijpt.


Bijna is niet helemaal ;-) Enne.. misschien begrijpt de OP het
helemaal niet :-)

Btw, hoe kom jij aan die taalkennis?


Ik woonte drie jaar in Brussel (30 jaar geleden), en las de ondertitels van
de engelstalige programmas op de televisie. Maar die "stylesheet s" en
"uploade"--die heb ik nooit op "Het meisje van de TV" (The Mary Tyler Moore
Show) of "M*A*S*H" gezien.

Jul 20 '05 #13
Els
Harlan Messinger wrote:
"Els" <el*********@ti scali.nl> wrote in message
news:Xn******** *********@130.1 33.1.4...
Harlan Messinger wrote:
> "Els" <el*********@ti scali.nl> wrote in message
> news:Xn******** *********@130.1 33.1.4...
>> Els wrote:
>
>> > Heb je misschien in IE in de instellingen bepaalde
>> > dingen uit staan voor locale dingen? Onder Extra -
>> > Internet-opties - Beveiliging kun je zowel dingen
>> > instellen voor "Het Internet" als voor "Lokaal
>> > intranet". Geen flauw idee of je daar iets in kunt
>> > stellen wat stylesheets uitschakelt en of dat
>> > uitmaakt, maar wie weet.
>> >
>> > Misschien is een url van de geuploade versie toch ook
>> > wel handig.
>>
>> Don't know how to cancel a post with XNews, but it
>> should of course be written in English :-S
>
> Geen probleem--ik heb 't bijna vol begrijpt.


Bijna is niet helemaal ;-) Enne.. misschien begrijpt de OP
het helemaal niet :-)

Btw, hoe kom jij aan die taalkennis?


Ik woonte drie jaar in Brussel (30 jaar geleden), en las de
ondertitels van de engelstalige programmas op de televisie.
Maar die "stylesheet s" en "uploade"--die heb ik nooit op
"Het meisje van de TV" (The Mary Tyler Moore Show) of
"M*A*S*H" gezien.


Impressive! eh.. indrukwekkend! 30 jaar geleden, slechts 3
jaar in Nederlandstalig gebied, en dan nu nog redelijk de taal
verstaan en schrijven... "petje af!"

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: The Scene - Opgejaagd
Jul 20 '05 #14
HarryO wrote:

Both the .css file and the html file reside on my local PC. When I open the
html file with IE6 the styles are not seen in the webpage. Everything looks
fine if I upload the .css and html files to my web server.

Any ideas on why the styles don't appear on my local PC?

This is normal. You asked IE to open a file; you did not ask a web
server to deliver a page.

--
jmm dash list at sohnen-moe dot com
(Remove .TRSPAMTR for email)
Jul 20 '05 #15
Els
jmm-list-tr wrote:
HarryO wrote:

Both the .css file and the html file reside on my local
PC. When I open the html file with IE6 the styles are not
seen in the webpage. Everything looks fine if I upload the
.css and html files to my web server.

Any ideas on why the styles don't appear on my local PC?

This is normal. You asked IE to open a file; you did not
ask a web server to deliver a page.


That's got nothing to do with it.

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Jul 20 '05 #16
Els wrote:
jmm-list-tr wrote:
HarryO wrote:

Both the .css file and the html file reside on my local
PC. When I open the html file with IE6 the styles are not
seen in the webpage. Everything looks fine if I upload the
.css and html files to my web server.

Any ideas on why the styles don't appear on my local PC?

This is normal. You asked IE to open a file; you did not
ask a web server to deliver a page.


That's got nothing to do with it.


The only thing I can see that is missing is a "/" at the close. Like this,<link rel="stylesheet " type="text/css" href="ambl2.css " />. HTH

--

Dan
Jul 20 '05 #17
Dan Boyd wrote:
HarryO wrote:

When I open the html file with IE6 the styles are not seen in
the webpage. Everything looks fine if I upload the .css and
html files to my web server.

Any ideas on why the styles don't appear on my local PC?


The only thing I can see that is missing is a "/" at the close.
Like this,<link rel="stylesheet " type="text/css" href="ambl2.css "
/>. HTH


That's only if the author has written xhtml. If it's html, then your
advice will only complicate matters, since it may introduce character
data before the <body> tag.

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #18
Els wrote:

This is normal. You asked IE to open a file; you did not
ask a web server to deliver a page.


That's got nothing to do with it.

It has everything to do with it. The browser cannot ask for the CSS
file since there is nothing to send an http request to.

--
jmm dash list at sohnen-moe dot com
(Remove .TRSPAMTR for email)
Jul 20 '05 #19
Els
jmm-list-tr wrote:
Els wrote:

This is normal. You asked IE to open a file; you did
not ask a web server to deliver a page.


That's got nothing to do with it.

It has everything to do with it. The browser cannot ask
for the CSS
file since there is nothing to send an http request to.


Be honest: you're trolling, or you're clueless?
I can display a page with 5 different stylesheets on my IE or
whichever browser locally, no need for a server.

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Jul 20 '05 #20

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

Similar topics

3
12823
by: allard poldermans | last post by:
How can I make a reference to an external CSS or JS file that is relative to the XSL stylesheet, and not relative to the XML data? If you simply put : <link rel="stylesheet" type="text/css" href="ui/demo.css" ></link> in your XSL file, this link will always be relative to the location where the XML file is. For example, suppose I have following XML data (test.xml):
0
1484
by: Shawn Modersohn | last post by:
Can someone give me the lowdown on the way these two browsers deal with the following <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/css" href="datadump.css"?> <!DOCTYPE datadump > <datadump> <name> <first>&txt;</first> <last>&sig;</last>
12
2787
by: Peter Collinson | last post by:
Hi... My external style sheet for a 200+ page site is marked up as: BODY, P, TABLE, TD, DIV { background: #ffffff; font-style: normal; font-variant: normal; font-weight: normal; font-size: 1em;
6
3425
by: Christopher Benson-Manica | last post by:
Just FMI, if an external stylesheet is linked to a page (with <link>), will subsequent <style> tags override the values in the external stylesheet? -- Christopher Benson-Manica | I *should* know what I'm talking about - if I ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
2
2256
by: Markus Ernst | last post by:
Hi I build a small content management system. I use different external stylesheets for the admin section and the frontend, called admin.css and frontend.css. Now I would like to preview some frontend stuff in the admin section. Is there a syntax for accessing a style from a different style sheet? For example:
7
2587
by: David Filmer | last post by:
Greetings. I want to localize a style definition to a portion of an HTML document, but use an external stylesheet. It seems that I can only do <style><!-- @import url(styles/my_style.css);--></style> and <link rel=stylesheet href=styles/my_style.css type=text/css> in the header, which applies to the entire HTML document and is NOT what I want to do. This does not seem to work: <span style = @import url('styles/my_style.css');>
6
2492
by: Stephen Cook | last post by:
Having worked through the problems around enabling the document function using an XmlUrlResolver I started work on building a useful class to hide the intricacies. Trying to generalise the process I've hit a snag. How do I resolve multiple external references? The transform method on a stylesheet only takes one resolver, not an array Stephen
7
1692
by: Dan Nash | last post by:
Hi I'm trying to create an external stylesheet for use in my Web App. It works fine, and I've got it linked and everything. The only problem is the "background-image" property isn't working. I've selected the iamge through VS, and its in the _images/ subdir. The code that VS created is as follows: background-image: url(_images/back.jpg) Yet it doesn't work. The image appears in the CSS style editor, but when I run my app in the...
35
2377
by: Guy Macon | last post by:
I have been running tests on various doctypes and found something interesting. I set up a test page using this doctype... <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Strict Level 1//EN"> ....and put this in the head: <link rel="stylesheet" type="text/css" href="http://www.example.com/test.css">
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9579
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10326
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9143
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7615
isladogs
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5520
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4295
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 we have to send another system
2
3815
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2990
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.