"Axel Dahmen" <NO_SPAM (AT) NoOneKnows (DOT) de> wrote:
Quote:
I'm trying to use an external stylesheet on one of my HTML pages. But
none of my browsers follow the provided absolute URI. |
You are not using an absolute URI.
Quote:
link
href="//62.75.136.138/Sportboot/ASPX/StyleSheets/BasicStyles.css"></li
nk |
Why </link>? Good old HTML rules do not allow an end tag for a link
element, and you would not want to use XHTML if you knew what it means
(and if you knew, you would probably want to use Appendix C kludgery).
How do you expect browsers to know that the link element refers to a
style sheet and not, say, to an alternate version of the document? You
should add the attribute rel="stylesheet" and, as as matter of principle,
the attribute type="text/css".
Moreover, the URI you have in the href is not absolute but relative to
the server root. You need to include the protocol part http: to make it
absolute.
But why are you using an absolute URI for a style sheet reference, and
with an IP number (instead of a domain name) for the server?
As usual, posting the URI of the page would have been essential.
But you seem to be interested in hiding any useful addresses, or even
using forged addresses as in your From field.
--
Yucca,
http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring:
http://www.cs.tut.fi/~jkorpela/www.html