Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- CSS not visible with XHTML decleration
September 28, 2006, 6:54 am
rate this thread
I have a page (valid by w3c, for CSS and XHTML), but when it has the
xml/XHTML/html decleration, the CSS doesn't work. (FF1507Win98)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
<html xmlns="http://www.w3.org/1999/xhtml " xml:lang="en">
<link rel="stylesheet" type="text/css" title="Blue and Orange"
...close head, body with div elements...
I'm working on my local server (Apache 2.0.59, with PHP 5).
When the xml/XHTML/html decleration is replaced by just "<html>", the
css is loaded, and renders perfectly.
Re: CSS not visible with XHTML decleration
Answered in alt.html. Please don't multipost, and please don't
'repeat-post' within about two days from the first post.
Els http://locusmeus.com /
accessible web design: http://locusoptimus.com /
Now playing: Daryl Hall and John Oates - Rich Girl