[eluser]dippy[/eluser]
[quote author="Aken" date="1347345543"]Just use an absolute path.
Code:
background: url('/assets/images/hometop.jpg') no-repeat;
I should say, though, that your CSS should be consolidated into a single CSS file, and not generated in individual pages.[/quote]
I totally agree. I will not use the style in the view page anymore. I was just testing something and I admit I was being lazy and put it in the view file.
Now, in my CSS file that is in “assets/css” the following css should work fine and the image will show?
Code:
#header_image {
position:absolute;
background:url('../images/hometop.jpg') no-repeat;
height:134px;
}
Where my images are in “assets/images” correct?
Thanks again for your help and reply!