C
cayenne
Hello all.
I've got a very simple style sheet. It is named page1_body.css. It is
in the same directory as my index.html file.
Style sheet looks like:
div.title {
font-family: arial,courier;
color: #A52A2A;
border :1px;
}
My beginning of the index.html file is:
<html>
<head>
<link REL="StyleSheet" HREF="page1_body.css" type="text/css">
</head>
<body>
<div class="title">
text here
</div>
</body>
</html>
I've simplified a page I'm starting on at home...to these simple
lines. And yet...the css page does NOT seem to be being read at
all...at the very least...I would expect to see a border drawn around
the box of the text.
Absolutely nothing.
If in the URL, I type in the .css page instead of the .html page...it
displays the stylesheet text in my browser...so, I would guess both
pages are accessible.
Anyone have any ideas what the problem is here? I've played with this
on a similar machine...apache2, Gentoo Linux...it all works on that
machine...but, on this one...nothing. I'm hitting it on both machines
as local host....and have also tried it with my IP address on the home
box. Still, it just seems for some damned reason, the index.html file
is not pulling in the link file for the .css file.
Any ideas/suggestions/links to info greatly appreciated!
chilecayenne
I've got a very simple style sheet. It is named page1_body.css. It is
in the same directory as my index.html file.
Style sheet looks like:
div.title {
font-family: arial,courier;
color: #A52A2A;
border :1px;
}
My beginning of the index.html file is:
<html>
<head>
<link REL="StyleSheet" HREF="page1_body.css" type="text/css">
</head>
<body>
<div class="title">
text here
</div>
</body>
</html>
I've simplified a page I'm starting on at home...to these simple
lines. And yet...the css page does NOT seem to be being read at
all...at the very least...I would expect to see a border drawn around
the box of the text.
Absolutely nothing.
If in the URL, I type in the .css page instead of the .html page...it
displays the stylesheet text in my browser...so, I would guess both
pages are accessible.
Anyone have any ideas what the problem is here? I've played with this
on a similar machine...apache2, Gentoo Linux...it all works on that
machine...but, on this one...nothing. I'm hitting it on both machines
as local host....and have also tried it with my IP address on the home
box. Still, it just seems for some damned reason, the index.html file
is not pulling in the link file for the .css file.
Any ideas/suggestions/links to info greatly appreciated!
chilecayenne