CSS not showing image?

admin

Administrator
Staff member
Hi all,

I am using this code to display an image in the background

.maincell {
background-color:#ffffff;
background-image: url('../images/logo.gif');
top: 0;
left: 0;
z-index: 1;
overflow: scroll;
visibility: visible;
background-attachment: scroll;
text-indent: 20px;
text-align: left;
text-transform: inherit;
text-decoration: none;
color: #333333;
font-family: arial;
font-size: inherit;
}


I know the css file is being called but i doesnt load any image.

the page is in the root folder, the css file is in a sub folder and the image is in another subfolder from the root.



Thanks

SheldonGot link or HTML?haha yes, thanks you, asking me for htlm jsut found out my problem.

i had<div style="maincell">bla bla bla</div>Where i should have<div class="maincell">this works</div>.



Thanks for unknowningly pointing out the obvious.

How do i make it only show ine image left hs, center in height?

Thanks!
Sheldonbackground: #FFF url(images/myimage.gif) no-repeat left center;
 
Back
Top