@import!?
- Started
- Last post
- 4 Responses
- SaintWalker
Is there something I don't know about this?! I can NOT get it to work on my server for the life of me. In my XHTML document I put:
@import "/css/layout.css";
This does NOT work...what am I doning wrong? This exact same code works on multiple sites I've looked at...including a very impressive CSS/XHTML site, http://squidfingers.com/
fuuuuuuudge!
Please, someone help me out, again.
- takashi0
do you have checked the path?
- SaintWalker0
I did check the path...but I overlooked the slash at the beginig...apperantly it doesn't work if you have it like this "/css/stle.css" but it does if it's "css/stle.css"
lesson learned. thanks man.
- takashi0
no problem:-)
actually, I think that when you put a slash at the beginning, it means you start at the root folder.
good luck with your page!
- davetufts0
the path looks fine, but according to W3's CSS Validator, there are errors in your CSS file: