july 18 2007
On a website which I´ve worked , there will be more than one .css files associated with the html files;
In order to keep html as clear as possible I´ve tried to place the following ******* :
…
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml” dir=“ltr”>
<head profile=“http://gmpg.org/xfn/11”>
<meta http-equiv=“Content-Type” content=“text/html; charset=UTF-8” />
<title>Anything goes</title>
******* ???????? <link rel="stylesheet" type="text/css" media="screen" href="files/css/redirect.css"> ???????
…
Inside the file redirect.css I´ve written :
…
@ import url (“main.css”);
@ import url (“secondary.css”);
@ import url (“etc.css”);
…(all the css files are into the files/css folder of course )…
I´ve tested this method before with positive results but as I did this time I´ve noticed that it has not worked ;
Why not ?
RW