CSS separated file

Hi, I'm creating a little Arduino server. Can I use a separate file for CSS settings? I have not any problems if I write my CSS rules in the index.htm but I'd like to keep html and CSS separated. I am including the file with the correct path but it is not loaded when I open the page from the browser.

Is it possible?

Thanks

Yes. I use separate CSS files. Here is my server code. Just load up the files onto the SD card. http://playground.arduino.cc/Code/WebServerST

Well, I looked at that page. I'm experiencing a very annoying problem. I am using a "if" to check what is the client looking for but it doesn't work. I can paste here some stupid code just to explain the problem:

.....
msg+= c;
if (c == '\n' && currentLineIsBlank) {
if(2>-1){
                   Serial.println("1"+msg);
                   client.println("HTTP/1.1 200 OK");
                   client.println("Content-Type: text/html");
                   client.println("Connection: keep-alive");
                   client.println();
                                 
                   webFile = SD.open("index.htm");
                   
                   if (webFile) {
                     while(webFile.available()) {
                       client.write(webFile.read());
                     }
                     webFile.close();
                   }         
                 }
                 else{
                   Serial.println("2"+msg);
                   client.println("HTTP/1.1 200 OK");
                   client.println("Content-Type: text/html");
                   client.println("Connection: keep-alive");
                   client.println();
                                 
                   webFile = SD.open("index.htm");
                   
                   if (webFile) {
                     while(webFile.available()) {
                       client.write(webFile.read()); 
                     }
                     webFile.close();
                   }         
                 }
}

As you can see I'm trying to send the page in both cases of the if but neither of them (if / else) are executed! How is that possible?? Instead of 2>-1 I should use the condition (msg.indexOf("lightSensor")>-1) but it doesn't work just as 2>-1 . Nothing works!!! Why!??!?!

I don't know what's happening here.. I have closed the browser, turned off the Arduino then turned on and opened the browser and the page has been loaded as expected, so the "if" now has worked fine. But if I reload the page same problem until I detach the Arduino again.

Known bug or is it dying?

I can paste here some stupid code

Yep, it is. Starting right here:

msg+= c;

Put the crutches away, and learn to do things with strings, instead of pissing resources away on Strings.