how to write css styles into joomla 3.0 templates? - Joomla! Forum - community, help and support
hello people,
ran tests when came basic adding css style sheet template , have learned following 2 codes work,
can tell me benefit of using 1 code on using other code? believe both of them acceptable in joomla 3.0?
ran tests when came basic adding css style sheet template , have learned following 2 codes work,
code: select all
<link rel="stylesheet" href="templates/test4/css/styles.css" type="text/css" /
code: select all
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/styles.css" rel="stylesheet" type="text/css" />can tell me benefit of using 1 code on using other code? believe both of them acceptable in joomla 3.0?
one obvious reason re-usability of code written. if see in first statement, template name hard coded , in second case not.
Comments
Post a Comment