I have issues using laravel with .html files and .css files. Maybe you can help me I have this snippet in index.blade.php
<div class="container">
<div class="top">
<div class="navigation">
<a href="index.html">home</a>
<a href="index.html">the journey</a>
<a href="index.html">characters</a>
<a href="index.html">image gallery</a>
<a href="index.html">history</a>
</div>
<div class="pattern"><span></span></div>
<div class="login">
<div class="loginitem">
<form action='login.php' method='post'>
Username: <input type='text' name='username' /><br />
Password: <input type='password' name='password' /><br />
<input type='submit' value='Login' /><br><br>
</form>
</div>
<div class="loginbutton">
<i> Not </i> <a style="color: red;" href="registration.html">registered </a> <i> yet? </i>
</div>
</div>
<div class="pattern"><span></span></div>
</div>
And this snippet from my index.css file
.divider {
background: url(img/divider.gif) no-repeat;
height: 20px;
margin: 24px 0;
}
/* structure */
.container {
background: url(img/bgcontainer.jpg) repeat-y center top;
margin: 0 auto;
width: 736px;
}
.top {
background: url(img/bgcontent.gif) no-repeat 0 -4%;
margin: 0 auto;
text-align: center;
width: 632px;
}
.login .loginitem{
position: relative;
padding-top: 85px;
}
I have problem loading the image using these lines
background: url(img/bgcontainer.jpg) repeat-y center top;
background: url(img/divider.gif) no-repeat;
etc. from the style.css file
My images are in a folder called img in the Public folder where they belong. Only the positioning of my divs work. I need some help because i don't know how to load the pictures from the .css file using laravel. Thanks in advance.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
{{ HTML::style('css/index.css'); }}
<link href='http://fonts.googleapis.com/css?family=Alegreya+SC:400,400italic' rel='stylesheet' type='text/css'>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
<meta name="description" content="description"/>
<meta name="keywords" content="keywords"/>
<meta name="author" content="author"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Caught in the Middle</title>
</head>
This is how I load my .css file