The CSS formatting is not apparent when we load the webpage-working in grails

xZer0

New Member
code stripped down to just be a title and slogan in html (the more advanced stuff didn't work so it was dumbed down to test it but still no luck.) the CSS is just to apply to the "slogan", but doesn't work. HTML:\[code\]<doctype html> <html> <head> <link type="text/css" href="http://stackoverflow.com/questions/14060392/${resource(dir:'css', file: 'index.css')}" /> </head> <body> <div class="boxed"> <h5>title</h5> </div> <h4>"slogan"</h4> </body> <html/>\[/code\]SOURCE FROM CHROME BROWSER:\[code\]<doctype html> <html><head> <link type="text/css" href="http://stackoverflow.com/Zagorify/static/css/index.css" /></head><body> <div class="boxed"> <h5>title</h5> </div> <h4>"slogan"</h4></body><html/>\[/code\]CSS SOURCE CODE FROM CHROME BROWSER: h4 { font-color: white; text-align: centre; }TEST CSS:\[code\]h4 { font-color: white; text-align: centre; }\[/code\]
 
Back
Top