473,794 Members | 2,752 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 #1
26 3498
Els
HarryO wrote:
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?


Are they in the same folder?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Dr. Kasper's Rabbit Show - In Between
Jul 20 '05 #2
"HarryO" <ch*******@comc ast.net> writes:
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"


Does it really not have a > on the end, or is that just on the next
line? That might be a problem if it's the former.

--
Chris
Jul 20 '05 #3
The .css and html files are in the same folder.

There is an '>' at the close of <LINK REL="stylesheet " TYPE="text/css"
HREF="styles.cs s"

"Els" <el*********@ti scali.nl> wrote in message
news:Xn******** *********@130.1 33.1.4...
HarryO wrote:
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?


Are they in the same folder?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Dr. Kasper's Rabbit Show - In Between

Jul 20 '05 #4

"HarryO" <ch*******@comc ast.net> wrote in message
news:qKwHc.4740 0$a24.7881@attb i_s03...
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?


Have you got a BASE tag in your page?

Jul 20 '05 #5
Els
HarryO wrote:
"Els" <el*********@ti scali.nl> wrote in message
news:Xn******** *********@130.1 33.1.4...
HarryO wrote:
> 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?


Are they in the same folder?


The .css and html files are in the same folder.

There is an '>' at the close of <LINK REL="stylesheet "
TYPE="text/css" HREF="styles.cs s"


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.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: S a a r - 12
Jul 20 '05 #6
Els
Els wrote:
HarryO wrote:
"Els" <el*********@ti scali.nl> wrote in message
news:Xn******** *********@130.1 33.1.4...
HarryO wrote:

> 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?

Are they in the same folder?


The .css and html files are in the same folder.

There is an '>' at the close of <LINK REL="stylesheet "
TYPE="text/css" HREF="styles.cs s"


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

Here goes again:
Maybe you have disabled certain things in IE for local files?
Under Extra - Internet-options - Security you can set stuff
for both the Internet, and for local intranet. No idea if you
could have disabled stylesheets there somehow, and if it would
make a difference, but you never know.

And maybe a url of the uploaded version would come in handy
after all.


--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Astar Shmir - The Lowest Place in Tel Aviv
Jul 20 '05 #7

"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.

Jul 20 '05 #8
Els
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?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: S a a r - 9
Jul 20 '05 #9
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 ;) )
Jul 20 '05 #10

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
1476
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
3424
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
2254
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
2585
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
2491
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
2375
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
9671
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
9518
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
10212
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...
1
10161
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10000
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7538
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
6777
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5436
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
4112
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

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.