sntshkmr60 Posted May 3, 2012 Share Posted May 3, 2012 (edited) HTML files contains: <!doctype html><html><head><link rel="stylesheet/css" type="text/css" href="style.less"><script type="text/javascript" src="less.js"></script></head> <body><h1> This is a header. </h1><p>Now this is paragraph.</p></body></html> And my LESS file contains this: h1 {font-size: 12px; /* Just trying to check */font-weight: bold;} I know so I have less file before the less.js. But I am not able to see any change in header. Edited May 3, 2012 by sntshkmr60 Link to comment Share on other sites More sharing options...
Ingolme Posted May 3, 2012 Share Posted May 3, 2012 I'm not familiar with anything called "LESS." Can you explain what it is? Link to comment Share on other sites More sharing options...
eTianbun Posted May 3, 2012 Share Posted May 3, 2012 What do you think you are doing? Link to comment Share on other sites More sharing options...
eTianbun Posted May 3, 2012 Share Posted May 3, 2012 <link rel="stylesheet" type='text/css' href='less.css'/> Link to comment Share on other sites More sharing options...
sntshkmr60 Posted May 3, 2012 Author Share Posted May 3, 2012 Shame! Its sad to know that CSS forum don't know what LESS is! I think you also not be knowing about SASS!Both LESS and SASS were made to cut down the typing. You can find more at their website and the Wikipedia pages here and here respectively Research and give answer to my question. Link to comment Share on other sites More sharing options...
eTianbun Posted May 3, 2012 Share Posted May 3, 2012 What is there to be ashamed of? Are you trying to say you know all computer languages? :/ Link to comment Share on other sites More sharing options...
divinedesigns1 Posted May 3, 2012 Share Posted May 3, 2012 first time im hearing what less and sass 0.o what are they stand for? and your sounding very demanding im just saying, but ill check out what they are and think about helping if you rewrite that statement in a better way #imjustsaying Link to comment Share on other sites More sharing options...
Ingolme Posted May 3, 2012 Share Posted May 3, 2012 LESS and SASS are libraries made by individuals and not any form of web standard. I do not need to know them. They also appear to have a serious drawback: they rely on Javascript to function. If Javascript is disabled on the browser, pages made with these languages will look very wrong. It seems that LESS does have a server-side version, though. If you're having trouble with these libraries, then it's probably best that you ask the library developers. Link to comment Share on other sites More sharing options...
thescientist Posted May 3, 2012 Share Posted May 3, 2012 (edited) Research and give answer to my question. why don't you do it then? since you already know more than us. I would recommend you check out the documentation of the libraries that you are using first. They probably have forums and the like there that you can "demand" people to help you with on your issue. Edited May 3, 2012 by thescientist 1 Link to comment Share on other sites More sharing options...
sntshkmr60 Posted May 4, 2012 Author Share Posted May 4, 2012 Sometimes small small mistakes are very frustrating. I was doing <link rel="stylesheet/css" type="text/css" href="style.less"> but I should have been done<link rel="stylesheet/less" type="text/css" href="style.less"> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now