-
Problems
This line enable URL Rewriting . It must be enabled via the RewriteEngine directive! and if your .htaccess file is going to use rewrite rules, you should always include this line. Otherwise, you can’t be sure if its enabled or not. The string “on” is case insensitive.
<html>
<head>
<b:skin>
</b:skin>
</head>
<body>
<b:section id="idname" class="classname">
</b:section>
</body>
</html>
Styling your templete:
1) Internal css
<b:skin>..........</b:skin> helps you to include css style. It work similar to the <style>...</style> in simple webpage.It is compolsory to include one <b:skin>..........</b:skin> in your templete , otherwise it will show error.
It can be used similar to that of <style>...</style>
<b:skin>
#header
{
width:200px;
height:30px;
background-color:red;
}
But you can also use <style>...</style> , it will work fine.
2)External css: You can also use external css sheet similar to webpage .
Below example include Bootstrap in you template.
<link crossorigin='anonymous' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css' integrity='sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7' rel='stylesheet'/>
No comments:
Post a Comment