Previous Message
Next Message

Two questions

Sent by Arno on 18 October 2004 09:09


The first "problem" is with the validation of my stylesheets.
For IE I use "scrollbar-base-color: rgb(x,x,x); scrollbar-track-color:
rgb(x,x,x)" etc. to give the scroll bar color. I know this doesn't work in any
other browser than in IE, but does that automatically mean that the w3c
validator doesn't recognise it? Because when I try to validate the stylesheet,
the validator gives an error on these lines, saying that it's not a valid code.


The second concerns an inconsequency in showing a page. This might be a bit
offtopic, so if you don't want to read it, discard it. However, if anyone can
explain why, I'd be a happy man.

When I started using xhtml to code I started also to use the following line in
combination with the doctype specification:
<?xml version="1.0" encoding="utf-8"?>
There was no problem whatsoever, validation went without problem, and the
pages showed normally.
Now that I've been converting my other page to css/xhtml, I had to add some
ssi on some pages (thanks to good advise from people from this list, thank
you!) to be able to generate the same effect as in the frames that I used
before. Only I had to change the file extension to .shtml, otherwise it
wouldn't show in the browser.
Thus I did, but now when I check the page offline, the .shtml files are shown
as XML tree, because I can't seem to parse XML pages offline on my machine
(even if I've installed some server software that should be able to cope with it).
When I remove the <?xml version="1.0" encoding="utf-8"?> from the top of the
..shtml documents, it shows again correctly.
The strange thing is that it does this only with the files I've named .shtml.
Not the normal .html files.

I don't consider it a problem to remove the <?xml version="1.0"
encoding="utf-8"?> line from the top, but I'm curious as to why this problem
occurs.


Thanks for your replies!
Arno
-=================================================-
 Deze mail werd verstuurd met Webmail van RaketNet
 Meer informatie? http://www.raketnet.nl
-=================================================-

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: